|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.lightest.core.LightestReporter
com.googlecode.lightest.core.DefaultSummaryReporter
public class DefaultSummaryReporter
This reporter creates XML files for each test method result containing task information throughout the test run, and creates an HTML report at the end.
| Field Summary | |
|---|---|
static String |
CONFIG_FILE_NAME
the name of the file to which the configuration text will be saved |
static String |
RESULTS_FILE_NAME
the name of the results XML to which the transform will be applied |
| Fields inherited from class com.googlecode.lightest.core.LightestReporter |
|---|
DEFAULT_COOLDOWN_FACTOR |
| Constructor Summary | |
|---|---|
DefaultSummaryReporter()
|
|
DefaultSummaryReporter(CustomizedTransformer transformer,
groovy.util.AntBuilder ant)
|
|
| Method Summary | |
|---|---|
void |
generateBaseReport(TestRegistry testRegistry,
String outputDir)
Copies some resource files to the output directory. |
void |
generateReport(List xmlSuites,
List suites,
String outputDirectory)
Creates the final report summary. |
groovy.lang.MetaClass |
getMetaClass()
|
Object |
getProperty(String name)
|
Object |
invokeMethod(String name,
Object args)
|
void |
setMetaClass(groovy.lang.MetaClass metaClass)
|
void |
setProperty(String name,
Object value)
|
void |
updateReport(LightestTestResult result,
TestRegistry testRegistry,
String outputDir)
Writes out the report summary. |
| Methods inherited from class com.googlecode.lightest.core.LightestReporter |
|---|
getConfigText, getCooldownFactor, getScheduled, isScheduled, onUpdateDeferred, setConfigText, setCooldownFactor, setScheduled, updateReport, updateReport |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CONFIG_FILE_NAME
public static final String RESULTS_FILE_NAME
| Constructor Detail |
|---|
public DefaultSummaryReporter()
public DefaultSummaryReporter(CustomizedTransformer transformer,
groovy.util.AntBuilder ant)
| Method Detail |
|---|
public void generateBaseReport(TestRegistry testRegistry,
String outputDir)
generateBaseReport in interface ILightestReportergenerateBaseReport in class LightestReportertestRegistry - the registry contains all known information about
pending tests.
public void updateReport(LightestTestResult result,
TestRegistry testRegistry,
String outputDir)
result - testRegistry - outputDir -
public void generateReport(List xmlSuites,
List suites,
String outputDirectory)
generateReport in interface IReporterxmlSuites - suites - outputDirectory - public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectgetMetaClass in class LightestReporterpublic void setMetaClass(groovy.lang.MetaClass metaClass)
setMetaClass in interface groovy.lang.GroovyObjectsetMetaClass in class LightestReporter
public Object invokeMethod(String name,
Object args)
invokeMethod in interface groovy.lang.GroovyObjectinvokeMethod in class LightestReporterpublic Object getProperty(String name)
getProperty in interface groovy.lang.GroovyObjectgetProperty in class LightestReporter
public void setProperty(String name,
Object value)
setProperty in interface groovy.lang.GroovyObjectsetProperty in class LightestReporter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||