public class ContextJUnit4ClassRunner
extends org.junit.runners.BlockJUnit4ClassRunner
Constructor and Description |
---|
ContextJUnit4ClassRunner(Class<?> klass)
/** Creates a ContextJUnit4ClassRunner derived from a BlockJUnit4ClassRunner to run
klass . |
Modifier and Type | Method and Description |
---|---|
protected Object |
createTest() |
collectInitializationErrors, computeTestMethods, describeChild, getChildren, getTestRules, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
public ContextJUnit4ClassRunner(Class<?> klass) throws org.junit.runners.model.InitializationError
klass
.org.junit.runners.model.InitializationError
- if the test class is malformed.Copyright © 2012 redlab.be. All Rights Reserved.