AFWorkflowStatePrototype class

The information necessary to start a test with a baseline state (determined by a state test) and an initial screen/route.

Inheritance

Constructors

AFWorkflowStatePrototype({required AFPrototypeID id, required AFStateTestID stateTestId, required AFWorkflowStateTestPrototype body, AFID? actualDisplayId})

Properties

actualDisplayId AFID?
final
body AFWorkflowStateTestPrototype
final
displayId AFID
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
hasReusable bool
no setterinherited
hasTests bool
no setterinherited
id AFPrototypeID
finalinherited
isTestDrawerBegin bool
no setterinherited
isTestDrawerEnd bool
no setterinherited
no setteroverride
no setteroverride
regressionTests List<AFScreenTestDescription>
no setteroverride
reusableTests List<AFScreenTestDescription>
no setteroverride
routeParam → dynamic
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenTests AFSingleScreenTests
no setter
sectionIds List<AFScreenTestID>
no setterinherited
singleScreenBody AFSingleScreenPrototypeBody
no setteroverride
smokeTests List<AFScreenTestDescription>
no setteroverride
stateTestId AFStateTestID
final
stateView → dynamic
no setteroverride
testDrawerSide int
finalinherited
timeHandling AFTestTimeHandling
no setteroverride
uiType AFUIType
finalinherited

Methods

createNavigatePush() AFNavigatePushAction
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDrawerReset(AFDispatcher dispatcher) → void
override
onDrawerRun(AFBuildContext<AFFlexibleStateView, AFRouteParam> context, AFScreenTestContextSimulator? prevContext, AFSingleScreenTestState state, AFScreenTestID selectedTestId, Function onEnd) Future<void>
override
openTestDrawer(AFScreenTestID id) → void
override
paramDescriptions(AFScreenTestID id) List<String>
inherited
prepareRun(AFDispatcher dispatcher, AFScreenTestContextSimulator? prevContext, AFScreenTestID idSelected) AFScreenTestContextSimulator
inherited
run(AFScreenTestContext context, {Function? onEnd}) Future<void>
override
startScreen(AFDispatcher dispatcher, BuildContext? flutterContext, AFDefineTestDataContext registry, {AFRouteParam? routeParam, List<Object>? stateView}) → void
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

initializeMultiscreenPrototype(AFDispatcher dispatcher, AFWorkflowStatePrototype test) → void