public class ConsoleLogger extends AbstractReporter
endTime, levels, startTime, statusListconfigContext| Constructor and Description |
|---|
ConsoleLogger() |
| Modifier and Type | Method and Description |
|---|---|
String |
getReporterName()
Get the reporter name
|
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 |
onDeviceAssigned(Test test,
Device device)
Invoked each time a device 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() |
void |
onScreenCaptureAdded(Log log,
ScreenCapture screenCapture)
Invoked each time a screencapture is added to log
|
void |
onScreenCaptureAdded(Test test,
ScreenCapture screenCapture)
Invoked each time a screencapture is added to test
|
void |
onScreencastAdded(Test test,
Screencast screencast)
Invoked each time a screencast is added
|
void |
onTestRemoved(Test test)
Invoked when a test is removed using
removeTest() |
void |
onTestStarted(Test test)
Invoked when a test is started using
createTest() |
void |
start()
Starts passing run information to the reporter
|
void |
stop()
Stops the reporter.
|
flush, getAnalysisStrategy, getEndTime, getLongRunDuration, getRunDuration, getStartTime, getStatusList, setAnalysisStrategy, setEndTimegetConfigContext, loadConfig, loadConfig, loadConfig, loadXMLConfig, loadXMLConfig, loadXMLConfigpublic void start()
ExtentReporterpublic void stop()
ExtentReporterpublic void onTestStarted(Test test)
TestListenercreateTest()test - Test objectpublic void onTestRemoved(Test test)
TestListenerremoveTest()test - Test objectpublic void onNodeStarted(Test node)
TestListenercreateNode()node - Test objectpublic void onLogAdded(Test test, Log log)
TestListenerpublic void onCategoryAssigned(Test test, Category category)
TestListenerpublic void onAuthorAssigned(Test test, Author author)
TestListenerpublic void onDeviceAssigned(Test test, Device device)
TestListenerpublic void onScreenCaptureAdded(Test test, ScreenCapture screenCapture) throws IOException
TestListenertest - Test objectscreenCapture - ScreenCapture objectIOException - Exception thrown if the media object is not foundpublic void onScreenCaptureAdded(Log log, ScreenCapture screenCapture)
TestListenerlog - Log objectscreenCapture - ScreenCapture objectpublic void onScreencastAdded(Test test, Screencast screencast)
TestListenertest - Test objectscreencast - Screencast objectpublic String getReporterName()
ExtentReporterCopyright © 2018. All rights reserved.