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

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

Issue 2992383002: Support use of dill in TypeEnv tests (Closed)
Patch Set: 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/union_type_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/world_test.dart
diff --git a/tests/compiler/dart2js/world_test.dart b/tests/compiler/dart2js/world_test.dart
index efeed19a660b9bb9e116c4964b0d0b110814d6a7..35020cb1f8584bc3484879a1811a6505cfd8faa4 100644
--- a/tests/compiler/dart2js/world_test.dart
+++ b/tests/compiler/dart2js/world_test.dart
@@ -47,7 +47,7 @@ testClassSets() async {
html.window;
new html.Worker('');
}
- """, useMockCompiler: false);
+ """, compileMode: CompileMode.memory);
ClosedWorld closedWorld = env.closedWorld;
ClassElement Object_ = env.getElement("Object");
@@ -233,7 +233,7 @@ testProperties() async {
new G3();
new H4();
}
- """, useMockCompiler: false);
+ """, compileMode: CompileMode.memory);
ClosedWorld closedWorld = env.closedWorld;
check(String name, {bool hasStrictSubtype, bool hasOnlySubclasses}) {
@@ -310,7 +310,7 @@ testNativeClasses() async {
..getContext(''); // Creates CanvasRenderingContext2D
}
""",
- useMockCompiler: false);
+ compileMode: CompileMode.memory);
ClosedWorld closedWorld = env.closedWorld;
LibraryElement dart_html =
env.compiler.libraryLoader.lookupLibrary(Uris.dart_html);
@@ -532,7 +532,7 @@ testCommonSubclasses() async {
new J();
}
""",
- useMockCompiler: false);
+ compileMode: CompileMode.memory);
ClosedWorld closedWorld = env.closedWorld;
ClassElement A = env.getElement("A");
« no previous file with comments | « tests/compiler/dart2js/union_type_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698