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 StringcreateReport(String title, String description, ITestEntity testEntity)Creates report data as string.StringgetDefaultExtension()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, waitMethods inherited from interface org.eclipse.ease.lang.unittest.reporters.IReportGenerator
createReport
-
Constructor Details
-
JUnitReportGenerator
public JUnitReportGenerator()
-
-
Method Details
-
createReport
Description copied from interface:IReportGeneratorCreates report data as string.- Specified by:
createReportin interfaceIReportGenerator- Parameters:
title- report titledescription- generic descriptiontestEntity- test element to be exported- Returns:
- String containing full test report
-
getDefaultExtension
Description copied from interface:IReportGeneratorReturns the default file extension to be used for this kind of report without the preceding dot (eg "txt").- Specified by:
getDefaultExtensionin interfaceIReportGenerator- Returns:
- file extension to be used
-