DwRepoLocalWritesFixture class abstract

One store under test, plus the two things a test cannot reach through the public contract: what the queue holds, and a sign-out landing mid-flight.

Constructors

DwRepoLocalWritesFixture()

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 → DwRepoLocalWrites
The store being checked. One instance per test — createFixture is called again for each case.
no setter

Methods

dispose() → Future<void>
mutationFor(DwRepoBinding binding) → DwRepoMutation
A mutation this store would accept for binding.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queuedFor(DwRepoScope scope) → Future<List<DwRepoMutation>>
Every mutation the store currently holds for scope, queue order.
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