DriverTestMessage class

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

hashCode int
The hash code for this object.
no setterinherited
isPending bool
Is the driver waiting for a command.
no setter
isSuccess bool
Has the command completed successfully by the driver.
no setter
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
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.