Package com.persequor.saga.componenttest
Class FullFlowExtensionComponentRunner
java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
com.persequor.saga.componenttest.FullFlowExtensionComponentRunner
- All Implemented Interfaces:
org.junit.runner.Describable,org.junit.runner.manipulation.Filterable,org.junit.runner.manipulation.Orderable,org.junit.runner.manipulation.Sortable
public class FullFlowExtensionComponentRunner
extends org.junit.runners.BlockJUnit4ClassRunner
This runner is for modules and solution tests which should run against a Saga without real databases, queues, etc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectvoidfilter(org.junit.runner.manipulation.Filter filter) org.junit.runner.Descriptionvoidorder(org.junit.runner.manipulation.Orderer orderer) voidrun(org.junit.runner.notification.RunNotifier runNotifier) voidsetScheduler(org.junit.runners.model.RunnerScheduler scheduler) voidsort(org.junit.runner.manipulation.Sorter sorter) intMethods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeoutMethods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, classRules, createTestClass, getName, getRunnerAnnotations, getTestClass, runLeaf, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolation
-
Constructor Details
-
FullFlowExtensionComponentRunner
public FullFlowExtensionComponentRunner(Class<?> testClass) throws org.junit.runners.model.InitializationError - Throws:
org.junit.runners.model.InitializationError
-
-
Method Details
-
createTest
- Overrides:
createTestin classorg.junit.runners.BlockJUnit4ClassRunner- Throws:
Exception
-
run
public void run(org.junit.runner.notification.RunNotifier runNotifier) - Overrides:
runin classorg.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
filter
public void filter(org.junit.runner.manipulation.Filter filter) throws org.junit.runner.manipulation.NoTestsRemainException - Specified by:
filterin interfaceorg.junit.runner.manipulation.Filterable- Overrides:
filterin classorg.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>- Throws:
org.junit.runner.manipulation.NoTestsRemainException
-
getDescription
public org.junit.runner.Description getDescription()- Specified by:
getDescriptionin interfaceorg.junit.runner.Describable- Overrides:
getDescriptionin classorg.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
sort
public void sort(org.junit.runner.manipulation.Sorter sorter) - Specified by:
sortin interfaceorg.junit.runner.manipulation.Sortable- Overrides:
sortin classorg.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
order
public void order(org.junit.runner.manipulation.Orderer orderer) throws org.junit.runner.manipulation.InvalidOrderingException - Specified by:
orderin interfaceorg.junit.runner.manipulation.Orderable- Overrides:
orderin classorg.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>- Throws:
org.junit.runner.manipulation.InvalidOrderingException
-
setScheduler
public void setScheduler(org.junit.runners.model.RunnerScheduler scheduler) - Overrides:
setSchedulerin classorg.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
testCount
public int testCount()- Overrides:
testCountin classorg.junit.runner.Runner
-