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); |
}); |