public class FrameworkTest extends Object
Constructor and Description |
---|
FrameworkTest()
Constructs 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.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
initRequest()
Returns a request with defaults for any parameter that is not specified.
|
Map<String,Object> |
initResponseExpectations()
Returns an expected response with defaults for any parameter that is not specified.
|
String |
toString() |
public FrameworkTest()
public FrameworkTest(Map<String,Object> test)
test
- Contains a REQUEST and an expected RESPONSE.
See ClientPOJOAdapter
for details.public Map<String,Object> initRequest() throws TestingFrameworkException
TestingFrameworkException
- a problem such as an invalid URLpublic Map<String,Object> initResponseExpectations()
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.