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

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

Issue 24077003: fix polymer tests -- replace run.sh and run tests using bots (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
Index: pkg/polymer/example/component/news/test/news_index_test.html
diff --git a/pkg/polymer/example/component/news/test/news_index_test.html b/pkg/polymer/example/component/news/test/news_index_test.html
index 95bfadd72921a0c0d35b7f351530e901a6fdb83a..873b2d5be366aae99122db7c4680651b3c2e9cf1 100644
--- a/pkg/polymer/example/component/news/test/news_index_test.html
+++ b/pkg/polymer/example/component/news/test/news_index_test.html
@@ -7,7 +7,8 @@ https://github.com/dglazkov/Web-Components-Polyfill/blob/master/samples/news
<head>
<title>Simple Web Components Example</title>
<link rel="import" href="../web/news-component.html">
- <script src="packages/polymer/testing/testing.js"></script>
+ <script src="packages/polymer/boot.js"></script>
+ <script src="packages/unittest/test_controller.js"></script>
</head>
<body>
<h1>Simple Web Components Example</h1>
@@ -19,11 +20,6 @@ https://github.com/dglazkov/Web-Components-Polyfill/blob/master/samples/news
<li><a href="//example.com/stories/4">Awesome story</a></li>
<li class="breaking"><a href="//example.com/stories/5">Horrible story</a></li>
</ul>
-<script type="application/dart">
-import 'dart:html';
-main() {
- window.postMessage('done', '*');
-}
-</script>
+<script type="application/dart" src="news_index_test.dart"></script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698