TestRuntimeState class

Mutable runtime flags and logs for declarative test steps.

Constructors

TestRuntimeState()

Properties

appFrameTimings → List<AppFrameTimingEntry>
final
authUser ↔ Map<String, dynamic>?
getter/setter pair
consoleLogs → List<String>
final
currentStepIndex ↔ int?
Active top-level step index while _executeSteps runs (0-based). Used to attribute API calls and console lines to Step Details.
getter/setter pair
deviceSize ↔ Size?
getter/setter pair
flutterErrors → List<String>
final
hashCode → int
The hash code for this object.
no setterinherited
keychainStepDiffs → List<StorageStepDiff>
final
locale ↔ Locale?
getter/setter pair
networkOffline ↔ bool
getter/setter pair
performanceMarkers → List<PerformanceMarker>
final
permissions → Map<String, String>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
screenArtifacts → Map<String, Map<String, dynamic>>
Map from screen name to its captured artifacts (debugTree, performance markers, etc.)
final
screenshotSheetFrames → List<ScreenshotSheetFrame>
final
secureStorageStepDiffs → List<StorageStepDiff>
final
storageStepDiffs → List<StorageStepDiff>
Public-storage diffs captured at the end of each top-level step.
final
themeMode ↔ String?
getter/setter pair

Methods

addFrameTimings(List<FrameTiming> timings) → void
addScreenshotSheetFrame(ScreenshotSheetFrame frame) → void
clear() → void
formatConsoleLine(String message) → String
Console prefix with ISO timestamp and optional [step=N] tag.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recordPerformanceMarker(PerformanceMarker marker) → void
toString() → String
A string representation of this object.
inherited

Operators

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