org.jgroups.util
Class JUnitXMLReporter.TestCase
java.lang.Object
org.jgroups.util.JUnitXMLReporter.TestCase
- All Implemented Interfaces:
- Streamable
- Enclosing class:
- JUnitXMLReporter
public static class JUnitXMLReporter.TestCase
- extends java.lang.Object
- implements Streamable
|
Method Summary |
long |
getTime()
|
void |
readFrom(java.io.DataInput in)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed |
void |
setFailure(java.lang.String failure_type,
java.lang.String failure_msg,
java.lang.String stack_trace)
|
protected static java.lang.String |
statusToString(int status)
|
java.lang.String |
toString()
|
void |
writeTo(java.io.DataOutput out)
Write the entire state of the current object (including superclasses) to outstream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
status
protected int status
classname
protected java.lang.String classname
name
protected java.lang.String name
start_time
protected long start_time
stop_time
protected long stop_time
failure_type
protected java.lang.String failure_type
failure_msg
protected java.lang.String failure_msg
stack_trace
protected java.lang.String stack_trace
JUnitXMLReporter.TestCase
public JUnitXMLReporter.TestCase()
JUnitXMLReporter.TestCase
public JUnitXMLReporter.TestCase(int status,
java.lang.String classname,
java.lang.String name,
long start_time,
long stop_time)
setFailure
public void setFailure(java.lang.String failure_type,
java.lang.String failure_msg,
java.lang.String stack_trace)
getTime
public long getTime()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
statusToString
protected static java.lang.String statusToString(int status)
writeTo
public void writeTo(java.io.DataOutput out)
throws java.lang.Exception
- Description copied from interface:
Streamable
- Write the entire state of the current object (including superclasses) to outstream.
Note that the output stream must not be closed
- Specified by:
writeTo in interface Streamable
- Throws:
java.lang.Exception
readFrom
public void readFrom(java.io.DataInput in)
throws java.lang.Exception
- Description copied from interface:
Streamable
- Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
- Specified by:
readFrom in interface Streamable
- Throws:
java.lang.Exception
Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.