Package com.avoka.fc.core.test.func
Class Result
java.lang.Object
com.avoka.fc.core.test.func.Result
Provides the FormCmdTestRunner test Result class.
- Since:
- 17.10.0
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
name
The test name. -
statusCode
public final int statusCodeThe HTTP result status code. -
responseBody
The HTTP response body. -
responseMap
The HTTP response body JSON map. -
txn
The submission object resulting from the test execution. -
assertionErrors
The list of test execution assertion errors.
-
-
Constructor Details
-
Result
public Result(String name, int statusCode, String httpResponse, Map responseMap, Submission submission, List<String> assertionErrors) Create an immutable test Result object.- Parameters:
name
- the test namestatusCode
- the HTTP status codehttpResponse
- the response bodyresponseMap
- the JSON response mapsubmission
- the test submissionassertionErrors
- the test assertion errors
-
-
Method Details