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 Object
void
filter
(org.junit.runner.manipulation.Filter filter) org.junit.runner.Description
void
order
(org.junit.runner.manipulation.Orderer orderer) void
run
(org.junit.runner.notification.RunNotifier runNotifier) void
setScheduler
(org.junit.runners.model.RunnerScheduler scheduler) void
sort
(org.junit.runner.manipulation.Sorter sorter) int
Methods 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, withPotentialTimeout
Methods 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:
createTest
in classorg.junit.runners.BlockJUnit4ClassRunner
- Throws:
Exception
-
run
public void run(org.junit.runner.notification.RunNotifier runNotifier) - Overrides:
run
in 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:
filter
in interfaceorg.junit.runner.manipulation.Filterable
- Overrides:
filter
in classorg.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
- Throws:
org.junit.runner.manipulation.NoTestsRemainException
-
getDescription
public org.junit.runner.Description getDescription()- Specified by:
getDescription
in interfaceorg.junit.runner.Describable
- Overrides:
getDescription
in classorg.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
sort
public void sort(org.junit.runner.manipulation.Sorter sorter) - Specified by:
sort
in interfaceorg.junit.runner.manipulation.Sortable
- Overrides:
sort
in 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:
order
in interfaceorg.junit.runner.manipulation.Orderable
- Overrides:
order
in 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:
setScheduler
in classorg.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
testCount
public int testCount()- Overrides:
testCount
in classorg.junit.runner.Runner
-