public class JUnit4TestCaseFacade extends java.lang.Object implements Test, Describable
| Modifier and Type | Field and Description |
|---|---|
private Description |
fDescription |
| Constructor and Description |
|---|
JUnit4TestCaseFacade(Description description) |
| Modifier and Type | Method and 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() |
private final Description fDescription
JUnit4TestCaseFacade(Description description)
public java.lang.String toString()
toString in class java.lang.Objectpublic int countTestCases()
TestcountTestCases in interface Testpublic void run(TestResult result)
Testpublic Description getDescription()
getDescription in interface DescribableDescription showing the tests to be run by the receiver