junit.framework
Class JUnit4TestAdapter
java.lang.Object
junit.framework.JUnit4TestAdapter
- All Implemented Interfaces:
- Test
public class JUnit4TestAdapter
- extends java.lang.Object
- implements Test
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JUnit4TestAdapter
public JUnit4TestAdapter(java.lang.Class<?> newTestClass)
JUnit4TestAdapter
public JUnit4TestAdapter(java.lang.Class<?> newTestClass,
JUnit4TestAdapterCache cache)
countTestCases
public int countTestCases()
- Description copied from interface:
Test
- Counts the number of test cases that will be run by this test.
- Specified by:
countTestCases
in interface Test
run
public void run(TestResult result)
- Description copied from interface:
Test
- Runs a test and collects its result in a TestResult instance.
- Specified by:
run
in interface Test
getTests
public java.util.List<Test> getTests()
getTestClass
public java.lang.Class<?> getTestClass()
getDescription
public Description getDescription()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
filter
public void filter(Filter filter)
throws NoTestsRemainException
- Throws:
NoTestsRemainException
sort
public void sort(Sorter sorter)