ConformanceHost class final
Opens fresh databases on the engine under test.
Constructors
-
ConformanceHost(Engine engine, Future<
String> freshPath(), {DbOptions options = const DbOptions()}) -
A host for
engine;freshPathanswers a path no database uses yet.
Properties
- engine → Engine
-
The engine under test.
final
-
freshPath
→ Future<
String> Function() -
A path that no database uses yet (a temporary directory, for native
engines).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- options → DbOptions
-
Options of every database opened.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
List< DbTable< tables) → Future<Object?> >Database> -
A fresh database at a new path with
tables. -
reopen(
String path, List< DbTable< tables) → Future<Object?> >Database> -
The database at
path(which may hold data already) withtables. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited