BonesUIPlatform class
The Bones_UI plugin:
a PlatformPlugin
based on a wrapped BrowserPlatform
instance and a BonesUICompiler.
Constructors
- BonesUIPlatform(BrowserPlatform browserPlatform, BonesUICompiler bonesUICompiler, {bool showUI = false})
Properties
- bonesUICompiler → BonesUICompiler
-
The Bones_UI project compiler.
final
- browserPlatform → BrowserPlatform
-
The wrapped
BrowserPlatform
instance.final - hashCode → int
-
The hash code for this object.
no setterinherited
- headless → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showUI → bool
-
If
true
runs the tests showing the UI in the browser.final
Methods
-
close(
) → Future - Closes this instance, the bonesUICompiler and the wrapped browserPlatform.
-
closeEphemeral(
) → Future -
inherited
-
customizePlatform(
Runtime runtime, ExecutableSettings settings) → void -
Defines user-provided
settings
forruntime
. -
load(
String path, SuitePlatform platform, SuiteConfiguration suiteConfig, Map< String, Object?> message) → Future<RunnerSuite?> -
Loads the runner suite for the test file at
path
usingplatform
, withsuiteConfig
encoding the suite-specific configuration. -
mergePlatformSettings(
ExecutableSettings settings1, ExecutableSettings settings2) → ExecutableSettings -
Merges
settings1
withsettings2
and returns a new settings object that includes the configuration of both. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parsePlatformSettings(
YamlMap settings) → ExecutableSettings -
Parses user-provided
settings
for a custom platform into a plugin-defined format. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
BonesUICompiler bonesUICompiler, {bool showUI = false}) → Future< BonesUIPlatform> - Instantiates a BonesUIPlatform.