org.infinitest.toolkit.filter
Enum TestType

java.lang.Object
  extended by java.lang.Enum<TestType>
      extended by org.infinitest.toolkit.filter.TestType
All Implemented Interfaces:
Serializable, Comparable<TestType>

public enum TestType
extends Enum<TestType>

A set of commonly used categories of test.


Enum Constant Summary
ALL
           
CONTAINER
           
INTEGRATION
           
LOAD
           
PERFORMANCE
           
SLOW
           
UNIT
           
 
Method Summary
static TestType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TestType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ALL

public static final TestType ALL

UNIT

public static final TestType UNIT

INTEGRATION

public static final TestType INTEGRATION

CONTAINER

public static final TestType CONTAINER

LOAD

public static final TestType LOAD

PERFORMANCE

public static final TestType PERFORMANCE

SLOW

public static final TestType SLOW
Method Detail

values

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

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

valueOf

public static TestType 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


© Copyright 2009 Paul R. Holser, Jr. All rights reserved. pholser@alumni.rice.edu