Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: tests/compiler/dart2js/reexport_handled_test.dart

Issue 339563002: Remove scanBuiltinLibraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/compiler/dart2js/reexport_handled_test.dart
diff --git a/tests/compiler/dart2js/reexport_handled_test.dart b/tests/compiler/dart2js/reexport_handled_test.dart
index 8e5a61df12ac43d2ab4bf21b4a86190e29505ebd..2679b30214f622f1fa6d7c874d557aedbb354db3 100644
--- a/tests/compiler/dart2js/reexport_handled_test.dart
+++ b/tests/compiler/dart2js/reexport_handled_test.dart
@@ -24,13 +24,12 @@ export 'exporting.dart';
''';
void main() {
- var compiler;
+ MockCompiler compiler;
asyncTest(() => MockCompiler.create((MockCompiler c) {
compiler = c;
compiler.registerSource(exportingLibraryUri, EXPORTING_LIBRARY_SOURCE);
compiler.registerSource(reexportingLibraryUri, REEXPORTING_LIBRARY_SOURCE);
- return compiler.libraryLoader.loadLibrary(
- exportingLibraryUri, null, exportingLibraryUri);
+ return compiler.libraryLoader.loadLibrary(exportingLibraryUri);
}).then((exportingLibrary) {
Expect.isTrue(exportingLibrary.exportsHandled);
var foo = findInExports(exportingLibrary, 'foo');
@@ -38,8 +37,7 @@ void main() {
Expect.isTrue(foo.isField);
// Load reexporting library when exports are handled on the exporting library.
- return compiler.libraryLoader.loadLibrary(
- reexportingLibraryUri, null, reexportingLibraryUri);
+ return compiler.libraryLoader.loadLibrary(reexportingLibraryUri);
}).then((reexportingLibrary) {
var foo = findInExports(reexportingLibrary, 'foo');
Expect.isNotNull(foo);

Powered by Google App Engine
This is Rietveld 408576698