DriverTestHarness class abstract

What a driver provides so testDriverConformance can run the shared behavioral suite against it.

Before every test the suite calls open, derives the fixture tables from its own schemas and creates them through createDdlGenerator's generator, after every test it calls close. Each test therefore sees a fresh pair of tables produced by the driver's own DDL.

Constructors

DriverTestHarness()
What a driver provides so testDriverConformance can run the shared behavioral suite against it.
const

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

close(RaindropDelegate delegate) FutureOr<void>
Releases whatever open acquired.
createDdlGenerator() → DdlGenerator
Creates the driver's DdlGenerator.
isAvailable() FutureOr<bool>
Whether the database this harness drives is reachable.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open() FutureOr<RaindropDelegate>
Opens a fresh delegate to the database.
toString() String
A string representation of this object.
inherited

Operators

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