AFUnitTestDefinitionContext class

Inheritance

Constructors

AFUnitTestDefinitionContext({required AFUnitTests 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 AFUnitTests
final

Methods

createStateView<TStateView extends AFFlexibleStateView>({required dynamic stateView, required AFCreateStateViewDelegate<TStateView> creator}) → TStateView
inherited
currentTime() AFTimeState
inherited
defineTest(AFBaseTestID id, AFUnitTestBodyExecuteDelegate fnTest) → 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