MatrixStartProbe class final

A function among the files of a MatrixAppTest, in their directory integration_test/, that a check on a device runs once the first screen of the app settled (see MatrixAppTest.startProbe).

Constructors

MatrixStartProbe(String path, String function, {String? answer})
Creates the probe that the function function of the file at path is, which asks the script of CI for the answer if it has one.
const

Properties

answer → String?
The name of what the probe asks of the script of CI that starts the app on a device, once the app runs, or null if it asks nothing: an answer of the script, such as a push message, which only a server with a key can send. It has small letters, digits and underscores, and names the files of the exchange, smf_start_request_<answer> and smf_start_report_<answer> in the temporary directory of the app, and the answer that the script is given, <answer>=<command>.
final
function → String
The name of the top-level function of the file, of the type Future<List<String>> Function(Future<void> Function() settle), such as probeRoutes. The check calls it with a function that waits until the screen settles, and adds the problems that it returns to its own.
final
hashCode → int
The hash code for this object.
no setterinherited
path → String
The path of the Dart file with the function among the files of the tests or those that they generate, in their directory integration_test/, such as integration_test/router_walk/walk.dart.
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
toString() → String
A string representation of this object.
inherited

Operators

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