AFBaseTestDefinitionContext class
Base test definition wrapper, with access to test data.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- log → Logger?
-
no setter
- registry → AFDefineTestDataContext
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createStateView<
TStateView extends AFFlexibleStateView> ({required dynamic stateView, required AFCreateStateViewDelegate< TStateView> creator}) → TStateView -
currentTime(
) → AFTimeState -
find<
TResult extends Object> (dynamic testDataId) → TResult -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
td<
TData> (dynamic testDataId) → TData - Looks up the test data defined in your test_data.dart file for a particular test data id.
-
td2<
TResult extends Object> (dynamic testDataId) → TResult -
testData<
T extends Object> (dynamic testDataId) → T - Looks up the test data defined in your test_data.dart file for a particular test data id.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited