public class JUnitReport extends Object
Constructor and Description |
---|
JUnitReport() |
Modifier and Type | Method and Description |
---|---|
Testcase |
addTestCase(String name,
double time,
HashMap<String,String> testProperties) |
Testcase |
addTestCaseWithError(String name,
double time,
String error,
String stacktrace,
HashMap<String,String> testProperties) |
Testcase |
addTestCaseWithFailure(String name,
double time,
String failure,
String stacktrace,
HashMap<String,String> testProperties) |
TestsuiteDocument |
finishReport() |
void |
save(File file) |
void |
setIncludeTestProperties(boolean includeTestProperties) |
void |
setNoofErrorsInTestSuite(int errors) |
void |
setNoofFailuresInTestSuite(int failures) |
void |
setPackage(String pkg) |
void |
setSystemErr(String systemerr) |
void |
setSystemOut(String systemout) |
void |
setTestSuiteName(String name) |
void |
setTotalTime(double time) |
void |
systemErr(String systemerr) |
void |
systemOut(String systemout) |
public void setIncludeTestProperties(boolean includeTestProperties)
public void setTotalTime(double time)
public void setTestSuiteName(String name)
public void setPackage(String pkg)
public void setNoofErrorsInTestSuite(int errors)
public void setNoofFailuresInTestSuite(int failures)
public void systemOut(String systemout)
public void systemErr(String systemerr)
public void setSystemOut(String systemout)
public void setSystemErr(String systemerr)
public Testcase addTestCase(String name, double time, HashMap<String,String> testProperties)
public Testcase addTestCaseWithFailure(String name, double time, String failure, String stacktrace, HashMap<String,String> testProperties)
public Testcase addTestCaseWithError(String name, double time, String error, String stacktrace, HashMap<String,String> testProperties)
public void save(File file) throws IOException
IOException
public TestsuiteDocument finishReport()
Copyright © 2019. All Rights Reserved.