| Index: tests/compiler/dart2js/mock_libraries.dart
|
| diff --git a/tests/compiler/dart2js/mock_libraries.dart b/tests/compiler/dart2js/mock_libraries.dart
|
| index 507d12361cc8369fb799588626b567fcd8504b72..ab820a4c2693e03420658f82bcbdeaa14fff688a 100644
|
| --- a/tests/compiler/dart2js/mock_libraries.dart
|
| +++ b/tests/compiler/dart2js/mock_libraries.dart
|
| @@ -209,6 +209,8 @@ const Map<String, String> DEFAULT_JS_HELPER_LIBRARY = const <String, String>{
|
| 'stringTypeCheck': 'stringTypeCheck(x) {}',
|
| 'subtypeCast': 'subtypeCast(object, isField, checks, asField) {}',
|
| 'subtypeOfRuntimeTypeCast': 'subtypeOfRuntimeTypeCast(object, type) {}',
|
| + 'thenHelper':
|
| + 'thenHelper(object, helperCallback, completer, errorCallback) {}',
|
| 'throwAbstractClassInstantiationError':
|
| 'throwAbstractClassInstantiationError(className) {}',
|
| 'throwCyclicInit': 'throwCyclicInit(staticName) {}',
|
| @@ -366,6 +368,8 @@ const Map<String, String> DEFAULT_ASYNC_LIBRARY = const <String, String>{
|
| 'DeferredLibrary': 'class DeferredLibrary {}',
|
| 'Future': 'class Future<T> {}',
|
| 'Stream': 'class Stream<T> {}',
|
| + 'Completer': 'class Completer<T> {}',
|
| + 'StreamIterator': 'class StreamIterator<T> {}',
|
| };
|
|
|
| const Map<String, String> DEFAULT_MIRRORS_LIBRARY = const <String, String>{
|
|
|