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

Unified Diff: dart/samples/third_party/todomvc/test/markdone_test.dart

Issue 66253002: Version 0.8.10.9 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month 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: dart/samples/third_party/todomvc/test/markdone_test.dart
===================================================================
--- dart/samples/third_party/todomvc/test/markdone_test.dart (revision 30098)
+++ dart/samples/third_party/todomvc/test/markdone_test.dart (working copy)
@@ -60,13 +60,13 @@
appModel.todos.add(new Todo('four (checked)'));
return new Future(() {
- var body = query('body');
+ var body = querySelector('body');
var label = findWithText(body, 'four (checked)');
expect(label is LabelElement, true, reason: 'text is in a label: $label');
var host = findShadowHost(body, label.parentNode);
- var node = host.parent.query('input');
+ var node = host.parent.querySelector('input');
expect(node is InputElement, true, reason: 'node is a checkbox');
expect(node.type, 'checkbox', reason: 'node type is checkbox');
expect(node.checked, isFalse, reason: 'element is unchecked');
« no previous file with comments | « dart/samples/third_party/todomvc/test/markdone_shadow_test.dart ('k') | dart/samples/third_party/todomvc/web/app.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698