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

Unified Diff: tests/dom/storage_test.dart

Issue 10178014: Copy lib/dom tests that use dart:html to lib/html. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: . Created 8 years, 8 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 | « tests/dom/serialized_script_value_test.dart ('k') | tests/dom/svg_1_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/dom/storage_test.dart
diff --git a/tests/dom/storage_test.dart b/tests/dom/storage_test.dart
deleted file mode 100644
index a33b6b1c517cdd2fee901bcc46e1a162d41e299e..0000000000000000000000000000000000000000
--- a/tests/dom/storage_test.dart
+++ /dev/null
@@ -1,19 +0,0 @@
-#library('StorageTest');
-#import('../../lib/unittest/unittest.dart');
-#import('../../lib/unittest/html_config.dart');
-#import('dart:html');
-
-main() {
- useHtmlConfiguration();
- test('GetItem', () {
- final value = window.localStorage['does not exist'];
- Expect.isNull(value);
- });
- test('SetItem', () {
- final key = 'foo';
- final value = 'bar';
- window.localStorage[key] = value;
- final stored = window.localStorage[key];
- Expect.equals(value, stored);
- });
-}
« no previous file with comments | « tests/dom/serialized_script_value_test.dart ('k') | tests/dom/svg_1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698