fr.inria.peerunit.test.oracle
Enum Verdicts

java.lang.Object
  extended by java.lang.Enum<Verdicts>
      extended by fr.inria.peerunit.test.oracle.Verdicts
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Verdicts>

public enum Verdicts
extends java.lang.Enum<Verdicts>

Author:
Eduardo Almeida This enumeration represents the different results returned by a test.

Enum Constant Summary
ERROR
          The test has not been executed correctly : it's not possible to determine if the test is PASS, FAIL or INCONCLUSIVE.
FAIL
          The test failed.
INCONCLUSIVE
          The test didn't failed but we can't be sure it works.
PASS
          The test has been correctly executed.
 
Method Summary
static Verdicts valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Verdicts[] 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

PASS

public static final Verdicts PASS
The test has been correctly executed.


FAIL

public static final Verdicts FAIL
The test failed.


INCONCLUSIVE

public static final Verdicts INCONCLUSIVE
The test didn't failed but we can't be sure it works.


ERROR

public static final Verdicts ERROR
The test has not been executed correctly : it's not possible to determine if the test is PASS, FAIL or INCONCLUSIVE.

Method Detail

values

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

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

valueOf

public static Verdicts valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2010. All Rights Reserved.