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 intcountTestCases()Counts the number of test cases that will be run by this test.DescriptiongetDescription()voidrun(TestResult result)Runs a test and collects its result in a TestResult instance.java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
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
public void run(TestResult result)
Description copied from interface:TestRuns a test and collects its result in a TestResult instance.
-
getDescription
public Description getDescription()
- Specified by:
getDescriptionin interfaceDescribable- Returns:
- a
Descriptionshowing the tests to be run by the receiver
-
-