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

Unified Diff: client/tests/client/dom/AsyncWindowTest.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/AsyncWindowTest.dart
diff --git a/client/tests/client/dom/AsyncWindowTest.dart b/client/tests/client/dom/AsyncWindowTest.dart
index fb9b1cc623aba0995cedf9447bc24c8900fef4c3..7747ce129101f9598ca7beb02edb41925beb195e 100644
--- a/client/tests/client/dom/AsyncWindowTest.dart
+++ b/client/tests/client/dom/AsyncWindowTest.dart
@@ -1,9 +1,10 @@
#library('AsyncWindowTest');
-#import('../../../../lib/unittest/unittest_dom.dart');
+#import('../../../../lib/unittest/unittest.dart');
+#import('../../../../lib/unittest/dom_config.dart');
vsm 2012/04/12 17:41:45 It's unfortunate that this requires an extra line
Siggi Cherem (dart-lang) 2012/04/12 21:13:36 yeah. For many tests the extra line will go away l
#import('dart:dom');
main() {
- forLayoutTests();
+ useDomConfiguration(isLayoutTest: true);
vsm 2012/04/12 17:41:45 I think these can now go for all tests in the main
Siggi Cherem (dart-lang) 2012/04/12 21:13:36 Thanks, fixed.
asyncTest('Window.setTimeout', 1, () {
window.setTimeout(callbackDone, 10);
});
« no previous file with comments | « no previous file | client/tests/client/dom/AudioContextTest.dart » ('j') | client/tests/client/json/json_tests.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698