public class CustomTestRunner
extends org.junit.runners.BlockJUnit4ClassRunner
| Constructor and Description |
|---|
CustomTestRunner(java.lang.Class<?> klass) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
createTest() |
protected org.junit.runner.Description |
describeChild(org.junit.runners.model.FrameworkMethod method) |
void |
filter(org.junit.runner.manipulation.Filter filter) |
protected org.junit.runners.model.Statement |
methodBlock(org.junit.runners.model.FrameworkMethod method) |
protected void |
runChild(org.junit.runners.model.FrameworkMethod method,
org.junit.runner.notification.RunNotifier notifier) |
protected boolean |
shouldHalt() |
collectInitializationErrors, computeTestMethods, getChildren, getTestRules, isIgnored, methodInvoker, possiblyExpectingExceptions, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeoutpublic CustomTestRunner(java.lang.Class<?> klass)
throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorprotected org.junit.runner.Description describeChild(org.junit.runners.model.FrameworkMethod method)
describeChild in class org.junit.runners.BlockJUnit4ClassRunnerprotected org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method)
methodBlock in class org.junit.runners.BlockJUnit4ClassRunnerprotected java.lang.Object createTest()
throws java.lang.Exception
createTest in class org.junit.runners.BlockJUnit4ClassRunnerjava.lang.Exceptionprotected void runChild(org.junit.runners.model.FrameworkMethod method,
org.junit.runner.notification.RunNotifier notifier)
runChild in class org.junit.runners.BlockJUnit4ClassRunnerprotected boolean shouldHalt()
public void filter(org.junit.runner.manipulation.Filter filter)
throws org.junit.runner.manipulation.NoTestsRemainException
filter in interface org.junit.runner.manipulation.Filterablefilter in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>org.junit.runner.manipulation.NoTestsRemainException