DebugCaptureArtifact class final
Queryable form of a DebugCaptureSnapshot for regression tests.
This is intentionally smaller than full replay: it indexes the redacted JSON snapshot so tests can assert on captured inputs, frames, output summaries, accessibility narration, and semantic facts without hand-walking nested maps.
Constructors
-
DebugCaptureArtifact.fromJson(Map<
String, Object?> json) -
factory
- DebugCaptureArtifact.fromSnapshot(DebugCaptureSnapshot snapshot)
-
factory
Properties
- accessibilityActionCount → int
-
no setter
- accessibilityNodeCount → int
-
no setter
- accessibilityPlainText → String?
-
no setter
- accessibilityRedactedValueCount → int
-
no setter
-
accessibilitySummary
→ Map<
String, Object?> -
no setter
- focusedAccessibilityNodeId → String?
-
no setter
- focusedSemanticNodeId → String?
-
no setter
-
frames
→ List<
Map< String, Object?> > -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputs
→ List<
Map< String, Object?> > -
no setter
-
json
→ Map<
String, Object?> -
no setter
-
outputSummaries
→ List<
Map< String, Object?> > -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemaVersion → int
-
no setter
- semanticActionCount → int
-
no setter
- semanticInspectionSnapshot → SemanticInspectionSnapshot?
-
no setter
- semanticNodeCount → int
-
no setter
-
timeMarkers
→ List<
Map< String, Object?> > -
no setter
Methods
-
accessibilityRoleCount(
String role) → int -
hasFrame(
{String? reason, String? dirtySource}) → bool -
hasInput(
{String? kind, String? summary}) → bool -
hasTimeMarker(
{String? source, String? label, bool? fakeTime}) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
outputSummariesFor(
{String? source}) → List< Map< String, Object?> > -
semanticNodes(
{String? role, String? label, Object? value, bool? focused, bool? selected, String? action, Map< String, Object?> stateContains = const <String, Object?>{}}) → Iterable<DebugCaptureSemanticNode> -
semanticRoleCount(
String role) → int -
singleSemanticNode(
{String? role, String? label, Object? value, bool? focused, bool? selected, String? action, Map< String, Object?> stateContains = const <String, Object?>{}}) → DebugCaptureSemanticNode -
timeMarkersFor(
{String? source, String? label}) → List< Map< String, Object?> > -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited