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

Unified Diff: sky/tests/resources/dom-utils.sky

Issue 1212163009: Port remaining Sky tests to the new world (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: add Created 5 years, 6 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
« no previous file with comments | « sky/tests/lowlevel/unittest.sky ('k') | sky/tests/resources/dom_utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/resources/dom-utils.sky
diff --git a/sky/tests/resources/dom-utils.sky b/sky/tests/resources/dom-utils.sky
deleted file mode 100644
index 98c03fbe5e2ce4783ce42e01d0d323756bdc600f..0000000000000000000000000000000000000000
--- a/sky/tests/resources/dom-utils.sky
+++ /dev/null
@@ -1,17 +0,0 @@
-<script>
-import "dart:sky";
-
-int childNodeCount(parent) {
- int count = 0;
- for (Node node = parent.firstChild; node != null; node = node.nextSibling)
- ++count;
- return count;
-}
-
-int childElementCount(parent) {
- int count = 0;
- for (Element element = parent.firstElementChild; element != null; element = element.nextElementSibling)
- ++count;
- return count;
-}
-</script>
« no previous file with comments | « sky/tests/lowlevel/unittest.sky ('k') | sky/tests/resources/dom_utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698