Package org.apache.accumulo.iteratortest
Enum IteratorTestOutput.TestOutcome
- java.lang.Object
-
- java.lang.Enum<IteratorTestOutput.TestOutcome>
-
- org.apache.accumulo.iteratortest.IteratorTestOutput.TestOutcome
-
- All Implemented Interfaces:
Serializable
,Comparable<IteratorTestOutput.TestOutcome>
- Enclosing class:
- IteratorTestOutput
public static enum IteratorTestOutput.TestOutcome extends Enum<IteratorTestOutput.TestOutcome>
An outcome about what happened during a test case.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IteratorTestOutput.TestOutcome
valueOf(String name)
Returns the enum constant of this type with the specified name.static IteratorTestOutput.TestOutcome[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PASSED
public static final IteratorTestOutput.TestOutcome PASSED
The IteratorTestCase proactively passed.
-
FAILED
public static final IteratorTestOutput.TestOutcome FAILED
The IteratorTestCase proactively failed.
-
COMPLETED
public static final IteratorTestOutput.TestOutcome COMPLETED
The IteratorTestCase completed, but the pass/fail should be determined by the other context.
-
-
Method Detail
-
values
public static IteratorTestOutput.TestOutcome[] 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 (IteratorTestOutput.TestOutcome c : IteratorTestOutput.TestOutcome.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IteratorTestOutput.TestOutcome 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
-
-