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

Unified Diff: tests/isolate/src/IsolateComplexMessagesTest.dart

Issue 9652001: SendPort + ReceivePort changes: (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« no previous file with comments | « tests/isolate/src/Isolate3NegativeTest.dart ('k') | tests/isolate/src/IsolateNegativeTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/src/IsolateComplexMessagesTest.dart
diff --git a/tests/isolate/src/IsolateComplexMessagesTest.dart b/tests/isolate/src/IsolateComplexMessagesTest.dart
index 6b9cfc73d19958b1fe8818b126945ade67829d62..135f7c6836af37cc840a72c5cd159f3a1517389c 100644
--- a/tests/isolate/src/IsolateComplexMessagesTest.dart
+++ b/tests/isolate/src/IsolateComplexMessagesTest.dart
@@ -20,7 +20,7 @@ void test(TestExpectation expect) {
remote.send(const [1, 2.0, true, false, 0xffffffffff], null);
remote.send(const ["Hello", "World", 0xffffffffff], null);
// Shutdown the LogRunner.
- remote.call(-1).receive(expect.runs2((int message, SendPort replyTo) {
+ remote.call(-1).then(expect.runs1((int message) {
Expect.equals(6, message);
expect.succeeded();
}));
« no previous file with comments | « tests/isolate/src/Isolate3NegativeTest.dart ('k') | tests/isolate/src/IsolateNegativeTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698