Class ScenarioJunitActivator
- java.lang.Object
-
- org.junit.runner.Runner
-
- org.junit.runners.ParentRunner<ScenarioRunnerDTO>
-
- org.drools.scenariosimulation.backend.runner.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_CODEstatic java.lang.StringACTIVATOR_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.DescriptiondescribeChild(ScenarioRunnerDTO child)protected java.util.List<ScenarioRunnerDTO>getChildren()protected booleanisNotSkipFromBuild(org.drools.scenariosimulation.api.model.Settings settings)protected ScenarioRunnerDTOparseFile(java.lang.String path)protected voidrunChild(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
-
-
-
-
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
-
-
Method Detail
-
getChildren
protected java.util.List<ScenarioRunnerDTO> getChildren()
- Specified by:
getChildrenin classorg.junit.runners.ParentRunner<ScenarioRunnerDTO>
-
describeChild
protected org.junit.runner.Description describeChild(ScenarioRunnerDTO child)
- Specified by:
describeChildin classorg.junit.runners.ParentRunner<ScenarioRunnerDTO>
-
runChild
protected void runChild(ScenarioRunnerDTO child, org.junit.runner.notification.RunNotifier notifier)
- Specified by:
runChildin classorg.junit.runners.ParentRunner<ScenarioRunnerDTO>
-
parseFile
protected ScenarioRunnerDTO parseFile(java.lang.String path)
-
isNotSkipFromBuild
protected boolean isNotSkipFromBuild(org.drools.scenariosimulation.api.model.Settings settings)
-
-