public interface TestListener
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 |
onScreenCaptureAdded(Log log,
ScreenCapture screenCapture)
Invoked each time a screenshot 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 |
onTestStarted(Test test)
Invoked when a test is started using
createTest(args) |
void onTestStarted(Test test)
createTest(args)
test
- Test
objectvoid onNodeStarted(Test node)
createNode(args)
node
- Test
objectvoid onCategoryAssigned(Test test, Category category)
void onAuthorAssigned(Test test, Author author)
void onScreenCaptureAdded(Test test, ScreenCapture screenCapture) throws java.io.IOException
test
- Test
objectscreenCapture
- ScreenCapture
objectjava.io.IOException
- Exception thrown if the media object is not foundvoid onScreenCaptureAdded(Log log, ScreenCapture screenCapture) throws java.io.IOException
log
- Log
objectscreenCapture
- ScreenCapture
objectjava.io.IOException
- Exception thrown if the media object is not foundvoid onScreencastAdded(Test test, Screencast screencast) throws java.io.IOException
test
- Test
objectscreencast
- Screencast
objectjava.io.IOException
- Exception thrown if the media object is not found