EnsembleTestArtifactEmitter class

Tracks artifact ids emitted during an integration run for the complete record.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

begin({String? runId}) → void
Emits a run-level begin record. Safe to call more than once.
complete() → void
Emits bounded manifest batches, then a compact complete with count + checksum so hundreds of screenshots never exceed the logcat line limit.
emitArtifact(String relativePath, List<int> bytes, {required String mimeType}) → void
Emits one artifact as start/chunk/end records.
emittedIdsForTest() → List<String>
Test hook: transfer ids assigned since the last begin/ resetForTest.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetForTest() → void
Test hook to reset emitter state between unit tests.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance → EnsembleTestArtifactEmitter
final