Class ConcordionRunner

java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
org.concordion.integration.junit4.ConcordionRunner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Orderable, org.junit.runner.manipulation.Sortable

public class ConcordionRunner extends org.junit.runners.BlockJUnit4ClassRunner
  • Field Summary

    Fields
  • Constructor Summary

    Constructors
    Constructor
    Description
    ConcordionRunner(Class<?> fixtureClass)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Fixture
    createFixture(Object fixtureObject)
    Protected so superclasses can change the Fixture being returned.
    protected Object
     
    protected org.junit.runner.Description
    describeChild(org.junit.runners.model.FrameworkMethod frameworkMethod)
     
    protected List<org.junit.runners.model.FrameworkMethod>
     
     
    void
    run(org.junit.runner.notification.RunNotifier notifier)
     
    protected void
    runChild(org.junit.runners.model.FrameworkMethod method, org.junit.runner.notification.RunNotifier notifier)
     
    protected void
    Deprecated.

    Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner

    collectInitializationErrors, computeTestMethods, createTest, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, testName, validateConstructor, validateFields, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout

    Methods inherited from class org.junit.runners.ParentRunner

    childrenInvoker, classBlock, classRules, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, order, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolation

    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
  • Field Details

  • Constructor Details

    • ConcordionRunner

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

    • getSpecificationLocator

      protected SpecificationLocator getSpecificationLocator()
    • createTest

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

      protected Fixture createFixture(Object fixtureObject)
      Protected so superclasses can change the Fixture being returned.
      Parameters:
      fixtureObject - fixture instance
      Returns:
      fixture
    • run

      public void run(org.junit.runner.notification.RunNotifier notifier)
      Overrides:
      run in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
    • getChildren

      protected List<org.junit.runners.model.FrameworkMethod> getChildren()
      Overrides:
      getChildren in class org.junit.runners.BlockJUnit4ClassRunner
    • describeChild

      protected org.junit.runner.Description describeChild(org.junit.runners.model.FrameworkMethod frameworkMethod)
      Overrides:
      describeChild in class org.junit.runners.BlockJUnit4ClassRunner
    • runChild

      protected void runChild(org.junit.runners.model.FrameworkMethod method, org.junit.runner.notification.RunNotifier notifier)
      Overrides:
      runChild in class org.junit.runners.BlockJUnit4ClassRunner
    • validateInstanceMethods

      @Deprecated protected void validateInstanceMethods(List<Throwable> errors)
      Deprecated.
      Overrides:
      validateInstanceMethods in class org.junit.runners.BlockJUnit4ClassRunner