Uses of Class
org.apache.hc.core5.testing.framework.TestingFrameworkException
Packages that use TestingFrameworkException
-
Uses of TestingFrameworkException in org.apache.hc.core5.testing.framework
Methods in org.apache.hc.core5.testing.framework that throw TestingFrameworkExceptionModifier and TypeMethodDescriptionvoid
TestingFramework.addTest()
Call to add a test with defaults.void
Call to add a test.private void
TestingFramework.assertBodyMatchesExpectation
(Object actualBody, Object expectedBody) private void
TestingFramework.assertContentTypeMatchesExpectation
(Object actualContentType, Object expectedContentType) private void
TestingFramework.assertHeadersMatchExpectation
(Map<String, String> actualHeaders, Map<String, String> expectedHeaders) void
TestingFrameworkRequestHandler.assertNothingThrown()
After the handler returns the response, any exception or failed assertion will be in the member called "thrown".private void
TestingFramework.assertResponseMatchesExpectation
(Object method, Map<String, Object> actualResponse, Map<String, Object> expectedResponse) private void
TestingFramework.assertStatusMatchesExpectation
(Object actualStatus, Object expectedStatus) private void
TestingFramework.callAdapter
(FrameworkTest test) static Object
Used to make a "deep" copy of an object.ClientTestingAdapter.execute
(String defaultURI, Map<String, Object> request, TestingFrameworkRequestHandler requestHandler, Map<String, Object> responseExpectations) See the documentation for the same method inClientPOJOAdapter
.FrameworkTest.initRequest()
Returns a request with defaults for any parameter that is not specified.private void
FrameworkTest.moveAnyParametersInPathToQuery
(Map<String, Object> request) private void
TestingFramework.processThrowable
(Throwable t, FrameworkTest test) void
TestingFramework.runTests()
Run the tests that have been previously added.void
TestingFrameworkRequestHandler.setDesiredResponse
(Map<String, Object> desiredResponse) Sets the desired response.void
TestingFrameworkRequestHandler.setRequestExpectations
(Map<String, Object> requestExpectations) Sets the request expectations.private void
TestingFramework.startServer()
Constructors in org.apache.hc.core5.testing.framework that throw TestingFrameworkException