|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.TestFailure
org.jboss.jrunit.extensions.SerializableTestFailure
Constructor Summary | |
SerializableTestFailure()
|
|
SerializableTestFailure(junit.framework.Test failedTest,
java.lang.Throwable throwableException,
java.lang.String testClass)
|
Method Summary | |
java.lang.String |
exceptionMessage()
|
junit.framework.Test |
failedTest()
|
boolean |
isFailure()
|
void |
readExternal(java.io.ObjectInput in)
The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. |
java.lang.Throwable |
thrownException()
Gets the thrown exception. |
java.lang.String |
toString()
Returns a short description of the failure. |
java.lang.String |
trace()
|
void |
writeExternal(java.io.ObjectOutput out)
The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SerializableTestFailure()
public SerializableTestFailure(junit.framework.Test failedTest, java.lang.Throwable throwableException, java.lang.String testClass)
Method Detail |
public junit.framework.Test failedTest()
public java.lang.Throwable thrownException()
public java.lang.String toString()
public java.lang.String trace()
public java.lang.String exceptionMessage()
public boolean isFailure()
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
in
- the stream to read data from in order to restore the object
java.io.IOException
- if I/O errors occur
java.lang.ClassNotFoundException
- If the class for an object being
restored cannot be found.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
out
- the stream to write the object to
java.io.IOException
- Includes any I/O exceptions that may occur
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |