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

Unified Diff: pkg/polymer/lib/testing/test_controller.js

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: pkg/polymer/lib/testing/test_controller.js
diff --git a/pkg/unittest/lib/test_controller.js b/pkg/polymer/lib/testing/test_controller.js
similarity index 96%
copy from pkg/unittest/lib/test_controller.js
copy to pkg/polymer/lib/testing/test_controller.js
index 439b7033aea8b4d4a097ec61f907ad8848ba0cc4..aa4a5fcba4ba316bc031abbcd2313e84cba42510 100644
--- a/pkg/unittest/lib/test_controller.js
+++ b/pkg/polymer/lib/testing/test_controller.js
@@ -1,10 +1,13 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// 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.
/**
* Test controller logic - used by unit test harness to embed tests in
* conent shell.
+ *
+ * *NOTE*: this is a fork of package:unittest/test_controller.js.
+ * It has been modified to work with package:polymer/boot.js.
kustermann 2013/08/28 17:56:45 This is really bad. We should not fork! It's reall
Jennifer Messerly 2013/08/28 18:11:06 agreed, we already have a copy in polymer/lib/test
Siggi Cherem (dart-lang) 2013/08/28 18:21:10 I was also thinking of the same approach =)
*/
// Clear the console before every test run - this is Firebug specific code.
@@ -23,10 +26,6 @@ window.onerror = function (message, url, lineNumber) {
window.postMessage('unittest-suite-external-error', '*');
};
-if (navigator.webkitStartDart) {
- navigator.webkitStartDart();
-}
kustermann 2013/08/28 17:56:45 Why did you remove this? This is needed for darti
Jennifer Messerly 2013/08/28 18:11:06 Polymer's "boot.js" knows how to start Dartium. Th
-
// testRunner is provided by content shell.
// It is not available in selenium tests.
var testRunner = window.testRunner || window.layoutTestController;

Powered by Google App Engine
This is Rietveld 408576698