Index: client/tests/client/dom/TypingTest.dart |
diff --git a/client/tests/client/dom/TypingTest.dart b/client/tests/client/dom/TypingTest.dart |
deleted file mode 100644 |
index 569099df6f652c1ec4263026acfb8a13b415ee50..0000000000000000000000000000000000000000 |
--- a/client/tests/client/dom/TypingTest.dart |
+++ /dev/null |
@@ -1,33 +0,0 @@ |
-#library('TypingTest'); |
-#import('../../../../lib/unittest/unittest.dart'); |
-#import('../../../../lib/unittest/dom_config.dart'); |
-#import('dart:dom'); |
- |
-main() { |
- useDomConfiguration(); |
- |
- test('NodeList', () { |
- List<Node> asList = window.document.getElementsByTagName('body'); |
- // Check it's Iterable |
- int counter = 0; |
- for (Node node in window.document.getElementsByTagName('body')) { |
- counter++; |
- } |
- Expect.equals(1, counter); |
- counter = 0; |
- window.document.getElementsByTagName('body').forEach((e) { counter++; }); |
- Expect.equals(1, counter); |
- }); |
- |
- test('StyleSheetList', () { |
- List<StyleSheet> asList = window.document.styleSheets; |
- // Check it's Iterable. |
- int counter = 0; |
- for (StyleSheet styleSheet in window.document.styleSheets) { |
- counter++; |
- } |
- |
- // There is one style sheet from the unittest framework. |
- Expect.equals(1, counter); |
- }); |
-} |