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

Unified Diff: tests/compiler/dart2js/kernel/impact_test.dart

Issue 2668723002: Handle JS-calls in impact_test. (Closed)
Patch Set: dartfmt Created 3 years, 11 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 | « pkg/compiler/lib/src/serialization/equivalence.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/kernel/impact_test.dart
diff --git a/tests/compiler/dart2js/kernel/impact_test.dart b/tests/compiler/dart2js/kernel/impact_test.dart
index 67f4adcf38a034def132ebee2ef73d831ba3e1dd..f8f10fecef81b235ac629ff966bbc3ce34dd0be6 100644
--- a/tests/compiler/dart2js/kernel/impact_test.dart
+++ b/tests/compiler/dart2js/kernel/impact_test.dart
@@ -30,6 +30,7 @@ import '../serialization/test_helper.dart';
const Map<String, String> SOURCE = const <String, String>{
'main.dart': r'''
+import 'dart:_foreign_helper';
import 'helper.dart';
import 'dart:html';
@@ -175,6 +176,7 @@ main() {
testStaticGenericMethod();
testInstanceGenericMethod();
testDynamicPrivateMethodInvoke();
+ testJSCall();
}
testEmpty() {}
@@ -601,6 +603,7 @@ testInstanceGenericMethod() {
}
testDynamicPrivateMethodInvoke([o]) => o._privateMethod();
+testJSCall() => JS('int|bool', '#', null);
''',
'helper.dart': '''
class Class {
« no previous file with comments | « pkg/compiler/lib/src/serialization/equivalence.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698