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

Unified Diff: client/tests/client/dom/CanvasTest.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/CallbacksTest.dart ('k') | client/tests/client/dom/CanvasUsingHtmlTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/client/dom/CanvasTest.dart
diff --git a/client/tests/client/dom/CanvasTest.dart b/client/tests/client/dom/CanvasTest.dart
index eb5621765855b5733780697a619964bc98d76ca1..5a4293326a0e387108dc37a761dfcfc10ed83643 100644
--- a/client/tests/client/dom/CanvasTest.dart
+++ b/client/tests/client/dom/CanvasTest.dart
@@ -1,5 +1,6 @@
#library('CanvasTest');
-#import('../../../../lib/unittest/unittest_dom.dart');
+#import('../../../../lib/unittest/unittest.dart');
+#import('../../../../lib/unittest/dom_config.dart');
#import('dart:dom');
main() {
@@ -15,7 +16,7 @@ main() {
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/CallbacksTest.dart ('k') | client/tests/client/dom/CanvasUsingHtmlTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698