public class ExtendedFeatureRunner
extends cucumber.runtime.junit.FeatureRunner
| Modifier and Type | Field and Description |
|---|---|
private List<org.junit.runners.ParentRunner> |
children |
private cucumber.runtime.model.CucumberFeature |
cucumberFeature |
private int |
failedAttempts |
private cucumber.runtime.junit.JUnitReporter |
jUnitReporter |
private int |
retryCount |
private Method[] |
retryMethods |
private cucumber.runtime.Runtime |
runtime |
private int |
scenarioCount |
| Constructor and Description |
|---|
ExtendedFeatureRunner(cucumber.runtime.model.CucumberFeature cucumberFeatureValue,
cucumber.runtime.Runtime runtimeValue,
cucumber.runtime.junit.JUnitReporter jUnitReporterValue,
int retryCountValue,
Method[] retryMethodsValue) |
| Modifier and Type | Method and Description |
|---|---|
private void |
buildFeatureElementRunners() |
protected org.junit.runner.Description |
describeChild(org.junit.runners.ParentRunner child) |
protected List<org.junit.runners.ParentRunner> |
getChildren() |
private cucumber.runtime.model.CucumberScenario |
getCurrentScenario() |
int |
getFailedAttempts() |
int |
getRetryCount() |
cucumber.runtime.Runtime |
getRuntime() |
int |
getScenarioCount() |
private boolean |
isRetryApplicable(Throwable e) |
void |
retry(org.junit.runner.notification.RunNotifier notifier,
org.junit.runners.ParentRunner child,
Throwable currentThrowable) |
protected void |
runChild(org.junit.runners.ParentRunner child,
org.junit.runner.notification.RunNotifier notifier) |
void |
setFailedAttempts(int failedAttemptsValue) |
void |
setScenarioCount(int scenarioCountValue) |
private final List<org.junit.runners.ParentRunner> children
private int retryCount
private Method[] retryMethods
private int failedAttempts
private int scenarioCount
private cucumber.runtime.Runtime runtime
private cucumber.runtime.model.CucumberFeature cucumberFeature
private cucumber.runtime.junit.JUnitReporter jUnitReporter
public ExtendedFeatureRunner(cucumber.runtime.model.CucumberFeature cucumberFeatureValue,
cucumber.runtime.Runtime runtimeValue,
cucumber.runtime.junit.JUnitReporter jUnitReporterValue,
int retryCountValue,
Method[] retryMethodsValue)
throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorprivate void buildFeatureElementRunners()
private boolean isRetryApplicable(Throwable e)
public final cucumber.runtime.Runtime getRuntime()
protected void runChild(org.junit.runners.ParentRunner child,
org.junit.runner.notification.RunNotifier notifier)
runChild in class cucumber.runtime.junit.FeatureRunnerprivate cucumber.runtime.model.CucumberScenario getCurrentScenario()
public void retry(org.junit.runner.notification.RunNotifier notifier,
org.junit.runners.ParentRunner child,
Throwable currentThrowable)
protected List<org.junit.runners.ParentRunner> getChildren()
getChildren in class cucumber.runtime.junit.FeatureRunnerprotected org.junit.runner.Description describeChild(org.junit.runners.ParentRunner child)
describeChild in class cucumber.runtime.junit.FeatureRunnerpublic int getRetryCount()
public int getFailedAttempts()
public void setFailedAttempts(int failedAttemptsValue)
public int getScenarioCount()
public void setScenarioCount(int scenarioCountValue)
Copyright © 2013-2017. All Rights Reserved.