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

Unified Diff: tests/html/js_dispatch_property_test_lib.dart

Issue 2360093002: Add test for initialization of the native interceptor dispatch property. (Closed)
Patch Set: Created 4 years, 3 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/html/js_dispatch_property_test_js.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/js_dispatch_property_test_lib.dart
diff --git a/tests/html/js_type_test_lib.dart b/tests/html/js_dispatch_property_test_lib.dart
similarity index 68%
copy from tests/html/js_type_test_lib.dart
copy to tests/html/js_dispatch_property_test_lib.dart
index 6b7113c42edbdc4097826c854eab5e3db9222494..77e371cf389debdb006e2568d6676d2a68fad97b 100644
--- a/tests/html/js_type_test_lib.dart
+++ b/tests/html/js_dispatch_property_test_lib.dart
@@ -3,11 +3,14 @@
// BSD-style license that can be found in the LICENSE file.
@JS()
-library js_type_test_lib;
+library js_dispatch_property_test_lib;
import 'package:js/js.dart';
@JS()
-class Foo {
- external factory Foo();
+external A create();
+
+@JS() @anonymous
+class A {
+ external String foo(String x);
}
« no previous file with comments | « tests/html/js_dispatch_property_test_js.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698