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

Unified Diff: pkg/polymer/test/bind_test.dart

Issue 25740006: port polymer data binding tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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/test/bind_test.dart
diff --git a/utils/tests/testrunner/layout_tests/web/layout_test.dart b/pkg/polymer/test/bind_test.dart
old mode 100755
new mode 100644
similarity index 65%
copy from utils/tests/testrunner/layout_tests/web/layout_test.dart
copy to pkg/polymer/test/bind_test.dart
index eead227404a3b53faf70f6f9315c075f50d2f1d9..fa56c2ead6888b807ad34fca1aba053205bd3042
--- a/utils/tests/testrunner/layout_tests/web/layout_test.dart
+++ b/pkg/polymer/test/bind_test.dart
@@ -2,16 +2,12 @@
// 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;
-
import 'dart:html';
import 'package:unittest/unittest.dart';
+import 'package:unittest/html_config.dart';
main() {
- test("layout", () {
- var lbl = new LabelElement();
- lbl.text = 'Hello Dart!';
- document.body.nodes.add(lbl);
- });
-}
+ useHtmlConfiguration();
+ test('ready called', () => query('x-foo').xtag.onTestDone);
Siggi Cherem (dart-lang) 2013/10/04 21:13:46 could we also check that this is not null before r
+}

Powered by Google App Engine
This is Rietveld 408576698