SuitePlatform class

The platform on which a test suite is loaded.

Constructors

SuitePlatform(Runtime runtime, { OperatingSystem os, bool inGoogle: false })
Creates a new platform with the given runtime and os, which defaults to OperatingSystem.none. [...]
SuitePlatform.deserialize(Object serialized)
Converts a JSON-safe representation generated by serialize back into a SuitePlatform.
factory

Properties

inGoogle bool
Whether we're running on Google-internal infrastructure.
final
os → OperatingSystem
The operating system on which the suite is running. [...]
final
runtime Runtime
The runtime that hosts the suite.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

serialize() Object
Converts this into a JSON-safe object that can be converted back to a SuitePlatform using new SuitePlatform.deserialize.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited