|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.junit.runner.Runner org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod> org.junit.runners.BlockJUnit4ClassRunner com.atlassian.confluence.util.test.timing.TimingRunner
public class TimingRunner
Block Runner that ensures we're generating basic timing logging as we run.
Constructor Summary | |
---|---|
TimingRunner(java.lang.Class<?> klass)
Creates a BlockJUnit4ClassRunner to run klass |
Method Summary | |
---|---|
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,
java.lang.Object test)
|
void |
run(org.junit.runner.notification.RunNotifier notifier)
|
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner |
---|
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateInstanceMethods, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout |
Methods inherited from class org.junit.runners.ParentRunner |
---|
childrenInvoker, classBlock, filter, getDescription, getName, getTestClass, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses |
Methods inherited from class org.junit.runner.Runner |
---|
testCount |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimingRunner(java.lang.Class<?> klass) throws org.junit.runners.model.InitializationError
klass
klass
- the test class to make a block runner for
org.junit.runners.model.InitializationError
- if the test class is malformed.Method Detail |
---|
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, java.lang.Object test)
methodInvoker
in class org.junit.runners.BlockJUnit4ClassRunner
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |