net.sf.jzeno.unittesting
Class TestCaseMethodInfo

java.lang.Object
  extended by net.sf.jzeno.unittesting.TestCaseMethodInfo
All Implemented Interfaces:
java.io.Serializable

public class TestCaseMethodInfo
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
TestCaseMethodInfo(junit.framework.Test test)
           
 
Method Summary
 long getElapsedTime()
           
 java.lang.Throwable getError()
           
 java.lang.Throwable getFailure()
           
 junit.framework.Test getTest()
           
 java.lang.String getTestClassName()
           
 java.lang.String getTestName()
           
 boolean hasError()
           
 boolean hasFailure()
           
 boolean isTestCase()
           
 void setElapsedTime(long elapsedTime)
           
 void setError(java.lang.Throwable t)
           
 void setFailure(java.lang.Throwable t)
           
 boolean successful()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestCaseMethodInfo

public TestCaseMethodInfo(junit.framework.Test test)
Method Detail

getTest

public junit.framework.Test getTest()

getElapsedTime

public long getElapsedTime()

setElapsedTime

public void setElapsedTime(long elapsedTime)

getTestClassName

public java.lang.String getTestClassName()

getTestName

public java.lang.String getTestName()

isTestCase

public boolean isTestCase()

setError

public void setError(java.lang.Throwable t)

setFailure

public void setFailure(java.lang.Throwable t)

hasFailure

public boolean hasFailure()

hasError

public boolean hasError()

successful

public boolean successful()

getFailure

public java.lang.Throwable getFailure()

getError

public java.lang.Throwable getError()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object