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 newSpec
instance based on the specification discussed inAutotestExecution.Spec.Loader.Default
.
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
load
Returns a newSpec
instance based on the specification discussed inAutotestExecution.Spec.Loader.Default
.- Specified by:
load
in interfaceAutotestExecution.Spec.Loader
- Parameters:
base
- A baseSpec
instance on which an implementation of this method loads execution spec.properties
- A property object with which baseSpec
is overridden.- Returns:
- A new
AutotestExecution.Spec
object. - See Also:
-