DriverTestMessage class Null safety
Message used to communicate between app side tests and driver tests.
Not all integration_tests
use this message. They are only used when app
side tests are sending WebDriverCommands to the driver side.
These messages are used for the handshake since they carry information on the driver side test such as: status pending or tests failed.
Constructors
- DriverTestMessage.complete()
- When driver side successfully completed executing the WebDriverCommand.
- DriverTestMessage.error()
- When tests are failed on the driver side.
- DriverTestMessage.pending()
- When driver side is waiting on WebDriverCommands to be sent from the app side.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
Depending on the values of isPending and isSuccess, returns a string
to represent the DriverTestMessage.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromString(
String status) → DriverTestMessage -
Return a DriverTestMessage depending on
status
.