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 TypeMethodDescriptionintCounts the number of test cases that will be run by this test.voidrun(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:TestCounts the number of test cases that will be run by this test.- Specified by:
countTestCasesin interfaceTest
-
run
Description copied from interface:TestRuns a test and collects its result in a TestResult instance. -
getDescription
- Specified by:
getDescriptionin interfaceDescribable- Returns:
- a
Descriptionshowing the tests to be run by the receiver
-