discontinuedPackage electricsql has been discontinued.

MockRegistry class

Implemented types
Annotations
  • @visibleForTesting

Constructors

MockRegistry()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
satellites → Map<DbName, Satellite>
finalinherited
startingPromises → Map<DbName, Future<Satellite>>
finalinherited
stoppingPromises → Map<DbName, Future<void>>
finalinherited

Methods

ensureAlreadyStarted(DbName dbName) → Future<Satellite>
inherited
ensureStarted({required DbName dbName, required DBSchema dbDescription, required DatabaseAdapter adapter, required Migrator migrator, required Notifier notifier, required SocketFactory socketFactory, required HydratedConfig config, SatelliteOverrides? opts}) → Future<Satellite>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setShouldFailToStart(bool shouldFail) → void
startProcess({required DbName dbName, required DBSchema dbDescription, required DatabaseAdapter adapter, required Migrator migrator, required Notifier notifier, required SocketFactory socketFactory, required HydratedConfig config, SatelliteOverrides? overrides}) → Future<Satellite>
stop(DbName dbName, {bool shouldIncludeStarting = true}) → Future<void>
inherited
stopAll({bool shouldIncludeStarting = true}) → Future<void>
inherited
toString() → String
A string representation of this object.
inherited

Operators

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