Class AutotestExecution.Spec.Loader.Default
java.lang.Object
jp.co.moneyforward.autotest.framework.annotations.AutotestExecution.Spec.Loader.Default
- All Implemented Interfaces:
AutotestExecution.Spec.Loader
- Enclosing interface:
AutotestExecution.Spec.Loader
public static class AutotestExecution.Spec.Loader.Default
extends Object
implements AutotestExecution.Spec.Loader
This implementation of AutotestExecution.Spec.Loader reads the system property jp.co.moneyforward.autotest.scenes and creates a
AutotestExecution.Spec instance based on the value.
The syntax of the property value (PROPERTY_VALUE) is as follows:
PROPERTY_VALUE ::= inline:KEY=(VALUE(,VALUE)*)?(;KEY=(VALUE(,VALUE)*)*)?
KEY ::= 'beforeAll'|'beforeEach'|'tests'|'afterEach'|'afterAll'
VALUE ::= a defined name of a scene method.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface jp.co.moneyforward.autotest.framework.annotations.AutotestExecution.Spec.Loader
AutotestExecution.Spec.Loader.Default -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionload(AutotestExecution.Spec base, Properties properties) Returns a newSpecinstance based on the specification discussed inAutotestExecution.Spec.Loader.Default.
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
load
Returns a newSpecinstance based on the specification discussed inAutotestExecution.Spec.Loader.Default.- Specified by:
loadin interfaceAutotestExecution.Spec.Loader- Parameters:
base- A baseSpecinstance on which an implementation of this method loads execution spec.properties- A property object with which baseSpecis overridden.- Returns:
- A new
AutotestExecution.Specobject. - See Also:
-