public class TimingRunner
extends org.junit.runners.BlockJUnit4ClassRunner
Constructor and Description |
---|
TimingRunner(Class<?> klass)
Creates a BlockJUnit4ClassRunner to run
klass |
Modifier and Type | Method and Description |
---|---|
protected org.junit.runners.model.Statement |
methodBlock(org.junit.runners.model.FrameworkMethod method) |
protected org.junit.runners.model.Statement |
methodInvoker(org.junit.runners.model.FrameworkMethod method,
Object test) |
void |
run(org.junit.runner.notification.RunNotifier notifier) |
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, isIgnored, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
public TimingRunner(Class<?> klass) throws org.junit.runners.model.InitializationError
klass
klass
- the test class to make a block runner fororg.junit.runners.model.InitializationError
- if the test class is malformed.public void run(org.junit.runner.notification.RunNotifier notifier)
run
in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
protected org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method)
methodBlock
in class org.junit.runners.BlockJUnit4ClassRunner
protected org.junit.runners.model.Statement methodInvoker(org.junit.runners.model.FrameworkMethod method, Object test)
methodInvoker
in class org.junit.runners.BlockJUnit4ClassRunner
Copyright © 2003–2019 Atlassian. All rights reserved.