TestHost class

Inheritance

Constructors

TestHost(List<BaseService Function()> factories, {Map<String, dynamic> config = const <String, dynamic>{}, List<String> args = const <String>[], bool failWithServices = true})

Properties

failWithServices bool
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isInShutdown bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

apiTest<T extends ApiService>(FutureOr<void> body(RestClient client)) Future<void> Function()
eventTest<T extends EventHubService>(FutureOr<void> body(T hub)) Future<void> Function()
initialize() Future<void>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveService<TService extends BaseService?>() → TService
inherited
runAsService<T>(T delegate()) → T
inherited
shutdown() Future<void>
inherited
test<T extends ApiService>([FutureOr<void> body()?]) Future<void> Function()
toString() String
A string representation of this object.
inherited

Operators

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