Index: client/tests/client/html/XHRTest.dart |
diff --git a/client/tests/client/html/XHRTests.dart b/client/tests/client/html/XHRTest.dart |
similarity index 76% |
rename from client/tests/client/html/XHRTests.dart |
rename to client/tests/client/html/XHRTest.dart |
index be489787e97b6d22885ff3725875a55dd8300690..744bf58a6e353cb8b0d05bb56bfeb48ce7f4d29a 100644 |
--- a/client/tests/client/html/XHRTests.dart |
+++ b/client/tests/client/html/XHRTest.dart |
@@ -2,8 +2,14 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
+#library('XHRTest'); |
+#import('../../../../lib/unittest/unittest.dart'); |
+#import('../../../../lib/unittest/html_config.dart'); |
+#import('dart:html'); |
+ |
+main() { |
+ useHtmlConfiguration(); |
-void testXHR() { |
print(window.location.href); |
asyncTest('XHR', 1, () { |
XMLHttpRequest xhr = new XMLHttpRequest(); |