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

Unified Diff: samples/tests/samples/src/proxy/MintMakerRpcTest.dart

Issue 10153005: unittest step 3 and 4: remove TestFramework.dart, make test.dart use (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: samples/tests/samples/src/proxy/MintMakerRpcTest.dart
diff --git a/samples/tests/samples/src/proxy/MintMakerRpcTest.dart b/samples/tests/samples/src/proxy/MintMakerRpcTest.dart
index baa04022ce780f0ef5f5636acf781d3597829efb..d717b78127acecc314fdca7a48c9b47425baa4d6 100644
--- a/samples/tests/samples/src/proxy/MintMakerRpcTest.dart
+++ b/samples/tests/samples/src/proxy/MintMakerRpcTest.dart
@@ -173,7 +173,9 @@ class MintIsolate extends Isolate {
}
void main() {
- ReceivePort receivePort = port;
+ // Note: 'super.' is needed here because the isolate library also defines a
+ // top-level port, and that port is resolved first.
+ ReceivePort receivePort = super.port;
new MintReceiver(receivePort);
}
}

Powered by Google App Engine
This is Rietveld 408576698