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

Unified Diff: pkg/polymer/test/event_path_test.dart

Issue 219943003: Reenable event path test (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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/pkg.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/event_path_test.dart
diff --git a/pkg/polymer/test/event_path_test.dart b/pkg/polymer/test/event_path_test.dart
index 86978eb7b991ba512c4335b164071225a6593633..121b346788535065ad34f5db76971f74ebd24501 100644
--- a/pkg/polymer/test/event_path_test.dart
+++ b/pkg/polymer/test/event_path_test.dart
@@ -9,27 +9,31 @@ import 'package:polymer/polymer.dart';
import 'package:unittest/html_config.dart';
import 'package:unittest/unittest.dart';
-@CustomTag("x-selector")
class XSelector extends PolymerElement {
XSelector.created() : super.created();
}
-@CustomTag("x-overlay")
class XOverlay extends PolymerElement {
XOverlay.created() : super.created();
}
-@CustomTag("x-menu")
class XMenu extends PolymerElement {
XMenu.created() : super.created();
}
-@CustomTag("x-menu-button")
class XMenuButton extends PolymerElement {
XMenuButton.created() : super.created();
}
main() {
+ // TODO(sigmund): use @CustomTag instead of Polymer.regsiter. A bug is making
+ // this code sensitive to the order in which we register elements (e.g. if
+ // x-menu is registered before x-selector). See dartbug.com/17926.
+ Polymer.register('x-selector', XSelector);
+ Polymer.register('x-overlay', XOverlay);
+ Polymer.register('x-menu', XMenu);
+ Polymer.register('x-menu-button', XMenuButton);
+
initPolymer();
useHtmlConfiguration();
« no previous file with comments | « pkg/pkg.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698