public class ZeroCodePackageRunner extends org.junit.runners.ParentRunner<ScenarioSpec>
| Modifier and Type | Field and Description |
|---|---|
protected org.junit.runner.Description |
flowDescription |
protected boolean |
isRunSuccess |
protected boolean |
passed |
protected boolean |
testRunCompleted |
| Constructor and Description |
|---|
ZeroCodePackageRunner(java.lang.Class<?> testClass) |
ZeroCodePackageRunner(java.lang.Class<?> testClass,
SmartUtils smartUtils) |
| Modifier and Type | Method and Description |
|---|---|
protected org.junit.runner.Description |
describeChild(ScenarioSpec child)
Returns a
Description for child, which can be assumed to
be an element of the list returned by ParentRunner.getChildren() |
protected java.util.List<ScenarioSpec> |
getChildren()
Returns a list of objects that define the children of this Runner.
|
protected SmartUtils |
getInjectedSmartUtilsClass() |
com.google.inject.Injector |
getInjector() |
boolean |
isPassed() |
boolean |
isRunSuccess() |
boolean |
isTestRunCompleted() |
void |
run(org.junit.runner.notification.RunNotifier notifier) |
protected void |
runChild(ScenarioSpec child,
org.junit.runner.notification.RunNotifier notifier)
Runs the test corresponding to
child, which can be assumed to be
an element of the list returned by ParentRunner.getChildren(). |
void |
setSmartUtils(SmartUtils smartUtils) |
void |
setZeroCodeMultiStepsScenarioRunner(ZeroCodeMultiStepsScenarioRunner zeroCodeMultiStepsScenarioRunner) |
childrenInvoker, classBlock, classRules, collectInitializationErrors, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, isIgnored, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClassesprotected org.junit.runner.Description flowDescription
protected boolean isRunSuccess
protected boolean passed
protected boolean testRunCompleted
public ZeroCodePackageRunner(java.lang.Class<?> testClass)
throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError@Inject
public ZeroCodePackageRunner(java.lang.Class<?> testClass,
SmartUtils smartUtils)
throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorprotected SmartUtils getInjectedSmartUtilsClass()
protected java.util.List<ScenarioSpec> getChildren()
getChildren in class org.junit.runners.ParentRunner<ScenarioSpec>protected org.junit.runner.Description describeChild(ScenarioSpec child)
Description for child, which can be assumed to
be an element of the list returned by ParentRunner.getChildren()describeChild in class org.junit.runners.ParentRunner<ScenarioSpec>child - public void run(org.junit.runner.notification.RunNotifier notifier)
run in class org.junit.runners.ParentRunner<ScenarioSpec>protected void runChild(ScenarioSpec child, org.junit.runner.notification.RunNotifier notifier)
child, which can be assumed to be
an element of the list returned by ParentRunner.getChildren().
Subclasses are responsible for making sure that relevant test events are
reported through notifierrunChild in class org.junit.runners.ParentRunner<ScenarioSpec>child - notifier - public com.google.inject.Injector getInjector()
public void setSmartUtils(SmartUtils smartUtils)
public boolean isRunSuccess()
public boolean isPassed()
public boolean isTestRunCompleted()
public void setZeroCodeMultiStepsScenarioRunner(ZeroCodeMultiStepsScenarioRunner zeroCodeMultiStepsScenarioRunner)
Copyright © 2018. All Rights Reserved.