org.junit.runners
public final class JUnit4 extends BlockJUnit4ClassRunner
@RunWith(JUnit4.class)
, not,
for example in JUnit 4.5, @RunWith(BlockJUnit4ClassRunner.class)
.
This is the only way this class should be used--any extension that
depends on the implementation details of this class is likely to break
in future versions.Constructor and Description |
---|
JUnit4(java.lang.Class<?> klass)
Constructs a new instance of the default runner
|
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, methodBlock, methodInvoker, possiblyExpectingExceptions, runChild, testName, validateInstanceMethods, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
childrenInvoker, classBlock, filter, getDescription, getName, getTestClass, run, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
filter