|
|||||||||
| 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
public class 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()
failedTest in class junit.framework.TestFailurepublic java.lang.Throwable thrownException()
thrownException in class junit.framework.TestFailurepublic java.lang.String toString()
toString in class junit.framework.TestFailurepublic java.lang.String trace()
trace in class junit.framework.TestFailurepublic java.lang.String exceptionMessage()
exceptionMessage in class junit.framework.TestFailurepublic boolean isFailure()
isFailure in class junit.framework.TestFailure
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - 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.Externalizableout - 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 | ||||||||