AFStateTestContext class abstract

Inheritance
Implementers

Constructors

AFStateTestContext(AFStateTest test, {required bool isTrueTestContext, required AFConceptualStore targetStore})

Properties

afState AFState
no setter
currentSection AFID?
getter/setter pairinherited
currentTime AFTimeState
no setter
customStateId String?
finalinherited
defaultErrors ↔ AFTestErrors
getter/setter pairinherited
dispatcher AFDispatcher
no setter
errors → AFTestErrors
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isTrueTestContext bool
final
log → Logger?
no setterinherited
public AFPublicState
no setter
route AFRouteState
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sectionErrors Map<AFID, AFTestErrors>
finalinherited
store → AFStore
no setter
targetStore AFConceptualStore
final
test AFStateTest
getter/setter pair
testID AFStateTestID
no setter
validate bool
getter/setter pairinherited

Methods

addError(String desc, int depth) → void
inherited
addPassIf({required bool test}) bool
inherited
addWarning(String desc) → void
inherited
createScreenContext<TSPI extends AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>>({required AFScreenID screenId, required AFConnectedUIConfig<AFComponentState, AFFunctionalTheme, AFFlexibleStateView, AFRouteParam, AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>> screenConfig}) AFStateTestScreenContext<TSPI>
disableValidation() → void
inherited
enableValidation() → void
inherited
endSection() → void
inherited
expect(dynamic value, Matcher matcher, {int extraFrames = 0}) → void
inherited
finishAndUpdateStats(AFTestStats stats) → void
indentOutput() → void
inherited
markDebugStopHereWarning() → void
inherited
markDisabled(AFScreenTestBody body) → void
inherited
markDisabledSimple(String disabled) → void
inherited
nextGlobalUniqueId() int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
outdentOutput() → void
inherited
printFailMessages(AFCommandOutput output) int
inherited
printFinishTest(AFID id) → void
inherited
printFinishTestDisabled(AFID id, String disabled) → void
inherited
printPassMessages(AFCommandOutput output, AFTestStats stats, {String? testIdOutput}) → void
inherited
printStartTest(AFID id) → void
inherited
printTestTitle(AFID id) → void
inherited
processQuery(AFAsyncQuery q, AFStore store, AFDispatcher dispatcher) → void
startSection(AFID id, {bool resetSection = false}) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

currentTest AFStateTestContext?
getter/setter pair
simulatedGlobalUniqueId int
getter/setter pair