public interface SuiteListener
The listener as starting point of processing suite.
As the configuration of suite is loaded to the runtime, the appropriate events should be fired to process suite.
The readiness in this meaning signs the existence of all details of particular object.
The implementation needs to satisfy the ordering of fired action as follows:
It specifically means:
| Modifier and Type | Method and Description |
|---|---|
void |
onConfigurationReady(VisualSuite visualSuite)
Fired when global configuration came ready.
|
void |
onPatternReady(Configuration configuration,
Pattern pattern)
Fired when pattern is ready to be processed.
|
void |
onSuiteReady(VisualSuite visualSuite)
Fired when all of it's test are ready to be processed.
|
void |
onSuiteStarted(VisualSuite visualSuite)
Fired when processing of the suite starts.
|
void |
onTestReady(Test test)
Fired when particular test and all of it's patterns are ready.
|
void |
setProperties(Properties properties)
Sets the properties of listener, this properties needs to be propagated to all subsequent listeners.
|
void setProperties(Properties properties)
properties - which will be set to this listener and all subsequent listenersvoid onSuiteStarted(VisualSuite visualSuite)
visualSuite - the actual form of visual suite, in this step still without all of the necessary partsvoid onConfigurationReady(VisualSuite visualSuite)
visualSuite - visual suite with global configuration ready.void onPatternReady(Configuration configuration, Pattern pattern)
configuration - the configuration completely ready for process this patternpattern - ready to be processedvoid onTestReady(Test test)
test - which came ready including all of it's patternsvoid onSuiteReady(VisualSuite visualSuite)
visualSuite - the completed details of visual suite configuration including all it's testsCopyright © 2017 JBoss by Red Hat. All rights reserved.