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

Unified Diff: samples/tests/samples/todomvc/listorder_test.html

Issue 23539003: Turn on Polymer TodoMVC tests on Dart buildbots (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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: samples/tests/samples/todomvc/listorder_test.html
diff --git a/samples/third_party/todomvc/test/todomvc_mainpage_test.html b/samples/tests/samples/todomvc/listorder_test.html
similarity index 51%
rename from samples/third_party/todomvc/test/todomvc_mainpage_test.html
rename to samples/tests/samples/todomvc/listorder_test.html
index 3483dbff359470e9601138c2fbda44f1ff002828..77459d35377ca3e249670fb4718296a9cd8592b0 100644
--- a/samples/third_party/todomvc/test/todomvc_mainpage_test.html
+++ b/samples/tests/samples/todomvc/listorder_test.html
@@ -6,24 +6,16 @@ BSD-style license that can be found in the LICENSE file.
-->
<html lang="en">
<head>
-<!--
-This test runs the TodoMVC app and evaluates that it renders correctly.
--->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <link rel="import" href="../web/app.html">
- <link rel="stylesheet" href="../web/base.css">
- <script src="packages/polymer/testing/testing.js"></script>
+ <link rel="import" href="../../../third_party/todomvc/web/app.html">
+ <link rel="stylesheet" href="../../../third_party/todomvc/web/base.css">
+ <script src="packages/polymer/boot.js"></script>
+ <script src="packages/polymer/testing/test_controller.js"></script>
kustermann 2013/08/28 17:56:45 Does this mean we've 'packages' directories inside
Jennifer Messerly 2013/08/28 18:13:09 We don't need to, the test server handles "package
<title>Dart • TodoMVC</title>
-</head><body>
+</head>
+<body>
<todo-app></todo-app>
- <script type="application/dart">
-import 'dart:async';
-import 'dart:html';
-
-main() {
- Timer.run(() => window.postMessage('done', '*'));
-}
- </script>
+ <script type="application/dart" src="listorder_test.dart"></script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698