|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.lightest.core.LightestReporter
public class LightestReporter
An adapter class with no actual reporting functionality. Subclasses can choose to implement any or all of the reporting-related methods.
| Field Summary | |
|---|---|
static int |
DEFAULT_COOLDOWN_FACTOR
the default value for cooldownFactor |
| Constructor Summary | |
|---|---|
LightestReporter()
The reporter is not marked as scheduled, by default. |
|
| Method Summary | |
|---|---|
void |
generateBaseReport(TestRegistry testRegistry,
String outputDir)
No-op. |
String |
getConfigText()
|
int |
getCooldownFactor()
Returns a factor by which the runtime of the report should be multipled by to obtain a cooldown period during which the report should not be updated. |
groovy.lang.MetaClass |
getMetaClass()
|
Object |
getProperty(String name)
|
boolean |
getScheduled()
|
Object |
invokeMethod(String name,
Object args)
|
boolean |
isScheduled()
Returns true if this reporter may be scheduled, false otherwise. |
void |
onUpdateDeferred()
No-op. |
void |
setConfigText(String value)
Sets the textual configuration used to configure this run. |
void |
setCooldownFactor(int value)
|
void |
setMetaClass(groovy.lang.MetaClass metaClass)
|
void |
setProperty(String name,
Object value)
|
void |
setScheduled(boolean value)
Sets whether this reporter can be scheduled. |
void |
updateReport(ISuite suite,
TestRegistry testRegistry,
String outputDir)
No-op. |
void |
updateReport(LightestTestResult result,
TestRegistry testRegistry,
List xmlSuites,
List suites,
String outputDirectory)
No-op. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_COOLDOWN_FACTOR
| Constructor Detail |
|---|
public LightestReporter()
| Method Detail |
|---|
public String getConfigText()
public void setConfigText(String value)
ILightestReporter
setConfigText in interface ILightestReportervalue - the textual configuration, or nullpublic boolean getScheduled()
public boolean isScheduled()
ILightestReporter
isScheduled in interface ILightestReporterpublic void setScheduled(boolean value)
ILightestReporter
setScheduled in interface ILightestReporterpublic int getCooldownFactor()
ILightestReporter
getCooldownFactor in interface ILightestReporterpublic void setCooldownFactor(int value)
public void generateBaseReport(TestRegistry testRegistry,
String outputDir)
generateBaseReport in interface ILightestReportertestRegistry - the registry contains all known information about
pending tests.
public void updateReport(ISuite suite,
TestRegistry testRegistry,
String outputDir)
updateReport in interface ILightestReportersuite - the suite that is about to runtestRegistry - the registry contains all known information about
pending and completed tests
public void updateReport(LightestTestResult result,
TestRegistry testRegistry,
List xmlSuites,
List suites,
String outputDirectory)
updateReport in interface ILightestReporterresult - the result for which to update the report.testRegistry - the registry contains all known information about
pending and completed testspublic void onUpdateDeferred()
onUpdateDeferred in interface ILightestReporterpublic groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass metaClass)
setMetaClass in interface groovy.lang.GroovyObject
public Object invokeMethod(String name,
Object args)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String name)
getProperty in interface groovy.lang.GroovyObject
public void setProperty(String name,
Object value)
setProperty in interface groovy.lang.GroovyObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||