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

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

Issue 3008793002: Use the entity model for dump_info. (Closed)
Patch Set: use codegen enqueuer Created 3 years, 4 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
« no previous file with comments | « tests/compiler/dart2js/deferred_mirrors_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/deferred_not_in_main_test.dart
diff --git a/tests/compiler/dart2js/deferred_not_in_main_test.dart b/tests/compiler/dart2js/deferred_not_in_main_test.dart
index 428fb64515c25b9df5a65175f21cb357f5a6d52a..39afd71576505f2838df6a5b82a1405112bb56f4 100644
--- a/tests/compiler/dart2js/deferred_not_in_main_test.dart
+++ b/tests/compiler/dart2js/deferred_not_in_main_test.dart
@@ -25,7 +25,7 @@ void deferredTest1() {
return compiler.libraryLoader.lookupLibrary(Uri.parse(name));
}
- var outputUnitForElement = compiler.deferredLoadTask.outputUnitForElement;
+ var outputUnitForEntity = compiler.deferredLoadTask.outputUnitForEntity;
var mainOutputUnit = compiler.deferredLoadTask.mainOutputUnit;
dynamic lib1 = lookupLibrary("memory:lib1.dart");
@@ -33,7 +33,7 @@ void deferredTest1() {
lib1.find("foo1");
var foo2 = lib2.find("foo2");
- Expect.notEquals(mainOutputUnit, outputUnitForElement(foo2));
+ Expect.notEquals(mainOutputUnit, outputUnitForEntity(foo2));
});
}
@@ -46,13 +46,13 @@ void deferredTest2() {
return compiler.libraryLoader.lookupLibrary(Uri.parse(name));
}
- var outputUnitForElement = compiler.deferredLoadTask.outputUnitForElement;
+ var outputUnitForEntity = compiler.deferredLoadTask.outputUnitForEntity;
var mainOutputUnit = compiler.deferredLoadTask.mainOutputUnit;
dynamic shared = lookupLibrary("memory:shared.dart");
var a = shared.find("A");
- Expect.equals(mainOutputUnit, outputUnitForElement(a));
+ Expect.equals(mainOutputUnit, outputUnitForEntity(a));
});
}
« no previous file with comments | « tests/compiler/dart2js/deferred_mirrors_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698