Class ScenarioJunitActivator

  • All Implemented Interfaces:
    org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Orderable, org.junit.runner.manipulation.Sortable

    public class ScenarioJunitActivator
    extends org.junit.runners.ParentRunner<ScenarioRunnerDTO>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.function.Function<java.lang.String,​java.lang.String> ACTIVATOR_CLASS_CODE  
      static java.lang.String ACTIVATOR_CLASS_NAME  
    • Constructor Summary

      Constructors 
      Constructor Description
      ScenarioJunitActivator​(java.lang.Class<?> testClass)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.junit.runner.Description describeChild​(ScenarioRunnerDTO child)  
      protected java.util.List<ScenarioRunnerDTO> getChildren()  
      protected boolean isNotSkipFromBuild​(org.drools.scenariosimulation.api.model.Settings settings)  
      protected ScenarioRunnerDTO parseFile​(java.lang.String path)  
      protected void runChild​(ScenarioRunnerDTO child, org.junit.runner.notification.RunNotifier notifier)  
      • Methods inherited from class org.junit.runners.ParentRunner

        childrenInvoker, classBlock, classRules, collectInitializationErrors, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, isIgnored, order, run, 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 Detail

      • ACTIVATOR_CLASS_NAME

        public static final java.lang.String ACTIVATOR_CLASS_NAME
        See Also:
        Constant Field Values
      • ACTIVATOR_CLASS_CODE

        public static final java.util.function.Function<java.lang.String,​java.lang.String> ACTIVATOR_CLASS_CODE
    • Constructor Detail

      • ScenarioJunitActivator

        public ScenarioJunitActivator​(java.lang.Class<?> testClass)
                               throws org.junit.runners.model.InitializationError
        Throws:
        org.junit.runners.model.InitializationError
    • Method Detail

      • describeChild

        protected org.junit.runner.Description describeChild​(ScenarioRunnerDTO child)
        Specified by:
        describeChild in class org.junit.runners.ParentRunner<ScenarioRunnerDTO>
      • runChild

        protected void runChild​(ScenarioRunnerDTO child,
                                org.junit.runner.notification.RunNotifier notifier)
        Specified by:
        runChild in class org.junit.runners.ParentRunner<ScenarioRunnerDTO>
      • isNotSkipFromBuild

        protected boolean isNotSkipFromBuild​(org.drools.scenariosimulation.api.model.Settings settings)