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

Unified Diff: client/tests/client/dom/IsolatesTest.dart

Issue 9527004: dom test: fix test after change in isolate library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/client/dom/IsolatesTest.dart
diff --git a/client/tests/client/dom/IsolatesTest.dart b/client/tests/client/dom/IsolatesTest.dart
index cdd2f7cdab8d94f2f74938ab736a49d211d3429b..a62ca10611f93ce2772b9b8fc1b0c30d100eda9f 100644
--- a/client/tests/client/dom/IsolatesTest.dart
+++ b/client/tests/client/dom/IsolatesTest.dart
@@ -2,9 +2,9 @@
#import('../../../testing/unittest/unittest.dart');
#import('dart:dom');
#import('dart:json');
-#import('dart:isolate');
+#import('dart:isolate', prefix:'isolate');
-class PingPongIsolate extends Isolate {
+class PingPongIsolate extends isolate.Isolate {
PingPongIsolate() : super.heavy();
void main() {
@@ -33,12 +33,12 @@ class PingPongIsolate extends Isolate {
main() {
forLayoutTests();
asyncTest('IsolateSpawn', 1, () {
- new PingPongIsolate().spawn().then((SendPort port) {
+ new PingPongIsolate().spawn().then((isolate.SendPort port) {
callbackDone();
});
});
asyncTest('NonDOMIsolates', 1, () {
- new PingPongIsolate().spawn().then((SendPort port) {
+ new PingPongIsolate().spawn().then((isolate.SendPort port) {
final msg1 = 'foo';
final msg2 = 'bar';
port.call(msg1).receive((response, _) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698