|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
com.amazonaws.services.simpleworkflow.flow.junit.FlowBlockJUnit4ClassRunner
public class FlowBlockJUnit4ClassRunner
To be used instead of BlockJUnit4ClassRunner
when testing
asynchronous code. Requires WorkflowTest
rule (annotated with @Rule)
to be present in the tested class.
Constructor Summary | |
---|---|
FlowBlockJUnit4ClassRunner(Class<?> klass)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner |
---|
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, methodBlock, methodInvoker, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores |
Methods inherited from class org.junit.runners.ParentRunner |
---|
childrenInvoker, classBlock, classRules, filter, getDescription, getName, getRunnerAnnotations, getTestClass, run, runLeaf, 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 FlowBlockJUnit4ClassRunner(Class<?> klass) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |