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

Unified Diff: pkg/polymer/example/component/news/test/news_index_test.dart

Issue 27903006: Improves how to initialize polymer apps and fixes polymer build and linter to (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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/example/component/news/test/news_index_test.dart
diff --git a/pkg/polymer/example/component/news/test/news_index_test.dart b/pkg/polymer/example/component/news/test/news_index_test.dart
index e705c99b726b1875aa72655c91a5fe99926949b5..77713e03f1e13374b7f0137673580e76fd880de6 100644
--- a/pkg/polymer/example/component/news/test/news_index_test.dart
+++ b/pkg/polymer/example/component/news/test/news_index_test.dart
@@ -10,7 +10,8 @@ import 'package:unittest/html_config.dart';
/**
* This test runs the news example and checks the state of the initial page.
*/
-@initMethod _main() {
+main() {
+ initPolymer();
useHtmlConfiguration();
extractLinks(nodes) => nodes.where((n) => n is Element)

Powered by Google App Engine
This is Rietveld 408576698