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

Unified Diff: packages/polymer/test/js_custom_event_test.dart

Issue 2312183003: Removed Polymer from Observatory deps (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 | « packages/polymer/test/instance_attrs_test.html ('k') | packages/polymer/test/js_custom_event_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/polymer/test/js_custom_event_test.dart
diff --git a/packages/polymer/test/js_custom_event_test.dart b/packages/polymer/test/js_custom_event_test.dart
deleted file mode 100644
index 61a1b1d493edc472aa138d781115342c3285a9dc..0000000000000000000000000000000000000000
--- a/packages/polymer/test/js_custom_event_test.dart
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-library polymer.test.web.events_test;
-
-import 'dart:html';
-import 'dart:js';
-import 'package:polymer/polymer.dart';
-import 'package:unittest/html_config.dart';
-import 'package:unittest/unittest.dart';
-
-@CustomTag('x-test')
-class XTest extends PolymerElement {
- bool called = false;
- XTest.created() : super.created();
-
- void myEventHandler(e, detail, t) {
- called = true;
- expect(detail['value'], 42);
- }
-}
-
-main() => initPolymer().then((zone) => zone.run(() {
- useHtmlConfiguration();
- setUp(() => Polymer.onReady);
-
- test('detail on JS custom events are proxied', () {
- var element = querySelector('x-test');
- expect(element.called, isFalse);
- context.callMethod('fireEvent');
- expect(element.called, isTrue);
- });
-}));
« no previous file with comments | « packages/polymer/test/instance_attrs_test.html ('k') | packages/polymer/test/js_custom_event_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698