public class ReportDataContainer extends Object
| Constructor and Description |
|---|
ReportDataContainer(Class<?> testClass)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTestResult(String method,
Map<String,Object> input,
Object output,
Boolean passed,
String result,
Boolean exception,
String exceptionResult)
Creates a TestResultBean which contains all the test result data and adds
it to the report data structures
|
void |
addTestResult(TestResultBean testResult) |
String |
getClassName() |
List<MethodUnderTestDuration> |
getDurationList() |
Map<String,List<TestResultBean>> |
getMethodTestResults() |
Class<?> |
getTestClass() |
List<TestResultBean> |
getTestResults() |
void |
setDurationList(List<MethodUnderTestDuration> durationList) |
String |
toString() |
public ReportDataContainer(Class<?> testClass)
testClass - public void addTestResult(String method, Map<String,Object> input, Object output, Boolean passed, String result, Boolean exception, String exceptionResult)
method - input - output - passed - result - exception - exceptionResult - public void addTestResult(TestResultBean testResult)
public List<TestResultBean> getTestResults()
public Map<String,List<TestResultBean>> getMethodTestResults()
public String getClassName()
public Class<?> getTestClass()
public List<MethodUnderTestDuration> getDurationList()
public void setDurationList(List<MethodUnderTestDuration> durationList)
durationList - the durationList to setCopyright © 2014. All rights reserved.