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

Unified Diff: samples/tests/samples/todomvc/markdone_shadow_test.dart

Issue 23539003: Turn on Polymer TodoMVC tests on Dart buildbots (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: use unittest test_controller.js 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/markdone_shadow_test.dart
diff --git a/utils/tests/testrunner/layout_tests/web/layout_test.dart b/samples/tests/samples/todomvc/markdone_shadow_test.dart
old mode 100755
new mode 100644
similarity index 52%
copy from utils/tests/testrunner/layout_tests/web/layout_test.dart
copy to samples/tests/samples/todomvc/markdone_shadow_test.dart
index eead227404a3b53faf70f6f9315c075f50d2f1d9..4f7c90ae71f90975c233c34ab7da61e0a57b30c5
--- a/utils/tests/testrunner/layout_tests/web/layout_test.dart
+++ b/samples/tests/samples/todomvc/markdone_shadow_test.dart
@@ -2,16 +2,11 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library testrunner_test;
+library todomvc.test.markdone_shadow_test;
+// We don't use this import, but it signals to the test framework that this is
+// a web test.
import 'dart:html';
-import 'package:unittest/unittest.dart';
-
-main() {
- test("layout", () {
- var lbl = new LabelElement();
- lbl.text = 'Hello Dart!';
- document.body.nodes.add(lbl);
- });
-}
+import 'markdone_test.dart' as markdone_test;
+main() => markdone_test.main();

Powered by Google App Engine
This is Rietveld 408576698