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

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

Issue 293023008: Bring back initPolymer, allow boot.js only if using "polymer_experimental.html". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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: pkg/polymer/test/publish_inherited_properties_test.dart
diff --git a/pkg/polymer/test/publish_inherited_properties_test.dart b/pkg/polymer/test/publish_inherited_properties_test.dart
index 59452663a1828e30d966f731fa5fa0098f41413b..dacd828760bd25da1a90d90bab453b35f81afc88 100644
--- a/pkg/polymer/test/publish_inherited_properties_test.dart
+++ b/pkg/polymer/test/publish_inherited_properties_test.dart
@@ -46,8 +46,7 @@ class XSquid extends XZot {
@published int squid = 7;
}
-@initMethod
-main() {
+main() => initPolymer().run(() {
useHtmlConfiguration();
setUp(() => Polymer.onReady.then((_) {
@@ -64,4 +63,4 @@ main() {
// TODO(sigmund): uncomment, see above
// expect(published('x-squid'), [#Foo, #Bar, #zot, #zap, #baz, #squid]);
});
-}
+});
« no previous file with comments | « pkg/polymer/test/publish_attributes_test.html ('k') | pkg/polymer/test/publish_inherited_properties_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698