Every case of the suite.
// In the tests of an engine:
final host = ConformanceHost(MyEngine(), () async => freshTempPath());
for (final ConformanceCase(:group, :name, :run) in Conformance.cases) {
test('$group: $name', () => run(host));
}
Why it is part of the package: it is the executable form of
PROTOCOL.md. flutter_local_db and dart_db run it against their native
engines, db_dsl against MemoryEngine, and a third-party translator can
run it to prove it speaks the protocol.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
cases
→ List<
ConformanceCase> -
All cases, grouped by area.
no setter