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

Unified Diff: tests/compiler/dart2js/instantiated_classes_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
Index: tests/compiler/dart2js/instantiated_classes_test.dart
diff --git a/tests/compiler/dart2js/instantiated_classes_test.dart b/tests/compiler/dart2js/instantiated_classes_test.dart
index f0b91586fa8df233f5caedbdccd3779c7ec40b3a..1b9d1d0f47f2bed37dd1d9ff2103e4a1a2067f8f 100644
--- a/tests/compiler/dart2js/instantiated_classes_test.dart
+++ b/tests/compiler/dart2js/instantiated_classes_test.dart
@@ -62,7 +62,8 @@ Future test(String source, List<String> directlyInstantiatedClasses,
}
mainSource.write('}');
return TypeEnvironment
- .create(source, mainSource: mainSource.toString(), useMockCompiler: true)
+ .create(source,
+ mainSource: mainSource.toString(), compileMode: CompileMode.mock)
.then((dynamic env) {
LibraryEntity mainLibrary =
env.compiler.frontendStrategy.elementEnvironment.mainLibrary;
« no previous file with comments | « tests/compiler/dart2js/equivalence/id_equivalence_helper.dart ('k') | tests/compiler/dart2js/jsinterop/world_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698