org.squashtest.csp.tm.domain.testcase
Enum TestCaseType

java.lang.Object
  extended by java.lang.Enum<TestCaseType>
      extended by org.squashtest.csp.tm.domain.testcase.TestCaseType
All Implemented Interfaces:
Serializable, Comparable<TestCaseType>, Level, org.squashtest.tm.core.foundation.i18n.Internationalizable

public enum TestCaseType
extends Enum<TestCaseType>
implements Level


Enum Constant Summary
COMPLIANCE_TESTING
           
CORRECTION_TESTING
           
END_TO_END_TESTING
           
EVOLUTION_TESTING
           
PARTNER_TESTING
           
REGRESSION_TESTING
           
UNDEFINED
           
 
Method Summary
static TestCaseType defaultValue()
           
 String getI18nKey()
           
 int getLevel()
           
static TestCaseType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TestCaseType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNDEFINED

public static final TestCaseType UNDEFINED

COMPLIANCE_TESTING

public static final TestCaseType COMPLIANCE_TESTING

CORRECTION_TESTING

public static final TestCaseType CORRECTION_TESTING

EVOLUTION_TESTING

public static final TestCaseType EVOLUTION_TESTING

REGRESSION_TESTING

public static final TestCaseType REGRESSION_TESTING

END_TO_END_TESTING

public static final TestCaseType END_TO_END_TESTING

PARTNER_TESTING

public static final TestCaseType PARTNER_TESTING
Method Detail

values

public static TestCaseType[] 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 (TestCaseType c : TestCaseType.values())
    System.out.println(c);

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

valueOf

public static TestCaseType 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
NullPointerException - if the argument is null

getI18nKey

public String getI18nKey()
Specified by:
getI18nKey in interface org.squashtest.tm.core.foundation.i18n.Internationalizable

getLevel

public int getLevel()
Specified by:
getLevel in interface Level

defaultValue

public static TestCaseType defaultValue()


Copyright © 2010-2012 Henix, henix.fr. All Rights Reserved.