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 |
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 onTestStarted(Test test)
createTest()
test
- Test
objectvoid onTestRemoved(Test test)
removeTest()
test
- Test
objectvoid onNodeStarted(Test node)
createNode()
node
- Test
objectvoid onCategoryAssigned(Test test, Category category)
void onAuthorAssigned(Test test, Author author)
void onDeviceAssigned(Test test, Device device)
void onScreenCaptureAdded(Test test, ScreenCapture screenCapture) throws IOException
test
- Test
objectscreenCapture
- ScreenCapture
objectIOException
- Exception thrown if the media object is not foundvoid onScreenCaptureAdded(Log log, ScreenCapture screenCapture) throws IOException
log
- Log
objectscreenCapture
- ScreenCapture
objectIOException
- Exception thrown if the media object is not foundvoid onScreencastAdded(Test test, Screencast screencast) throws IOException
test
- Test
objectscreencast
- Screencast
objectIOException
- Exception thrown if the media object is not foundCopyright © 2018. All rights reserved.