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

Unified Diff: services/dart/dart_apptests/pingpong_apptests.dart

Issue 982673002: Dart: Removes need to call listen(). (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Merge and Format Created 5 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
Index: services/dart/dart_apptests/pingpong_apptests.dart
diff --git a/services/dart/dart_apptests/pingpong_apptests.dart b/services/dart/dart_apptests/pingpong_apptests.dart
index eb9b9edd7292a8d7d6784d2929b6621611ec8644..7dc23ec6f16703cbb5fcdc3f18baa722c1d4148e 100644
--- a/services/dart/dart_apptests/pingpong_apptests.dart
+++ b/services/dart/dart_apptests/pingpong_apptests.dart
@@ -39,7 +39,6 @@ pingpongApptests(Application application, String url) {
var pingPongClient = new _TestingPingPongClient.unbound();
pingPongServiceProxy.ptr.setClient(pingPongClient.stub);
- pingPongClient.stub.listen();
pingPongServiceProxy.ptr.ping(1);
var pongValue = await pingPongClient.waitForPong();
@@ -97,7 +96,6 @@ pingpongApptests(Application application, String url) {
var pingPongClient = new _TestingPingPongClient.unbound();
targetServiceProxy.ptr.setClient(pingPongClient.stub);
- pingPongClient.stub.listen();
targetServiceProxy.ptr.ping(1);
var pongValue = await pingPongClient.waitForPong();
« no previous file with comments | « mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl ('k') | services/dart/test/echo/main.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698