TestHost class
Methods
-
apiTest<T extends ApiService>(String name, FutureOr<void> body(RestClient client), {Timeout? timeout, Object? tags, Map<String, dynamic>? onPlatform, int? retry, Object? skip, String? testOn})
→ void
-
Wrapper for defining api test bodies.
-
declare(void scaffold(TestHost host), {bool useCommonHost = false})
→ void
-
-
getIsolatedHostConfiguration()
→ IsolatedHostConfiguration
-
inherited
-
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
-
setUp()
→ Future<void>
-
-
shutdown()
→ Future<void>
-
inherited
-
tearDown()
→ Future<void>
-
-
test<T extends ApiService>(String name, FutureOr<void> body(), {Timeout? timeout, Object? tags, Map<String, dynamic>? onPlatform, int? retry, Object? skip, String? testOn})
→ void
-
Wrapper for defining test bodies.
-
toString()
→ String
-
A string representation of this object.
inherited