org.jboss.jrunit.extensions
Class SerializableTest
java.lang.Object
org.jboss.jrunit.extensions.SerializableTest
- All Implemented Interfaces:
- java.io.Serializable, junit.framework.Test
- public class SerializableTest
- extends java.lang.Object
- implements junit.framework.Test, java.io.Serializable
- Author:
- Tom Elrod
- See Also:
- Serialized Form
Constructor Summary |
SerializableTest(junit.framework.Test t,
java.lang.String testClass)
|
Method Summary |
int |
countTestCases()
Counts the number of test cases that will be run by this test. |
void |
run(junit.framework.TestResult result)
Runs a test and collects its result in a TestResult instance. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SerializableTest
public SerializableTest(junit.framework.Test t,
java.lang.String testClass)
countTestCases
public int countTestCases()
- Counts the number of test cases that will be run by this test.
- Specified by:
countTestCases
in interface junit.framework.Test
run
public void run(junit.framework.TestResult result)
- Runs a test and collects its result in a TestResult instance.
- Specified by:
run
in interface junit.framework.Test
toString
public java.lang.String toString()
JRunit, a JUnit extension for distributed client/server tests.