AFUnitTestContext class

Inheritance

Constructors

AFUnitTestContext(AFUnitTest test)

Properties

currentSection ↔ AFID?
getter/setter pairinherited
customStateId → String?
finalinherited
defaultErrors ↔ AFTestErrors
getter/setter pairinherited
errors → AFTestErrors
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
log → Logger?
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sectionErrors → Map<AFID, AFTestErrors>
finalinherited
test → AFUnitTest
final
testID → AFBaseTestID
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
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
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
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