org.easetech.easytest.reports.data
Class ReportDataContainer
java.lang.Object
org.easetech.easytest.reports.data.ReportDataContainer
public class ReportDataContainer
- extends Object
Accumulates all the test results during a test run. Results are used as input
for the TestReportHelper
- Author:
- gpcmol
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReportDataContainer
public ReportDataContainer(Class<?> testClass)
- Constructor
- Parameters:
testClass -
addTestResult
public 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
- Parameters:
method - input - output - passed - result - exception - exceptionResult -
addTestResult
public void addTestResult(TestResultBean testResult)
getTestResults
public List<TestResultBean> getTestResults()
getMethodTestResults
public Map<String,List<TestResultBean>> getMethodTestResults()
getClassName
public String getClassName()
getTestClass
public Class<?> getTestClass()
Copyright © 2013. All Rights Reserved.