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

Unified Diff: tests/isolate/ping_test.dart

Issue 190013005: Add Isolate.kill(). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update tests, status Created 6 years, 9 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
« sdk/lib/isolate/isolate.dart ('K') | « tests/isolate/ping_pause_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/ping_test.dart
diff --git a/tests/isolate/ping_test.dart b/tests/isolate/ping_test.dart
index e2081894d54480c816a44a5dc029ef213d3ba320..f77c21461736f246e27d6a628be600e41fea4027 100644
--- a/tests/isolate/ping_test.dart
+++ b/tests/isolate/ping_test.dart
@@ -48,11 +48,11 @@ void main(){
};
return pingPort.sendPort;
}
- isolate.ping(createPingPort("alive"), Isolate.PING_ALIVE);
+ isolate.ping(createPingPort("alive"), Isolate.OUT_OF_BAND);
echoPort.send(3);
- isolate.ping(createPingPort("control"), Isolate.PING_CONTROL);
+ isolate.ping(createPingPort("control"), Isolate.BEFORE_NEXT_EVENT);
echoPort.send(2);
- isolate.ping(createPingPort("event"), Isolate.PING_EVENT);
+ isolate.ping(createPingPort("event"), Isolate.AS_EVENT);
echoPort.send(1);
echoPort.send(0);
});
« sdk/lib/isolate/isolate.dart ('K') | « tests/isolate/ping_pause_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698