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 TypeMethodDescriptionvoidTestingFramework.addTest()Call to add a test with defaults.voidCall to add a test.private voidTestingFramework.assertBodyMatchesExpectation(Object actualBody, Object expectedBody) private voidTestingFramework.assertContentTypeMatchesExpectation(Object actualContentType, Object expectedContentType) private voidTestingFramework.assertHeadersMatchExpectation(Map<String, String> actualHeaders, Map<String, String> expectedHeaders) voidTestingFrameworkRequestHandler.assertNothingThrown()After the handler returns the response, any exception or failed assertion will be in the member called "thrown".private voidTestingFramework.assertResponseMatchesExpectation(Object method, Map<String, Object> actualResponse, Map<String, Object> expectedResponse) private voidTestingFramework.assertStatusMatchesExpectation(Object actualStatus, Object expectedStatus) private voidTestingFramework.callAdapter(FrameworkTest test) static ObjectUsed 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 voidFrameworkTest.moveAnyParametersInPathToQuery(Map<String, Object> request) private voidTestingFramework.processThrowable(Throwable t, FrameworkTest test) voidTestingFramework.runTests()Run the tests that have been previously added.voidTestingFrameworkRequestHandler.setDesiredResponse(Map<String, Object> desiredResponse) Sets the desired response.voidTestingFrameworkRequestHandler.setRequestExpectations(Map<String, Object> requestExpectations) Sets the request expectations.private voidTestingFramework.startServer()Constructors in org.apache.hc.core5.testing.framework that throw TestingFrameworkException