Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derbyTesting.unitTests.harness
Interface UnitTestConstants  view UnitTestConstants download UnitTestConstants.java


public interface UnitTestConstants

UnitTestConstants contains the constants for the unit tests to use when registering and running the tests.


Field Summary
static int DURATION_FOREVER
          FOREVER means the test takes more than 5 minutes, or could loop forever if it fails.
static int DURATION_LONG
          LONG means the test might take 1-5 minutes.
static int DURATION_MEDIUM
          MEDIUM means the test is less than 30 seconds.
static int DURATION_MICRO
          the duration of a test can be from MICRO to FOREVER.
static int DURATION_SHORT
          SHORT means the test is less than a second.
static int TYPE_BASIC
          BASIC means the test is a basic check that the system is working.
static int TYPE_COMMON
          COMMON means the test verify that the most common cases of use of this object are working properly.
static int TYPE_COMPLETE
          COMPLETE means that the tests verify that the object is performing all expected functionality correctly.
static int TYPE_SANITY
          SANITY means the test is simply a check that the system is running.
 

Field Detail

DURATION_MICRO

public static final int DURATION_MICRO
the duration of a test can be from MICRO to FOREVER.

MICRO means the test is practically nothing more than the call; a simple field examination, for example.

See Also:
Constant Field Values

DURATION_SHORT

public static final int DURATION_SHORT
SHORT means the test is less than a second.

See Also:
Constant Field Values

DURATION_MEDIUM

public static final int DURATION_MEDIUM
MEDIUM means the test is less than 30 seconds.

See Also:
Constant Field Values

DURATION_LONG

public static final int DURATION_LONG
LONG means the test might take 1-5 minutes.

See Also:
Constant Field Values

DURATION_FOREVER

public static final int DURATION_FOREVER
FOREVER means the test takes more than 5 minutes, or could loop forever if it fails.

See Also:
Constant Field Values

TYPE_SANITY

public static final int TYPE_SANITY
SANITY means the test is simply a check that the system is running. Little more than a consistency check would be done.

See Also:
Constant Field Values

TYPE_BASIC

public static final int TYPE_BASIC
BASIC means the test is a basic check that the system is working. A single, very common construct would be verified to be working.

See Also:
Constant Field Values

TYPE_COMMON

public static final int TYPE_COMMON
COMMON means the test verify that the most common cases of use of this object are working properly.

See Also:
Constant Field Values

TYPE_COMPLETE

public static final int TYPE_COMPLETE
COMPLETE means that the tests verify that the object is performing all expected functionality correctly.

See Also:
Constant Field Values