What a scenario does with the client under test (Design note 7).
The headless implementation runs over SyncEngine (test/scenarios/); M4-18 implements
it over the app. Notices use the forms removed:<kind>:<id>, resynced:<reason> and
signed_out.
Properties
Methods
-
cursor(
) → Future< int?> - The stored cursor, or null.
-
focusRun(
String runId, String threadId) → Future< void> -
Focuses the live box of
runIdinthreadId. -
focusThread(
String threadId) → Future< void> -
Shows
threadIdon screen (gateway focus). -
goOffline(
) → Future< void> - Loses the network: the gateway connection ends and nothing is sent until goOnline.
-
goOnline(
) → Future< void> - The network is back; the client reconnects.
-
holdsChannel(
String channelId) → Future< bool> -
Whether the local database holds the channel
channelId. -
messages(
String threadId) → Future< List< ScenarioMessage> > -
The messages of
threadIdin the local database, inthread_seqorder. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
outbox(
) → Future< List< ScenarioOutboxEntry> > - The outbox entries that are not confirmed.
-
runDocument(
String runId) → Map< String, Object?> ? - The run document the live box shows now, or null.
-
runState(
String runId) → Future< String?> -
The state of
runIdin the local run summaries, or null. -
send(
String threadId, String text, {List< String> mentionIds}) → Future<String> -
Puts a message with
textforthreadIdinto the outbox (mentioningmentionIds) and returns itsclient_msg_id. -
start(
) → Future< void> - Signs in as Alex of the standard world and connects; completes when the connection is live.
-
stop(
) → Future< void> - Disconnects and releases everything.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited