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

Unified Diff: tests/isolate/src/Mixed2Test.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/MintMakerTest.dart ('k') | tests/isolate/src/MixedTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/src/Mixed2Test.dart
diff --git a/tests/isolate/src/Mixed2Test.dart b/tests/isolate/src/Mixed2Test.dart
index fcd1b5044229bc46d1df38177dadbf717b9351db..be4871afb717e61aacb72b31cc778a56c27516d0 100644
--- a/tests/isolate/src/Mixed2Test.dart
+++ b/tests/isolate/src/Mixed2Test.dart
@@ -114,13 +114,13 @@ void test(TestExpectation expect) {
heavy2.then(expect.runs1((SendPort heavy2Port) {
heavy3.then(expect.runs1((SendPort heavy3Port) {
- heavy2Port.call(heavy3Port).receive(expect.runs2((h2l1Port, ignored) {
+ heavy2Port.call(heavy3Port).then(expect.runs1((h2l1Port) {
heavy1.then(expect.runs1((SendPort heavy1Port) {
heavy1Port.send(h2l1Port, null);
// ---------------
// Setup complete.
// Start the chain-message.
- heavy1Port.call(1).receive(expect.runs2((result, ignored) {
+ heavy1Port.call(1).then(expect.runs1((result) {
Expect.equals(6531, result);
expect.succeeded();
}));
« no previous file with comments | « tests/isolate/src/MintMakerTest.dart ('k') | tests/isolate/src/MixedTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698