satin.testing
Class TestStatus

java.lang.Object
  |
  +--satin.common.Enum
        |
        +--satin.testing.TestStatus

public class TestStatus
extends Enum

Identifies the status of a testcase: whether it has been run, and whether it encountered errors.

Author:
Ed Stauff
See Also:
Testcase, TestScript, TestLog

Constant Summary
static final TestStatus BLOCKED
          Indicates that the testcase could not be run, possibly because of errors in the setup phase.
static final TestStatus FAILURE
          Indicates that the testcase was run, but encountered errors during the execution phase.
static final TestStatus INDETERMINATE
          Indicates that the testcase was run, but encountered errors during the cleanup phase.
static final TestStatus MANUAL_VERIFY
          Indicates that the testcase was run without errors, but its results must be manually verified to determine success.
static final TestStatus NOT_RUN
          Indicates that the testcase has not been run.
static final int sigLength
          The length of each signature string.
static final TestStatus SUCCESS
          Indicates that the testcase was run without errors.
 
Field Summary
final java.lang.String signature
          An identifier for use in log files.
 
Fields inherited from class satin.common.Enum
name
 
Constructor Summary
protected TestStatus(java.lang.String name, java.lang.String sig)
          The constructor.
 
Methods inherited from class satin.common.Enum
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constant Detail

sigLength

public static final int sigLength
The length of each signature string. All signature strings must be the same length, to allow easy back-patching in log files.
See Also:
TestLogInternal.patch(satin.testing.TestLogInternal.PatchPoint, java.lang.String)

NOT_RUN

public static final TestStatus NOT_RUN
Indicates that the testcase has not been run.

SUCCESS

public static final TestStatus SUCCESS
Indicates that the testcase was run without errors.

MANUAL_VERIFY

public static final TestStatus MANUAL_VERIFY
Indicates that the testcase was run without errors, but its results must be manually verified to determine success.

FAILURE

public static final TestStatus FAILURE
Indicates that the testcase was run, but encountered errors during the execution phase.

BLOCKED

public static final TestStatus BLOCKED
Indicates that the testcase could not be run, possibly because of errors in the setup phase.

INDETERMINATE

public static final TestStatus INDETERMINATE
Indicates that the testcase was run, but encountered errors during the cleanup phase.
Field Detail

signature

public final java.lang.String signature
An identifier for use in log files.
Constructor Detail

TestStatus

protected TestStatus(java.lang.String name,
                     java.lang.String sig)
The constructor.

Parameters:
name
the name of the status.
sig
signature string for use in log files.
Revision History

7/31/01 Ed Stauff - made changes per code review.

3/22/01 Ed Stauff - initial API review by Satin team.



Generated on 5/9/2001 19:37 from TestStatus.java (PRIVATE SOURCES)