ReaderWriterTesting class abstract interface

Access to TestReaderWriter state for testing.

Properties

assets Iterable<AssetId>
All the assets that exist on the TestReaderWriter in-memory filesystem.
no setter
assetsRead Iterable<AssetId>
The assets that have been read via the TestReaderWriter's non-test APIs.
no setter
assetsWritten Iterable<AssetId>
The assets that have been written via the TestReaderWriter's non-test APIs.
no setter
hashCode int
The hash code for this object.
no setterinherited
inputsTracked Iterable<AssetId>
The assets that have been recorded as inputs of the build.
no setter
resolverEntrypointsTracked Iterable<AssetId>
The assets that the build resolved using the analyzer.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(AssetId id) → void
Deletes id from the TestReaderWriter in-memory filesystem.
exists(AssetId id) bool
Whether id exists on the TestReaderWriter in-memory filesystem.
inputsTrackedFor({AssetId? primaryInput, String? builderLabel}) Iterable<AssetId>
The assets that have been recorded as inputs of the build, filtered to build steps for primaryInput and/or with builderLabel.
loadIsolateSources() Future<void>
Loads all lib files visible to the current isolate into memory.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readBytes(AssetId id) Uint8List
Reads id from the TestReaderWriter in-memory filesystem.
readString(AssetId id) String
Reads id from the TestReaderWriter in-memory filesystem.
resolverEntrypointsTrackedFor({AssetId? primaryInput, String? builderLabel}) Iterable<AssetId>
The assets that have been resolved using the analyzer, filtered to build steps for primaryInput and/or with builderLabel.
toString() String
A string representation of this object.
inherited
writeBytes(AssetId id, List<int> contents) → void
Writes id with contents to the TestReaderWriter in-memory filesystem.
writeString(AssetId id, String contents) → void
Writes id with contents to the TestReaderWriter in-memory filesystem.

Operators

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