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

Unified Diff: client/tests/client/dom/IsolatesTest.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
Index: client/tests/client/dom/IsolatesTest.dart
diff --git a/client/tests/client/dom/IsolatesTest.dart b/client/tests/client/dom/IsolatesTest.dart
index 4100290b00dd11490f9c499c7a501433e1bbdfbc..c811740727f44e1c92a8c0d3bf738066578ce82e 100644
--- a/client/tests/client/dom/IsolatesTest.dart
+++ b/client/tests/client/dom/IsolatesTest.dart
@@ -1,5 +1,6 @@
#library('IsolatesTest');
-#import('../../../../lib/unittest/unittest_dom.dart');
+#import('../../../../lib/unittest/unittest.dart');
+#import('../../../../lib/unittest/dom_config.dart');
#import('dart:dom');
#import('dart:json');
#import('dart:isolate', prefix:'isolate');
@@ -31,7 +32,7 @@ class PingPongIsolate extends isolate.Isolate {
}
main() {
- forLayoutTests();
+ useDomConfiguration(isLayoutTest: true);
asyncTest('IsolateSpawn', 1, () {
new PingPongIsolate().spawn().then((isolate.SendPort port) {
callbackDone();

Powered by Google App Engine
This is Rietveld 408576698