ACTUAL_RESULT, AMPERSAND, COMMA, DOUBLE_QUOTE, DURATION, EMPTY_STRING, EXPECTED_RESULT, SINGLE_QUOTE, TEST_FAILED, TEST_PASSED, TEST_STATUS| Constructor and Description |
|---|
EmptyLoader() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<Map<String,Object>>> |
loadData(Resource resource)
Method responsible to Load the test data from the
Resource instance passed as parameter |
void |
writeData(Resource resource,
Map<String,List<Map<String,Object>>> actualData,
String... methodNames)
Method responsible for writing the test data and actual result back to the file
|
public Map<String,List<Map<String,Object>>> loadData(Resource resource)
LoaderResource instance passed as parameterpublic void writeData(Resource resource, Map<String,List<Map<String,Object>>> actualData, String... methodNames)
LoaderwriteData in interface Loaderresource - the resource to which data needs to be writtenactualData - a Map consisting of the methodName as key and a List of Key/value pairs as the value of the Map.
This Map contains the input as well as output data
This is currently not a user friendly way of exposing the test data.methodNames - the names of the method to write the data forCopyright © 2014. All rights reserved.