public class ExtendedRuntime
extends cucumber.runtime.Runtime
| Modifier and Type | Field and Description |
|---|---|
private Collection<? extends cucumber.runtime.Backend> |
backends |
private ClassLoader |
classLoader |
private static Object |
DUMMY_ARG |
private List<Throwable> |
errors |
private static byte |
ERRORS |
private cucumber.runtime.Glue |
glue |
private static String[] |
PENDING_EXCEPTIONS |
private cucumber.runtime.RuntimeOptions |
runtimeOptions |
private cucumber.runtime.ScenarioImpl |
scenarioResult |
private boolean |
skipNextStep |
private cucumber.runtime.Stats |
stats |
private cucumber.runtime.StopWatch |
stopWatch |
private cucumber.runtime.UndefinedStepsTracker |
undefinedStepsTracker |
| Constructor and Description |
|---|
ExtendedRuntime(cucumber.runtime.io.ResourceLoader resourceLoaderValue,
cucumber.runtime.ClassFinder classFinder,
ClassLoader classLoaderValue,
cucumber.runtime.RuntimeOptions runtimeOptionsValue) |
ExtendedRuntime(cucumber.runtime.io.ResourceLoader resourceLoaderValue,
ClassLoader classLoaderValue,
Collection<? extends cucumber.runtime.Backend> backendsValue,
cucumber.runtime.RuntimeOptions runtimeOptionsValue) |
ExtendedRuntime(cucumber.runtime.io.ResourceLoader resourceLoaderValue,
ClassLoader classLoaderValue,
Collection<? extends cucumber.runtime.Backend> backendsValue,
cucumber.runtime.RuntimeOptions runtimeOptionsValue,
cucumber.runtime.RuntimeGlue optionalGlueValue) |
ExtendedRuntime(cucumber.runtime.io.ResourceLoader resourceLoaderValue,
ClassLoader classLoaderValue,
Collection<? extends cucumber.runtime.Backend> backendsValue,
cucumber.runtime.RuntimeOptions runtimeOptionsValue,
cucumber.runtime.StopWatch stopWatchValue,
cucumber.runtime.RuntimeGlue optionalGlueValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(Throwable error) |
private void |
addHookToCounterAndResult(gherkin.formatter.model.Result result) |
private void |
addStepToCounterAndResult(gherkin.formatter.model.Result result) |
void |
buildBackendWorlds(gherkin.formatter.Reporter reporter,
Set<gherkin.formatter.model.Tag> tags,
gherkin.formatter.model.Scenario gherkinScenario) |
void |
disposeBackendWorlds(String scenarioDesignation) |
byte |
exitStatus() |
List<Throwable> |
getErrors() |
cucumber.runtime.Glue |
getGlue() |
List<String> |
getSnippets() |
private boolean |
hasErrors() |
private boolean |
hasPendingSteps() |
private boolean |
hasUndefinedOrPendingSteps() |
private boolean |
hasUndefinedOrPendingStepsAndIsStrict() |
private boolean |
hasUndefinedSteps() |
static boolean |
isPending(Throwable t) |
private static Collection<? extends cucumber.runtime.Backend> |
loadBackends(cucumber.runtime.io.ResourceLoader resourceLoader,
cucumber.runtime.ClassFinder classFinder) |
(package private) void |
printStats(PrintStream out) |
void |
printSummary() |
void |
runAfterHooks(gherkin.formatter.Reporter reporter,
Set<gherkin.formatter.model.Tag> tags) |
void |
runBeforeHooks(gherkin.formatter.Reporter reporter,
Set<gherkin.formatter.model.Tag> tags) |
private void |
runHookIfTagsMatch(cucumber.runtime.HookDefinition hook,
gherkin.formatter.Reporter reporter,
Set<gherkin.formatter.model.Tag> tags,
boolean isBefore) |
private void |
runHooks(List<cucumber.runtime.HookDefinition> hooks,
gherkin.formatter.Reporter reporter,
Set<gherkin.formatter.model.Tag> tags,
boolean isBefore) |
void |
runStep(String featurePath,
gherkin.formatter.model.Step step,
gherkin.formatter.Reporter reporter,
gherkin.I18n i18n) |
void |
runUnreportedStep(String featurePath,
gherkin.I18n i18n,
String stepKeyword,
String stepName,
int line,
List<gherkin.formatter.model.DataTableRow> dataTableRows,
gherkin.formatter.model.DocString docString) |
private static final String[] PENDING_EXCEPTIONS
private static final Object DUMMY_ARG
private static final byte ERRORS
private final cucumber.runtime.Stats stats
private final cucumber.runtime.UndefinedStepsTracker undefinedStepsTracker
private final cucumber.runtime.Glue glue
private final cucumber.runtime.RuntimeOptions runtimeOptions
private final Collection<? extends cucumber.runtime.Backend> backends
private final ClassLoader classLoader
private final cucumber.runtime.StopWatch stopWatch
private boolean skipNextStep
private cucumber.runtime.ScenarioImpl scenarioResult
public ExtendedRuntime(cucumber.runtime.io.ResourceLoader resourceLoaderValue,
cucumber.runtime.ClassFinder classFinder,
ClassLoader classLoaderValue,
cucumber.runtime.RuntimeOptions runtimeOptionsValue)
public ExtendedRuntime(cucumber.runtime.io.ResourceLoader resourceLoaderValue,
ClassLoader classLoaderValue,
Collection<? extends cucumber.runtime.Backend> backendsValue,
cucumber.runtime.RuntimeOptions runtimeOptionsValue)
public ExtendedRuntime(cucumber.runtime.io.ResourceLoader resourceLoaderValue,
ClassLoader classLoaderValue,
Collection<? extends cucumber.runtime.Backend> backendsValue,
cucumber.runtime.RuntimeOptions runtimeOptionsValue,
cucumber.runtime.RuntimeGlue optionalGlueValue)
public ExtendedRuntime(cucumber.runtime.io.ResourceLoader resourceLoaderValue,
ClassLoader classLoaderValue,
Collection<? extends cucumber.runtime.Backend> backendsValue,
cucumber.runtime.RuntimeOptions runtimeOptionsValue,
cucumber.runtime.StopWatch stopWatchValue,
cucumber.runtime.RuntimeGlue optionalGlueValue)
private static Collection<? extends cucumber.runtime.Backend> loadBackends(cucumber.runtime.io.ResourceLoader resourceLoader, cucumber.runtime.ClassFinder classFinder)
private void addStepToCounterAndResult(gherkin.formatter.model.Result result)
public void addError(Throwable error)
addError in class cucumber.runtime.Runtimepublic void printSummary()
printSummary in class cucumber.runtime.Runtimevoid printStats(PrintStream out)
printStats in class cucumber.runtime.Runtimepublic void buildBackendWorlds(gherkin.formatter.Reporter reporter,
Set<gherkin.formatter.model.Tag> tags,
gherkin.formatter.model.Scenario gherkinScenario)
buildBackendWorlds in class cucumber.runtime.Runtimepublic void disposeBackendWorlds(String scenarioDesignation)
disposeBackendWorlds in class cucumber.runtime.Runtimepublic byte exitStatus()
exitStatus in class cucumber.runtime.Runtimeprivate boolean hasUndefinedOrPendingStepsAndIsStrict()
private boolean hasUndefinedOrPendingSteps()
private boolean hasUndefinedSteps()
private boolean hasPendingSteps()
private boolean hasErrors()
public List<String> getSnippets()
getSnippets in class cucumber.runtime.Runtimepublic cucumber.runtime.Glue getGlue()
getGlue in class cucumber.runtime.Runtimepublic void runBeforeHooks(gherkin.formatter.Reporter reporter,
Set<gherkin.formatter.model.Tag> tags)
runBeforeHooks in class cucumber.runtime.Runtimepublic void runAfterHooks(gherkin.formatter.Reporter reporter,
Set<gherkin.formatter.model.Tag> tags)
runAfterHooks in class cucumber.runtime.Runtimeprivate void runHooks(List<cucumber.runtime.HookDefinition> hooks, gherkin.formatter.Reporter reporter, Set<gherkin.formatter.model.Tag> tags, boolean isBefore)
private void runHookIfTagsMatch(cucumber.runtime.HookDefinition hook,
gherkin.formatter.Reporter reporter,
Set<gherkin.formatter.model.Tag> tags,
boolean isBefore)
public void runUnreportedStep(String featurePath, gherkin.I18n i18n, String stepKeyword, String stepName, int line, List<gherkin.formatter.model.DataTableRow> dataTableRows, gherkin.formatter.model.DocString docString) throws Throwable
runUnreportedStep in interface cucumber.runtime.UnreportedStepExecutorrunUnreportedStep in class cucumber.runtime.RuntimeThrowablepublic void runStep(String featurePath, gherkin.formatter.model.Step step, gherkin.formatter.Reporter reporter, gherkin.I18n i18n)
runStep in class cucumber.runtime.Runtimepublic static boolean isPending(Throwable t)
private void addHookToCounterAndResult(gherkin.formatter.model.Result result)
Copyright © 2013-2017. All Rights Reserved.