Index: client/tests/client/dom/DartObjectLocalStorageTest.dart |
diff --git a/client/tests/client/dom/DartObjectLocalStorageTest.dart b/client/tests/client/dom/DartObjectLocalStorageTest.dart |
deleted file mode 100644 |
index 698fbcc9105aec452c37523dc85ecd47d4c8e716..0000000000000000000000000000000000000000 |
--- a/client/tests/client/dom/DartObjectLocalStorageTest.dart |
+++ /dev/null |
@@ -1,34 +0,0 @@ |
-#library('DartObjectLocalStorageTest'); |
-#import('../../../../lib/unittest/unittest.dart'); |
-#import('../../../../lib/unittest/dom_config.dart'); |
-#import('dart:dom'); |
- |
-verify(var object) { |
- final value = window.document; |
- object.dartObjectLocalStorage = value; |
- final stored = object.dartObjectLocalStorage; |
- Expect.equals(value, stored); |
-} |
- |
-main() { |
- useDomConfiguration(); |
- test('body', () { |
- HTMLBodyElement body = document.body; |
- verify(body); |
- }); |
- test('localStorage', () { |
- Storage storage = window.localStorage; |
- verify(storage); |
- }); |
- test('sessionStorage', () { |
- Storage storage = window.sessionStorage; |
- verify(storage); |
- }); |
- test('unknown', () { |
- var element = document.createElement('canvas'); |
- element.id = 'test'; |
- document.body.appendChild(element); |
- element = document.getElementById('test'); |
- verify(element); |
- }); |
-} |