csheets.ext.test
Enum TestCaseParam.Type

java.lang.Object
  extended by java.lang.Enum<TestCaseParam.Type>
      extended by csheets.ext.test.TestCaseParam.Type
All Implemented Interfaces:
Serializable, Comparable<TestCaseParam.Type>
Enclosing class:
TestCaseParam

public static enum TestCaseParam.Type
extends Enum<TestCaseParam.Type>

The test case parameters origin can be either user entered, system generated within the cells assertion or derived from the values of its test cases


Enum Constant Summary
DERIVED
          Derived from the cell's test case value.
SYSTEM_GENERATED
          Auto-generated by the system based on the cell's assertion.
USER_ENTERED
          Entered manually by the user.
 
Method Summary
static TestCaseParam.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TestCaseParam.Type[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

USER_ENTERED

public static final TestCaseParam.Type USER_ENTERED
Entered manually by the user.


SYSTEM_GENERATED

public static final TestCaseParam.Type SYSTEM_GENERATED
Auto-generated by the system based on the cell's assertion.


DERIVED

public static final TestCaseParam.Type DERIVED
Derived from the cell's test case value.

Method Detail

values

public static final TestCaseParam.Type[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(TestCaseParam.Type c : TestCaseParam.Type.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static TestCaseParam.Type 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 name