AFWorkflowTestDefinitionContext class

Inheritance

Constructors

AFWorkflowTestDefinitionContext({required AFWorkflowStateTests tests, required AFDefineTestDataContext testData})

Properties

hashCode int
The hash code for this object.
no setterinherited
log → Logger?
no setterinherited
registry AFDefineTestDataContext
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tests AFWorkflowStateTests
final

Methods

createStateView<TStateView extends AFFlexibleStateView>({required dynamic stateView, required AFCreateStateViewDelegate<TStateView> creator}) → TStateView
inherited
currentTime() AFTimeState
inherited
definePrototype({required AFPrototypeID id, required AFBaseTestID stateTestId}) AFWorkflowStateTestPrototype
defineSmokeTest(AFWorkflowStateTestPrototype prototype, {String? description, AFScreenTestID id = AFUIScreenTestID.smoke, required AFWorkflowTestBodyExecuteDelegate body, String? disabled}) → void
find<TResult extends Object>(dynamic testDataId) → TResult
inherited
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.
inherited
td2<TResult extends Object>(dynamic testDataId) → TResult
inherited
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.
inherited
toString() String
A string representation of this object.
inherited

Operators

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