Package | Description |
---|---|
junit.extensions |
Provides extended functionality for JUnit v3.x.
|
junit.framework |
Provides JUnit v3.x core classes.
|
junit.textui |
Provides JUnit v3.x command line based tool to run tests.
|
org.junit.internal.runners |
Provides implementations of
Runner |
Constructor and Description |
---|
ActiveTestSuite(java.lang.Class<? extends TestCase> theClass) |
ActiveTestSuite(java.lang.Class<? extends TestCase> theClass,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
TestResult.run(TestCase test)
Runs a TestCase.
|
Modifier and Type | Method and Description |
---|---|
void |
TestSuite.addTestSuite(java.lang.Class<? extends TestCase> testClass)
Adds the tests from the given class to the suite.
|
Constructor and Description |
---|
TestSuite(java.lang.Class<? extends TestCase> theClass,
java.lang.String name)
Constructs a TestSuite from the given class with the given name.
|
Modifier and Type | Method and Description |
---|---|
static void |
TestRunner.run(java.lang.Class<? extends TestCase> testClass)
Runs a suite extracted from a TestCase subclass.
|
Modifier and Type | Method and Description |
---|---|
private static java.lang.annotation.Annotation[] |
JUnit38ClassRunner.getAnnotations(TestCase test)
Get the annotations associated with given TestCase.
|