public class FlowBlockJUnit4ClassRunner
extends org.junit.runners.BlockJUnit4ClassRunner
BlockJUnit4ClassRunner
when testing
asynchronous code. Requires WorkflowTest
rule (annotated with @Rule)
to be present in the tested class.Constructor and Description |
---|
FlowBlockJUnit4ClassRunner(Class<?> klass) |
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) |
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, methodBlock, methodInvoker, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores
public FlowBlockJUnit4ClassRunner(Class<?> klass) 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.junit.runners.BlockJUnit4ClassRunner
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.junit.runners.BlockJUnit4ClassRunner
Copyright © 2014. All rights reserved.