AFSingleScreenPrototypeBody class

Constructors

AFSingleScreenPrototypeBody(AFPrototypeID? testId, {AFCreateScreenIDDelegate? screenIdCreator})
AFSingleScreenPrototypeBody.createReusable(AFScreenTestID id, {String? disabled, required List<Object?> params, String? description, required AFReusableScreenTestBodyExecuteDelegate body})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
hasReusable bool
no setter
regressionTests List<AFScreenTestBody>
final
reusableTests List<AFScreenTestBody>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenIdCreator AFCreateScreenIDDelegate?
final
smokeTests List<AFScreenTestBody>
final
testId AFPrototypeID?
final

Methods

addReusable(AFScreenTestBody body) → void
addSmokeTest(AFScreenTestBody body) → void
defineSmokeTest({AFScreenTestID id = AFUIScreenTestID.smoke, required AFScreenTestBodyExecuteDelegate body, String? description, String? disabled}) → void
executeReusable(AFSingleScreenTests tests, AFScreenTestID bodyId, {String? description, String? disabled, required List<Object?> params}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openTestDrawer(AFScreenTestID id) → void
run(AFScreenTestExecute context, {List<Object?>? params, Function? onEnd}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

findScaffoldState(Element elem, {required bool underScaffold}) ScaffoldState?