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

Unified Diff: tests/html/htmlcollection_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/hidden_dom_2_test.dart ('k') | tests/html/selectelement_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/htmlcollection_test.dart
diff --git a/tests/html/htmlcollection_test.dart b/tests/html/htmlcollection_test.dart
index 32a31d99fc62e3c78786725cb56e0364422025c6..ad993ff05d1196449e16d6352f01a785a017c7cb 100644
--- a/tests/html/htmlcollection_test.dart
+++ b/tests/html/htmlcollection_test.dart
@@ -38,7 +38,7 @@ main() {
Element root = insertTestDiv();
List<Element> eachChecked =
- document.query('#allChecked').elements;
+ document.query('#allChecked').children;
expect(eachChecked, isList);
@@ -48,13 +48,13 @@ main() {
Element root = insertTestDiv();
List<Element> eachChecked =
- document.query('#allChecked').elements;
+ document.query('#allChecked').children;
List<Element> someChecked =
- document.query('#someChecked').elements;
+ document.query('#someChecked').children;
List<Element> noneChecked =
- document.query('#noneChecked').elements;
+ document.query('#noneChecked').children;
expect(eachChecked.length, 4);
expect(someChecked.length, 4);
@@ -73,13 +73,13 @@ main() {
Element root = insertTestDiv();
List<Element> eachChecked =
- document.query('#allChecked').elements;
+ document.query('#allChecked').children;
List<Element> someChecked =
- document.query('#someChecked').elements;
+ document.query('#someChecked').children;
List<Element> noneChecked =
- document.query('#noneChecked').elements;
+ document.query('#noneChecked').children;
expect(eachChecked.length, 4);
expect(someChecked.length, 4);
@@ -98,13 +98,13 @@ main() {
Element root = insertTestDiv();
List<Element> eachChecked =
- document.query('#allChecked').elements;
+ document.query('#allChecked').children;
List<Element> someChecked =
- document.query('#someChecked').elements;
+ document.query('#someChecked').children;
List<Element> noneChecked =
- document.query('#noneChecked').elements;
+ document.query('#noneChecked').children;
expect(eachChecked.length, 4);
expect(someChecked.length, 4);
@@ -123,10 +123,10 @@ main() {
Element root = insertTestDiv();
List<Element> someChecked =
- document.query('#someChecked').elements;
+ document.query('#someChecked').children;
List<Element> emptyDiv =
- document.query('#emptyDiv').elements;
+ document.query('#emptyDiv').children;
expect(someChecked.length, 4);
expect(emptyDiv.length, 0);
@@ -149,13 +149,13 @@ main() {
Element root = insertTestDiv();
List<Element> eachChecked =
- document.query('#allChecked').elements;
+ document.query('#allChecked').children;
List<Element> someChecked =
- document.query('#someChecked').elements;
+ document.query('#someChecked').children;
List<Element> noneChecked =
- document.query('#noneChecked').elements;
+ document.query('#noneChecked').children;
expect(eachChecked.length, 4);
expect(someChecked.length, 4);
@@ -183,13 +183,13 @@ main() {
Element root = insertTestDiv();
List<Element> eachChecked =
- document.query('#allChecked').elements;
+ document.query('#allChecked').children;
List<Element> someChecked =
- document.query('#someChecked').elements;
+ document.query('#someChecked').children;
List<Element> noneChecked =
- document.query('#noneChecked').elements;
+ document.query('#noneChecked').children;
expect(eachChecked.length, 4);
expect(someChecked.length, 4);
@@ -208,7 +208,7 @@ main() {
Element root = insertTestDiv();
List<Element> someChecked =
- document.query('#someChecked').elements;
+ document.query('#someChecked').children;
expect(someChecked.length, 4);
@@ -220,10 +220,10 @@ main() {
Element root = insertTestDiv();
List<Element> someChecked =
- document.query('#someChecked').elements;
+ document.query('#someChecked').children;
List<Element> noneChecked =
- document.query('#noneChecked').elements;
+ document.query('#noneChecked').children;
expect(someChecked.length, 4);
expect(noneChecked.length, 4);
@@ -249,10 +249,10 @@ main() {
Element root = insertTestDiv();
List<Element> someChecked =
- document.query('#someChecked').elements;
+ document.query('#someChecked').children;
List<Element> noneChecked =
- document.query('#noneChecked').elements;
+ document.query('#noneChecked').children;
expect(someChecked.length, 4);
expect(noneChecked.length, 4);
« no previous file with comments | « tests/html/hidden_dom_2_test.dart ('k') | tests/html/selectelement_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698