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

Unified Diff: tests/html/selectelement_test.dart

Issue 11413071: Deprecating Element.elements for Element.children. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Review feedback. Created 8 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
« no previous file with comments | « tests/html/htmlcollection_test.dart ('k') | tests/html/shadow_dom_layout_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/selectelement_test.dart
diff --git a/tests/html/selectelement_test.dart b/tests/html/selectelement_test.dart
index 9de1d686e3cfa4b1e3d22f945dd3dfe8dfd2aac3..300e29ec6180e1b5b5a79ee3e166730c8e05b1ab 100644
--- a/tests/html/selectelement_test.dart
+++ b/tests/html/selectelement_test.dart
@@ -21,7 +21,7 @@ main() {
new OptionElement('data', 'two', false, true),
new OptionElement(),
];
- element.elements.addAll(options);
+ element.children.addAll(options);
expect(element.selectedOptions.length, 1);
expect(element.selectedOptions[0], equals(options[4]));
});
@@ -37,7 +37,7 @@ main() {
new OptionElement('data', 'two', false, true),
new OptionElement(),
];
- element.elements.addAll(options);
+ element.children.addAll(options);
expect(element.selectedOptions.length, 2);
expect(element.selectedOptions[0], equals(options[2]));
expect(element.selectedOptions[1], equals(options[4]));
@@ -51,7 +51,7 @@ main() {
new OptionElement('data', 'two', false, true),
new OptionElement(),
];
- element.elements.addAll(options);
+ element.children.addAll(options);
// Use last to make sure that the list was correctly wrapped.
expect(element.options.last, equals(options[3]));
});
« no previous file with comments | « tests/html/htmlcollection_test.dart ('k') | tests/html/shadow_dom_layout_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698