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

Unified Diff: client/tests/client/dom/StorageTest.dart

Issue 10037027: unittest step2: bye bye to multiple entrypoints for unittest (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
Index: client/tests/client/dom/StorageTest.dart
diff --git a/client/tests/client/dom/StorageTest.dart b/client/tests/client/dom/StorageTest.dart
index 10b10e889a6c01bc718cc10200daecdfdd98ee9d..aca228daf13cfad03c8d3fa72e7aa0773dd20e30 100644
--- a/client/tests/client/dom/StorageTest.dart
+++ b/client/tests/client/dom/StorageTest.dart
@@ -1,9 +1,10 @@
#library('StorageTest');
-#import('../../../../lib/unittest/unittest_dom.dart');
+#import('../../../../lib/unittest/unittest.dart');
+#import('../../../../lib/unittest/dom_config.dart');
#import('dart:dom');
main() {
- forLayoutTests();
+ useDomConfiguration(isLayoutTest: true);
test('GetItem', () {
final value = window.localStorage.getItem('does not exist');
Expect.isNull(value);

Powered by Google App Engine
This is Rietveld 408576698