OguretsState class
Constructors
- OguretsState(ResultBuffer resultBuffer)
Properties
-
afterScenarioHooks
↔ List<
HookFunc> -
getter/setter pair
-
afterStepGlobalHooks
↔ List<
HookFunc> -
getter/setter pair
-
beforeScenarioHooks
↔ List<
HookFunc> -
these are not named, but are global and always run
getter/setter pair
-
beforeStepGlobalHooks
↔ List<
HookFunc> -
these are not named, but are global and always run
getter/setter pair
-
existingInstances
↔ Map<
Type, InstanceMirror> -
getter/setter pair
- failOnMissingSteps ↔ bool
-
getter/setter pair
- fmt ↔ Formatter?
-
getter/setter pair
-
formatters
↔ List<
Formatter> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
namedAfterStepHooks
↔ Map<
String?, List< HookFunc> > -
getter/setter pair
-
namedAfterTagHooks
↔ Map<
String?, List< HookFunc> > -
getter/setter pair
-
namedBeforeStepHooks
↔ Map<
String?, List< HookFunc> > -
getter/setter pair
-
namedBeforeTagHooks
↔ Map<
String?, List< HookFunc> > -
getter/setter pair
-
negativeTags
↔ List<
String> -
getter/setter pair
- parallelRun ↔ bool
-
getter/setter pair
- resultBuffer → ResultBuffer
-
final
-
runTags
↔ List<
String> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scenarioToRun ↔ String?
-
getter/setter pair
-
stepRunners
↔ Map<
RegExp, StepFunc> -
getter/setter pair
-
steps
↔ List<
Type> -
getter/setter pair
Methods
-
build(
) → Future< void> -
executeRunHooks(
Type hookType) → Future -
executeStep(
ScenarioStatus scenarioStatus, OguretsScenarioSession scenarioSession, Map namedParams, MethodMirror mm, List params, ObjectMirror instance, StepStatus stepStatus) → Future -
findHooks(
Type hookType, Map< String?, List< sortedTagRunners, List<HookFunc> >HookFunc> sortedRunners) → Future<OguretsState> -
invokeStep(
ObjectMirror instance, MethodMirror mm, List params, Map< Symbol, dynamic> convertedNamedParams) → Future -
negativeTagsMatch(
List< String?> ? expectedTags) → bool -
Do any of the negativeTags match one of
expectedTags
or @ignore? IfexpectedTags
is empty, nothing matches. If there are no negativeTags, return false as well -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
runAfterHooks(
ScenarioStatus scenarioStatus, OguretsScenarioSession scenarioSession) → Future< void> -
runBeforeHooks(
ScenarioStatus scenarioStatus, OguretsScenarioSession scenarioSession) → Future< void> -
runHookList(
ScenarioStatus scenarioStatus, OguretsScenarioSession scenarioSession, List< HookFunc> funcList) → Future<void> -
runScenarioTags(
ScenarioStatus scenarioStatus, OguretsScenarioSession scenarioSession, Map< String?, List< tagRunners) → Future<HookFunc> >void> -
Do any of the runTags match one of
expectedTags
? If runTags is empty, anything matches. If there are runTags but noexpectedTags
, don't match. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited