Package | Description |
---|---|
org.apache.hc.core5.testing.framework |
Modifier and Type | Method and Description |
---|---|
void |
TestingFramework.addTest()
Call to add a test with defaults.
|
void |
TestingFramework.addTest(Map<String,Object> test)
Call to add a test.
|
void |
TestingFrameworkRequestHandler.assertNothingThrown()
After the handler returns the response, any exception or failed assertion will be
in the member called "thrown".
|
static Object |
TestingFramework.deepcopy(Object orig)
Used to make a "deep" copy of an object.
|
Map<String,Object> |
ClientTestingAdapter.execute(String defaultURI,
Map<String,Object> request,
TestingFrameworkRequestHandler requestHandler,
Map<String,Object> responseExpectations)
See the documentation for the same method in
ClientPOJOAdapter . |
Map<String,Object> |
FrameworkTest.initRequest()
Returns a request with defaults for any parameter that is not specified.
|
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.
|
Constructor and Description |
---|
TestingFramework() |
TestingFramework(ClientTestingAdapter adapter) |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.