org.apache.jackrabbit.tck
Class TestResult

java.lang.Object
  extended byorg.apache.jackrabbit.tck.TestResult

public class TestResult
extends java.lang.Object

The TestResult class is just a helper class to store test results.


Field Summary
static int ERROR
          An error occured while testing
static int FAILURE
          The test failed
static int NOT_EXECUTABLE
          The test cannot be executed
static int SUCCESS
          Test succeeded
 
Constructor Summary
TestResult()
           
 
Method Summary
 java.lang.String getErrorMsg()
           
 int getStatus()
           
 junit.framework.Test getTest()
           
 long getTestTime()
           
 void setErrorMsg(java.lang.String errorMsg)
           
 void setStatus(int status)
           
 void setTest(junit.framework.Test test)
           
 void setTestTime(long testTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUCCESS

public static final int SUCCESS
Test succeeded

See Also:
Constant Field Values

ERROR

public static final int ERROR
An error occured while testing

See Also:
Constant Field Values

FAILURE

public static final int FAILURE
The test failed

See Also:
Constant Field Values

NOT_EXECUTABLE

public static final int NOT_EXECUTABLE
The test cannot be executed

See Also:
Constant Field Values
Constructor Detail

TestResult

public TestResult()
Method Detail

getTestTime

public long getTestTime()

setTestTime

public void setTestTime(long testTime)

getTest

public junit.framework.Test getTest()

setTest

public void setTest(junit.framework.Test test)

getStatus

public int getStatus()

setStatus

public void setStatus(int status)

getErrorMsg

public java.lang.String getErrorMsg()

setErrorMsg

public void setErrorMsg(java.lang.String errorMsg)


Copyright © -2005 . All Rights Reserved.