public abstract class BasicFileReporter extends AbstractReporter
Constructor and Description |
---|
BasicFileReporter() |
Modifier and Type | Method and Description |
---|---|
void |
onAuthorAssigned(Test test,
Author author)
Invoked each time an author is assigned to any test/node
|
void |
onCategoryAssigned(Test test,
Category category)
Invoked each time a category is assigned to any test/node
|
void |
onLogAdded(Test test,
Log log)
Invoked each time a log is added to any test/node
|
void |
onNodeStarted(Test node)
Invoked when a node is started using
createNode(args) |
void |
onScreencastAdded(Test test,
Screencast screencast)
Invoked each time a screencast is added
|
void |
onTestStarted(Test test)
Invoked when a test is started using
createTest(args) |
void |
stop()
Stops the reporter.
|
getCategoryContextInfo, getEndTime, getExceptionContextInfo, getRunDuration, getStartTime, getStatusCount, getSystemAttributeContext, getTestDisplayOrder, getTestRunnerLogs, loadConfig, loadConfig, loadConfig, loadXMLConfig, loadXMLConfig, setCategoryContextInfo, setEndTime, setExceptionContextInfo, setStartTime, setStatusCount, setSystemAttributeContext, setTestDisplayOrder, setTestRunnerLogs
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
flush, start
onScreenCaptureAdded, onScreenCaptureAdded
setTestList
public void onTestStarted(Test test)
TestListener
createTest(args)
test
- Test
objectpublic void onNodeStarted(Test node)
TestListener
createNode(args)
node
- Test
objectpublic void onLogAdded(Test test, Log log)
TestListener
public void onCategoryAssigned(Test test, Category category)
TestListener
public void onAuthorAssigned(Test test, Author author)
TestListener
public void onScreencastAdded(Test test, Screencast screencast)
TestListener
test
- Test
objectscreencast
- Screencast
objectpublic void stop()
ExtentReporter