public abstract class BasicFileReporter extends AbstractReporter
authorContext, categoryContext, configContext, configMap, endTime, exceptionContext, filePath, levels, sc, startTime, systemAttributeContext, templateMap, testList, testRunnerLogs| Constructor and Description |
|---|
BasicFileReporter() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getLongRunDuration() |
java.util.List<Status> |
getStatusCollection() |
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 |
onScreenCaptureAdded(Log log,
ScreenCapture screenCapture)
Invoked each time a screencapture is added to log
|
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 |
refreshStatusCollection(java.util.List<Test> testCollection,
java.lang.Boolean renew) |
void |
stop()
Stops the reporter.
|
getAnalysisStrategy, getAuthorContextInfo, getCategoryContextInfo, getEndTime, getExceptionContextInfo, getRunDuration, getStartTime, getStatusCount, getSystemAttributeContext, getTestRunnerLogs, loadConfig, loadConfig, loadConfig, loadXMLConfig, loadXMLConfig, setAnalysisStrategy, setAuthorContextInfo, setCategoryContextInfo, setEndTime, setExceptionContextInfo, setStartTime, setStatusCount, setSystemAttributeContext, setTestRunnerLogsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflush, startonScreenCaptureAddedsetTestListpublic void onTestStarted(Test test)
TestListenercreateTest(args)test - Test objectpublic void onNodeStarted(Test node)
TestListenercreateNode(args)node - Test objectpublic void onLogAdded(Test test, Log log)
TestListenerpublic java.util.List<Status> getStatusCollection()
public void refreshStatusCollection(java.util.List<Test> testCollection, java.lang.Boolean renew)
public void onCategoryAssigned(Test test, Category category)
TestListenerpublic void onAuthorAssigned(Test test, Author author)
TestListenerpublic void onScreenCaptureAdded(Log log, ScreenCapture screenCapture)
TestListenerlog - Log objectscreenCapture - ScreenCapture objectpublic void onScreencastAdded(Test test, Screencast screencast)
TestListenertest - Test objectscreencast - Screencast objectpublic void stop()
ExtentReporterpublic abstract java.lang.String getLongRunDuration()
Copyright © 2018. All Rights Reserved.