public class ConsoleLogger extends AbstractReporter
| Constructor and Description |
|---|
ConsoleLogger() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.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 |
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.
|
autoCreateRelativePathMedia, flush, getAnalysisStrategy, getAuthorContextInfo, getCategoryContextInfo, getDeviceContextInfo, getEndTime, getExceptionContextInfo, getLongRunDuration, getReportStatusStats, getRunDuration, getStartTime, getStatusCollection, getSystemAttributeContext, getTestList, getTestRunnerLogs, setAnalysisStrategy, setEndTime, setStartTimepublic void start()
ExtentReporterpublic void stop()
ExtentReporterstop in interface ExtentReporterstop in class AbstractReporterpublic void onTestStarted(Test test)
TestListenercreateTest()onTestStarted in interface TestListeneronTestStarted in class AbstractReportertest - Test objectpublic void onTestRemoved(Test test)
TestListenerremoveTest()onTestRemoved in interface TestListeneronTestRemoved in class AbstractReportertest - Test objectpublic void onNodeStarted(Test node)
TestListenercreateNode()onNodeStarted in interface TestListeneronNodeStarted in class AbstractReporternode - Test objectpublic void onLogAdded(Test test, Log log)
TestListeneronLogAdded in interface TestListeneronLogAdded in class AbstractReportertest - Test objectlog - Log objectpublic void onCategoryAssigned(Test test, Category category)
TestListeneronCategoryAssigned in interface TestListeneronCategoryAssigned in class AbstractReportertest - Test objectcategory - Category objectpublic void onAuthorAssigned(Test test, Author author)
TestListeneronAuthorAssigned in interface TestListeneronAuthorAssigned in class AbstractReportertest - Test objectauthor - Author objectpublic void onDeviceAssigned(Test test, Device device)
TestListeneronDeviceAssigned in interface TestListeneronDeviceAssigned in class AbstractReportertest - Test objectdevice - Device objectpublic void onScreenCaptureAdded(Test test, ScreenCapture screenCapture) throws java.io.IOException
TestListeneronScreenCaptureAdded in interface TestListeneronScreenCaptureAdded in class AbstractReportertest - Test objectscreenCapture - ScreenCapture
objectjava.io.IOException - Exception thrown if the media object is not foundpublic void onScreenCaptureAdded(Log log, ScreenCapture screenCapture)
TestListeneronScreenCaptureAdded in interface TestListeneronScreenCaptureAdded in class AbstractReporterlog - Log objectscreenCapture - ScreenCapture
objectpublic java.lang.String getReporterName()
ExtentReporterCopyright © 2020. All Rights Reserved.