TestHost class

Inheritance

Constructors

TestHost({required List<Component> components, required FutureOr<void> testBody(), Map<String, String>? environmentVariables})

Properties

components → List<Component>
final
configuration → Configuration
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → ServiceHostState
no setterinherited
testBody → FutureOr<void> Function()
final

Methods

buildRoot() → Component
override
findComponent<T>(Find<T> finder, TreeNode? scope) → T
inherited
initialize() → Future<void>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readConfig<T>(Config<T> config, TreeNode scope) → T
inherited
register<T extends Service>(T service) → void
inherited
registerPostInitializationCallback(FutureOr<void> callback()) → void
inherited
shutdown() → Future<void>
inherited
toString() → String
A string representation of this object.
inherited

Operators

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