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

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

Issue 2995643002: Support jsinterop/world_test from .dill (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/jsinterop/world_test.dart
diff --git a/tests/compiler/dart2js/jsinterop/world_test.dart b/tests/compiler/dart2js/jsinterop/world_test.dart
index 0af271e42f0a0e8ed85fc9cf9a7881da7484d646..10f945f88c1808b4e55a5f13f19137149ec9053f 100644
--- a/tests/compiler/dart2js/jsinterop/world_test.dart
+++ b/tests/compiler/dart2js/jsinterop/world_test.dart
@@ -15,11 +15,12 @@ import '../type_test_helper.dart';
void main() {
asyncTest(() async {
- await testClasses();
+ await testClasses(CompileMode.memory);
+ await testClasses(CompileMode.dill);
});
}
-testClasses() async {
+testClasses(CompileMode compileMode) async {
test(String mainSource,
{List<String> directlyInstantiated: const <String>[],
List<String> abstractlyInstantiated: const <String>[],
@@ -77,7 +78,7 @@ newF() => new F(5);
import 'package:js/js.dart';
$mainSource
-""", compileMode: CompileMode.memory);
+""", compileMode: compileMode);
Map<String, ClassEntity> classEnvironment = <String, ClassEntity>{};
ClassEntity registerClass(ClassEntity cls) {

Powered by Google App Engine
This is Rietveld 408576698