Package junit.framework
Class JUnit4TestCaseFacade
- java.lang.Object
-
- junit.framework.JUnit4TestCaseFacade
-
- All Implemented Interfaces:
Test
,Describable
public class JUnit4TestCaseFacade extends java.lang.Object implements Test, Describable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
countTestCases()
Counts the number of test cases that will be run by this test.Description
getDescription()
void
run(TestResult result)
Runs a test and collects its result in a TestResult instance.java.lang.String
toString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
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 interfaceTest
-
run
public void run(TestResult result)
Description copied from interface:Test
Runs a test and collects its result in a TestResult instance.
-
getDescription
public Description getDescription()
- Specified by:
getDescription
in interfaceDescribable
- Returns:
- a
Description
showing the tests to be run by the receiver
-
-