Class JUnitReportGenerator
java.lang.Object
org.eclipse.ease.lang.unittest.reporters.JUnitReportGenerator
- All Implemented Interfaces:
IReportGenerator
public final class JUnitReportGenerator extends Object implements IReportGenerator
Creates reports of unit test results. See http://llg.cubic.org/docs/junit/ for the accepted XML format
-
Constructor Summary
Constructors Constructor Description JUnitReportGenerator()
-
Method Summary
Modifier and Type Method Description String
createReport(String title, String description, ITestEntity testEntity)
Creates report data as string.String
getDefaultExtension()
Returns the default file extension to be used for this kind of report without the preceding dot (eg "txt").Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.ease.lang.unittest.reporters.IReportGenerator
createReport
-
Constructor Details
-
JUnitReportGenerator
public JUnitReportGenerator()
-
-
Method Details
-
createReport
Description copied from interface:IReportGenerator
Creates report data as string.- Specified by:
createReport
in interfaceIReportGenerator
- Parameters:
title
- report titledescription
- generic descriptiontestEntity
- test element to be exported- Returns:
- String containing full test report
-
getDefaultExtension
Description copied from interface:IReportGenerator
Returns the default file extension to be used for this kind of report without the preceding dot (eg "txt").- Specified by:
getDefaultExtension
in interfaceIReportGenerator
- Returns:
- file extension to be used
-