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

Unified Diff: samples/third_party/todomvc/test/markdone_shadow_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: rebase 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/third_party/todomvc/test/markdone_shadow_test.html
diff --git a/samples/third_party/todomvc/test/todomvc_mainpage2_test.html b/samples/third_party/todomvc/test/markdone_shadow_test.html
similarity index 54%
rename from samples/third_party/todomvc/test/todomvc_mainpage2_test.html
rename to samples/third_party/todomvc/test/markdone_shadow_test.html
index a6f8e43001fdf32a09a3a65fa552b56e118c2f3f..9ec92b4b093889ac6cceb0ec95ab2bab0e342fce 100644
--- a/samples/third_party/todomvc/test/todomvc_mainpage2_test.html
+++ b/samples/third_party/todomvc/test/markdone_shadow_test.html
@@ -6,28 +6,20 @@ 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 if a
-single item is present in the todo list.
--->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <script>
+ // Force the ShadowDOM polyfill to run regardless of whether it is needed.
+ window.__forceShadowDomPolyfill = true;
+ </script>
<link rel="import" href="../web/app.html">
<link rel="stylesheet" href="../web/base.css">
- <script src="packages/polymer/testing/testing.js"></script>
+ <script src="packages/polymer/boot.js"></script>
+ <script src="packages/unittest/test_controller.js"></script>
<title>Dart • TodoMVC</title>
-</head><body>
+</head>
+<body>
<todo-app></todo-app>
- <script type="application/dart">
-import 'dart:html';
-import 'package:polymer/polymer.dart';
-import '../web/model.dart';
-
-main() {
- appModel.todos.add(new Todo('hola'));
- performMicrotaskCheckpoint();
- window.postMessage('done', '*');
-}
- </script>
+ <script type="application/dart" src="markdone_shadow_test.dart"></script>
</body>
</html>
« no previous file with comments | « samples/third_party/todomvc/test/markdone_shadow_test.dart ('k') | samples/third_party/todomvc/test/markdone_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698