Class FrameworkTest
java.lang.Object
org.apache.hc.core5.testing.framework.FrameworkTest
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a test with default values.FrameworkTest(Map<String, Object> test) Constructs a test with values that are passed in as well as defaults for values that are not passed in. -
Method Summary
Modifier and TypeMethodDescriptionReturns a request with defaults for any parameter that is not specified.Returns an expected response with defaults for any parameter that is not specified.toString()
-
Constructor Details
-
FrameworkTest
public FrameworkTest()Constructs a test with default values. -
FrameworkTest
Constructs a test with values that are passed in as well as defaults for values that are not passed in.- Parameters:
test- Contains a REQUEST and an expected RESPONSE. SeeClientPOJOAdapterfor details.
-
-
Method Details
-
initRequest
Returns a request with defaults for any parameter that is not specified.- Returns:
- a REQUEST map.
- Throws:
TestingFrameworkException- a problem such as an invalid URL
-
initResponseExpectations
Returns an expected response with defaults for any parameter that is not specified.- Returns:
- the RESPONSE map.
-
toString
-