public class FlowSpringJUnit4ClassRunner
extends org.springframework.test.context.junit4.SpringJUnit4ClassRunner
SpringJUnit4ClassRunner when testing
asynchronous code. Requires SpringWorkflowTest rule (annotated with| Constructor and Description |
|---|
FlowSpringJUnit4ClassRunner(Class<?> clazz) |
| Modifier and Type | Method and Description |
|---|---|
protected org.junit.runners.model.Statement |
possiblyExpectingExceptions(org.junit.runners.model.FrameworkMethod method,
Object test,
org.junit.runners.model.Statement next) |
protected List<org.junit.rules.MethodRule> |
rules(Object test) |
protected org.junit.runners.model.Statement |
withPotentialTimeout(org.junit.runners.model.FrameworkMethod method,
Object test,
org.junit.runners.model.Statement next) |
createTest, createTestContextManager, getDefaultContextLoaderClassName, getDescription, getExpectedException, getJUnitTimeout, getSpringTimeout, getTestContextManager, isTestMethodIgnored, methodBlock, run, runChild, withAfterClasses, withAfters, withBeforeClasses, withBefores, withPotentialRepeatcollectInitializationErrors, computeTestMethods, describeChild, getChildren, getTestRules, isIgnored, methodInvoker, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructorpublic FlowSpringJUnit4ClassRunner(Class<?> clazz) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorprotected org.junit.runners.model.Statement withPotentialTimeout(org.junit.runners.model.FrameworkMethod method,
Object test,
org.junit.runners.model.Statement next)
withPotentialTimeout in class org.springframework.test.context.junit4.SpringJUnit4ClassRunnerprotected List<org.junit.rules.MethodRule> rules(Object test)
rules in class org.junit.runners.BlockJUnit4ClassRunnerprotected org.junit.runners.model.Statement possiblyExpectingExceptions(org.junit.runners.model.FrameworkMethod method,
Object test,
org.junit.runners.model.Statement next)
possiblyExpectingExceptions in class org.springframework.test.context.junit4.SpringJUnit4ClassRunnerCopyright © 2016. All rights reserved.