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

Unified Diff: client/tests/client/dom/CanvasUsingHtmlTest.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
« no previous file with comments | « client/tests/client/dom/CanvasTest.dart ('k') | client/tests/client/dom/CrossFrameTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « client/tests/client/dom/CanvasTest.dart ('k') | client/tests/client/dom/CrossFrameTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698