Package de.xima.fc.e2e.shared
Enum ETestCaseRuntimeMethod
- java.lang.Object
-
- java.lang.Enum<ETestCaseRuntimeMethod>
-
- de.xima.fc.e2e.shared.ETestCaseRuntimeMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<ETestCaseRuntimeMethod>
public enum ETestCaseRuntimeMethod extends Enum<ETestCaseRuntimeMethod>
Enumeration of the possible methods to run a test case.- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JAVA_CLASS_CODE
Run a test case by invoking a method of a Java class that implements the corresponding interface.SELENIUM_IDE_JAVA_JUNIT
Run a selenium IDE test case exported asJava JUnit
.SELENIUM_IDE_SIDE
A*.side
Selenium IDE test suite.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
static ETestCaseRuntimeMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static ETestCaseRuntimeMethod
valueOfOrNull(String value)
static ETestCaseRuntimeMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JAVA_CLASS_CODE
public static final ETestCaseRuntimeMethod JAVA_CLASS_CODE
Run a test case by invoking a method of a Java class that implements the corresponding interface. The Java code is provided as a*.java
file that must be compiled.
-
SELENIUM_IDE_JAVA_JUNIT
public static final ETestCaseRuntimeMethod SELENIUM_IDE_JAVA_JUNIT
Run a selenium IDE test case exported asJava JUnit
.
-
SELENIUM_IDE_SIDE
public static final ETestCaseRuntimeMethod SELENIUM_IDE_SIDE
A*.side
Selenium IDE test suite.
-
-
Method Detail
-
values
public static ETestCaseRuntimeMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ETestCaseRuntimeMethod c : ETestCaseRuntimeMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ETestCaseRuntimeMethod valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getDisplayName
public String getDisplayName()
- Returns:
- The human-readable name of this setup method.
-
valueOfOrNull
public static ETestCaseRuntimeMethod valueOfOrNull(String value)
- Parameters:
value
- Value to parse.- Returns:
- The runtime method corresponding to the given value, or
null
when no such method exists.
-
-