com.cwctravel.hudson.plugins.suitegroupedtests.junit
Enum CaseResult.Status

java.lang.Object
  extended by java.lang.Enum<CaseResult.Status>
      extended by com.cwctravel.hudson.plugins.suitegroupedtests.junit.CaseResult.Status
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CaseResult.Status>
Enclosing class:
CaseResult

public static enum CaseResult.Status
extends java.lang.Enum<CaseResult.Status>

Constants that represent the status of this test.


Enum Constant Summary
FAILED
          This test failed, just like its previous run.
FIXED
          This test has been failing, but now it runs OK.
PASSED
          This test runs OK, just like its previous run.
REGRESSION
          This test has been running OK, but now it failed.
SKIPPED
          This test was skipped due to configuration or the failure or skipping of a method that it depends on.
 
Field Summary
 boolean isOK
           
 
Method Summary
 java.lang.String getCssClass()
           
 java.lang.String getMessage()
           
 boolean isRegression()
           
static CaseResult.Status valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CaseResult.Status[] 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

PASSED

public static final CaseResult.Status PASSED
This test runs OK, just like its previous run.


SKIPPED

public static final CaseResult.Status SKIPPED
This test was skipped due to configuration or the failure or skipping of a method that it depends on.


FAILED

public static final CaseResult.Status FAILED
This test failed, just like its previous run.


FIXED

public static final CaseResult.Status FIXED
This test has been failing, but now it runs OK.


REGRESSION

public static final CaseResult.Status REGRESSION
This test has been running OK, but now it failed.

Field Detail

isOK

public final boolean isOK
Method Detail

values

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

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

valueOf

public static CaseResult.Status 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

getCssClass

public java.lang.String getCssClass()

getMessage

public java.lang.String getMessage()

isRegression

public boolean isRegression()


Copyright © 2004-2012. All Rights Reserved.