public class FlowSpringJUnit4ClassRunner
extends org.springframework.test.context.junit4.SpringJUnit4ClassRunner
SpringJUnit4ClassRunner
when testing
asynchronous code. Requires SpringWorkflowTest
rule (annotated withConstructor 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, withPotentialRepeat
collectInitializationErrors, computeTestMethods, describeChild, getChildren, getTestRules, methodInvoker, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor
public FlowSpringJUnit4ClassRunner(Class<?> clazz) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
protected 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.SpringJUnit4ClassRunner
protected List<org.junit.rules.MethodRule> rules(Object test)
rules
in class org.junit.runners.BlockJUnit4ClassRunner
protected 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.SpringJUnit4ClassRunner
Copyright © 2014. All rights reserved.