public final class JMockit
extends org.junit.runners.BlockJUnit4ClassRunner
jmockit.jar
precedes junit-4.n.jar
in the runtime classpath.Constructor and Description |
---|
JMockit(Class<?> testClass)
Constructs a new instance of the test runner.
|
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
public JMockit(Class<?> testClass) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
- if the test class is malformed