TestContext<I extends Info, E extends Entry<I> , T extends Store<I, E> > class
abstract
Base class for all the test contexts.
- Implemented types
-
- EntryGenerator<
I, E>
- EntryGenerator<
- Implementers
Constructors
- TestContext(ValueGenerator generator)
- Builds a new TestContext
Properties
- generator → ValueGenerator
-
A value generator
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteStore(
T store) → Future< void> - Deletes a store
-
newEntry(
int seed, {String? key, DateTime? creationTime}) → E -
Creates a new
Entry
with the provided ValueGenerator andseed
inherited -
newStore(
) → Future< T> - Creates a new store
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited