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

Unified Diff: pkg/polymer/test/unbind_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
« no previous file with comments | « pkg/polymer/test/template_distribute_dynamic_test.html ('k') | pkg/polymer/test/unbind_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/unbind_test.dart
diff --git a/pkg/polymer/test/unbind_test.dart b/pkg/polymer/test/unbind_test.dart
index 3ab18d6f27dda4fe0a24dabc0229c53e2e313c9e..8bf725666e47d1fc86e88ed80355dd4958302ec7 100644
--- a/pkg/polymer/test/unbind_test.dart
+++ b/pkg/polymer/test/unbind_test.dart
@@ -39,14 +39,13 @@ class XTest extends PolymerElement {
bool get isBarValid => validBar == bar;
}
-@initMethod
-main() {
+main() => initPolymer().run(() {
useHtmlConfiguration();
setUp(() => Polymer.onReady);
test('unbind', unbindTests);
-}
+});
Future testAsync(List<Function> tests, int delayMs, [List args]) {
if (tests.length == 0) return new Future.value();
« no previous file with comments | « pkg/polymer/test/template_distribute_dynamic_test.html ('k') | pkg/polymer/test/unbind_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698