Index: client/tests/client/dom/CanvasUsingHtmlTest.dart |
diff --git a/client/tests/client/dom/CanvasUsingHtmlTest.dart b/client/tests/client/dom/CanvasUsingHtmlTest.dart |
index cffcd57c3883b6d1b9b165d34f18515f0f3507ac..3840a914a79b4bef772233cb39a755fb0f2e98b6 100644 |
--- a/client/tests/client/dom/CanvasUsingHtmlTest.dart |
+++ b/client/tests/client/dom/CanvasUsingHtmlTest.dart |
@@ -1,5 +1,6 @@ |
#library('CanvasUsingHtmlTest'); |
-#import('../../../../lib/unittest/unittest_dom.dart'); |
+#import('../../../../lib/unittest/unittest.dart'); |
+#import('../../../../lib/unittest/dom_config.dart'); |
#import('dart:html', prefix: 'html'); |
#import('dart:dom'); |
@@ -15,7 +16,7 @@ main() { |
document.body.appendChild(canvas); |
context = canvas.getContext('2d'); |
- forLayoutTests(); |
+ useDomConfiguration(); |
test('FillStyle', () { |
context.fillStyle = "red"; |
context.fillRect(10, 10, 20, 20); |