Class FullFlowExtensionIntegrationRunner

java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
com.persequor.saga.componenttest.FullFlowExtensionIntegrationRunner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Orderable, org.junit.runner.manipulation.Sortable

public class FullFlowExtensionIntegrationRunner extends org.junit.runners.BlockJUnit4ClassRunner
This runner is for modules and solution tests which should run against a Saga with real databases, queues, etc.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FullFlowExtensionIntegrationRunner

      public FullFlowExtensionIntegrationRunner(Class<?> testClass) throws org.junit.runners.model.InitializationError
      Throws:
      org.junit.runners.model.InitializationError
  • Method Details

    • createTest

      protected Object createTest() throws Exception
      Overrides:
      createTest in class org.junit.runners.BlockJUnit4ClassRunner
      Throws:
      Exception
    • run

      public void run(org.junit.runner.notification.RunNotifier runNotifier)
      Overrides:
      run in class org.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 interface org.junit.runner.manipulation.Filterable
      Overrides:
      filter in class org.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 interface org.junit.runner.Describable
      Overrides:
      getDescription in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
    • sort

      public void sort(org.junit.runner.manipulation.Sorter sorter)
      Specified by:
      sort in interface org.junit.runner.manipulation.Sortable
      Overrides:
      sort in class org.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 interface org.junit.runner.manipulation.Orderable
      Overrides:
      order in class org.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 class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
    • testCount

      public int testCount()
      Overrides:
      testCount in class org.junit.runner.Runner