|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.junit.runner.Runner
org.junit.internal.runners.JUnit4ClassRunner
BlockJUnit4ClassRunner in place of JUnit4ClassRunner.
This may disappear as soon as 1 April 2009
@Deprecated public class JUnit4ClassRunner
| Constructor Summary | |
|---|---|
JUnit4ClassRunner(java.lang.Class<?> klass)
Deprecated. |
|
| Method Summary | |
|---|---|
protected java.lang.annotation.Annotation[] |
classAnnotations()
Deprecated. |
protected java.lang.Object |
createTest()
Deprecated. |
void |
filter(Filter filter)
Deprecated. Remove tests that don't pass the parameter filter. |
Description |
getDescription()
Deprecated. |
protected java.lang.String |
getName()
Deprecated. |
protected TestClass |
getTestClass()
Deprecated. |
protected java.util.List<java.lang.reflect.Method> |
getTestMethods()
Deprecated. |
protected void |
invokeTestMethod(java.lang.reflect.Method method,
RunNotifier notifier)
Deprecated. |
protected Description |
methodDescription(java.lang.reflect.Method method)
Deprecated. |
void |
run(RunNotifier notifier)
Deprecated. Run the tests for this runner. |
protected void |
runMethods(RunNotifier notifier)
Deprecated. |
void |
sort(Sorter sorter)
Deprecated. Sorts the tests using sorter |
protected java.lang.annotation.Annotation[] |
testAnnotations(java.lang.reflect.Method method)
Deprecated. |
protected java.lang.String |
testName(java.lang.reflect.Method method)
Deprecated. |
protected void |
validate()
Deprecated. |
protected TestMethod |
wrapMethod(java.lang.reflect.Method method)
Deprecated. |
| Methods inherited from class org.junit.runner.Runner |
|---|
testCount |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JUnit4ClassRunner(java.lang.Class<?> klass)
throws InitializationError
InitializationError| Method Detail |
|---|
protected java.util.List<java.lang.reflect.Method> getTestMethods()
protected void validate()
throws InitializationError
InitializationErrorpublic void run(RunNotifier notifier)
Runner
run in class Runnernotifier - will be notified of events while tests are being run--tests being
started, finishing, and failingprotected void runMethods(RunNotifier notifier)
public Description getDescription()
getDescription in interface DescribablegetDescription in class RunnerDescription showing the tests to be run by the receiverprotected java.lang.annotation.Annotation[] classAnnotations()
protected java.lang.String getName()
protected java.lang.Object createTest()
throws java.lang.Exception
java.lang.Exception
protected void invokeTestMethod(java.lang.reflect.Method method,
RunNotifier notifier)
protected TestMethod wrapMethod(java.lang.reflect.Method method)
protected java.lang.String testName(java.lang.reflect.Method method)
protected Description methodDescription(java.lang.reflect.Method method)
protected java.lang.annotation.Annotation[] testAnnotations(java.lang.reflect.Method method)
public void filter(Filter filter)
throws NoTestsRemainException
Filterablefilter.
filter in interface Filterablefilter - the Filter to apply
NoTestsRemainException - if all tests are filtered outpublic void sort(Sorter sorter)
Sortablesorter
sort in interface Sortablesorter - the Sorter to use for sorting the testsprotected TestClass getTestClass()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||