AFSingleScreenTests<TState> class
This class is used to create canned versions of screens and widget populated with specific data for testing and prototyping purposes.
Constructors
Properties
-
all
→ List<
AFSingleScreenPrototype> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
reusable
→ Map<
AFScreenTestID, AFSingleScreenReusableBody> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addPassIf(
{required bool test}) → bool -
addPrototype(
{required AFPrototypeID id, required dynamic stateView, required AFTestTimeHandling timeHandling}) → AFSingleScreenPrototypeBody -
Add a prototype of a particular screen with the specified
stateViewand an initial route parameter fromnavigate. -
defineReusableTest(
{required AFScreenTestID id, required AFSingleScreenPrototypeBody prototype, required AFReusableScreenTestBodyExecuteDelegate body, required List< Object?> params}) → void -
findApplicator(
String actionType, Element elem) → AFApplyWidgetAction? -
findById(
AFBaseTestID id) → AFSingleScreenPrototype? -
findByTokens(
List< String> tokens, List<AFScreenPrototype> results) → void -
findData(
dynamic id) → dynamic -
findExtractor(
String actionType, Element elem) → AFExtractWidgetAction? -
findReusable(
AFScreenTestID id) → AFSingleScreenReusableBody? -
findScroller(
Element elem) → AFScrollerAction? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerData(
dynamic id, dynamic data) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
matchesTokens(
AFBaseTestID id, List< String> tokens) → bool