DwRepoLocalReadsFixture class abstract

One store under test, plus the three things a test cannot reach through the public contract: which queries the store agreed to keep, what it is holding, and a sign-out landing mid-flight.

Constructors

DwRepoLocalReadsFixture()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
store DwRepoLocalReads
The store being checked. One instance per test — createFixture is called again for each case.
no setter

Methods

dispose() Future<void>
ignoredQueryFor(DwRepoBinding binding) DwRepoQueryKey<Object>?
A query this store will decline to keep, or null when it keeps everything it is offered.
keptQueryFor(DwRepoBinding binding) → ({DwRepoQueryKey<Object> queryKey, DwRepoReadSnapshot snapshot})
A query this store will agree to keep, and the snapshot to offer under it.
keptStorageKeysFor(DwRepoScope scope) Future<List<String>>
Every query key this store is currently holding a snapshot for, under scope.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signOut() Future<void>
Ends the session the current binding belongs to, exactly as signing out does in the application.
toString() String
A string representation of this object.
inherited

Operators

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