public class ActiveMQTestRunner extends BlockJUnit4ClassRunner
| Constructor and Description |
|---|
ActiveMQTestRunner(Class<?> klass) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
getOriginalTimeout(org.junit.runners.model.FrameworkMethod frameworkMethod)
|
protected org.junit.runners.model.Statement |
methodBlock(org.junit.runners.model.FrameworkMethod method) |
protected org.junit.runners.model.Statement |
withPotentialRepeat(org.junit.runners.model.FrameworkMethod frameworkMethod,
org.junit.runners.model.Statement next)
Check for the presence of a
Repeat annotation and return a RepeatStatement
to handle executing the test repeated or the original value if not repeating. |
protected org.junit.runners.model.Statement |
withPotentialTimeout(org.junit.runners.model.FrameworkMethod frameworkMethod,
Object testInstance,
org.junit.runners.model.Statement next)
Perform the same logic as
BlockJUnit4ClassRunner.withPotentialTimeout(FrameworkMethod, Object, Statement)
but with additional support for changing the coded timeout with an extended value. |
collectInitializationErrors, computeTestMethods, createTest, createTest, describeChild, getChildren, getTestRules, isIgnored, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBeforeschildrenInvoker, classBlock, classRules, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, order, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolationpublic ActiveMQTestRunner(Class<?> klass) throws org.junit.runners.model.InitializationError
protected org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method)
methodBlock in class BlockJUnit4ClassRunnerprotected org.junit.runners.model.Statement withPotentialTimeout(org.junit.runners.model.FrameworkMethod frameworkMethod, Object testInstance, org.junit.runners.model.Statement next)
BlockJUnit4ClassRunner.withPotentialTimeout(FrameworkMethod, Object, Statement)
but with additional support for changing the coded timeout with an extended value.withPotentialTimeout in class BlockJUnit4ClassRunnerFailOnTimeout, or the supplied Statement as appropriate.protected org.junit.runners.model.Statement withPotentialRepeat(org.junit.runners.model.FrameworkMethod frameworkMethod, org.junit.runners.model.Statement next)
Repeat annotation and return a RepeatStatement
to handle executing the test repeated or the original value if not repeating.RepeatStatement, or the supplied Statement as appropriate.protected long getOriginalTimeout(org.junit.runners.model.FrameworkMethod frameworkMethod)
0 if none was specifiedCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.