runner/test_artifacts
library
Functions
-
combineAttemptDiagnosticLogs(List<String> finalAttemptLogs, Iterable<List<String>> logsByAttempt)
→ List<String>
-
Preserves console and API sidecars from every retry while retaining only
the final attempt's other artifacts (such as its screenshot sheet).
-
configureArtifactTransport(ExecutionMode mode)
→ void
-
Selects artifact transport from the execution mode chosen by the entry
point. The compile-time value remains a fallback for standalone helpers.
-
durableArtifactLogs(Iterable<String> logs)
→ Iterable<String>
-
Durable suite/report links kept after transient cleanup.
-
emitEnsembleTestArtifact(String relativePath, List<int> bytes, {required String mimeType})
→ void
-
-
emitEnsembleTestArtifactTransportBegin()
→ void
-
Emits the run-level begin record for device→host transport.
-
emitEnsembleTestArtifactTransportComplete()
→ void
-
Emits the run-level complete record for device→host transport.
-
emitEnsembleTestMachineReport(String jsonReport)
→ void
-
Writes the suite JSON report through device→host transport.
-
ensembleTestArtifactDirectory(String name)
→ Directory
-
-
ensembleTestArtifactDisplayPath(String directoryName, String fileName)
→ String
-
-
ensembleTestArtifactFile(String directoryName, String fileName)
→ File
-
-
isEnsembleTestProtocolLine(String line)
→ bool
-
Runner↔CLI protocol lines printed to stdout (not application console output).
-
isTransientArtifactLog(String log)
→ bool
-
Labels for sidecars folded into the SQLite report payload then deleted.
-
writeEnsembleTestArtifactBytes(String directoryName, String fileName, List<int> bytes, {String mimeType = 'application/octet-stream'})
→ Future<void>
-
Writes an artifact locally in widget mode or transports it to the host in
bounded stdout records when the suite runs on a mobile target.
-
writeEnsembleTestArtifactString(String directoryName, String fileName, String contents, {String mimeType = 'text/plain; charset=utf-8'})
→ Future<void>
-