Package junit.framework
Class JUnit4TestCaseFacade
java.lang.Object
junit.framework.JUnit4TestCaseFacade
- All Implemented Interfaces:
Test
,Describable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Counts the number of test cases that will be run by this test.void
run
(TestResult result) Runs a test and collects its result in a TestResult instance.toString()
-
Field Details
-
fDescription
-
-
Constructor Details
-
JUnit4TestCaseFacade
JUnit4TestCaseFacade(Description description)
-
-
Method Details
-
toString
-
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
Description copied from interface:Test
Runs a test and collects its result in a TestResult instance. -
getDescription
- Specified by:
getDescription
in interfaceDescribable
- Returns:
- a
Description
showing the tests to be run by the receiver
-