| Index: tests/compiler/dart2js/mock_compiler.dart
|
| diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
|
| index 3f33c7e9d497e0ae58e9a006c170e91d950ebafb..2a9a39fa6a0eb86fed6b6c4ba61bb75c2560a63c 100644
|
| --- a/tests/compiler/dart2js/mock_compiler.dart
|
| +++ b/tests/compiler/dart2js/mock_compiler.dart
|
| @@ -9,6 +9,8 @@ import 'dart:async';
|
| import 'dart:collection';
|
|
|
| import 'package:compiler/compiler.dart' as api;
|
| +import 'package:compiler/src/common/names.dart' show
|
| + Uris;
|
| import 'package:compiler/src/constants/expressions.dart';
|
| import 'package:compiler/src/diagnostics/messages.dart';
|
| import 'package:compiler/src/diagnostics/source_span.dart';
|
| @@ -110,7 +112,7 @@ class MockCompiler extends Compiler {
|
|
|
| clearMessages();
|
|
|
| - registerSource(Compiler.DART_CORE,
|
| + registerSource(Uris.dart_core,
|
| buildLibrarySource(DEFAULT_CORE_LIBRARY, coreSource));
|
| registerSource(PATCH_CORE, DEFAULT_PATCH_CORE_SOURCE);
|
|
|
| @@ -122,7 +124,7 @@ class MockCompiler extends Compiler {
|
| buildLibrarySource(DEFAULT_INTERCEPTORS_LIBRARY));
|
| registerSource(JavaScriptBackend.DART_ISOLATE_HELPER,
|
| buildLibrarySource(DEFAULT_ISOLATE_HELPER_LIBRARY));
|
| - registerSource(Compiler.DART_MIRRORS,
|
| + registerSource(Uris.dart_mirrors,
|
| buildLibrarySource(DEFAULT_MIRRORS_LIBRARY));
|
|
|
| Map<String, String> asyncLibrarySource = <String, String>{};
|
| @@ -130,7 +132,7 @@ class MockCompiler extends Compiler {
|
| if (enableAsyncAwait) {
|
| asyncLibrarySource.addAll(ASYNC_AWAIT_LIBRARY);
|
| }
|
| - registerSource(Compiler.DART_ASYNC,
|
| + registerSource(Uris.dart_async,
|
| buildLibrarySource(asyncLibrarySource));
|
| }
|
|
|
|
|