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

Unified Diff: mojo/dart/apptests/dart_apptests/lib/src/service_describer_apptests.dart

Issue 1964193002: Dart: Refactors Proxies (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Address comments Created 4 years, 7 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: mojo/dart/apptests/dart_apptests/lib/src/service_describer_apptests.dart
diff --git a/mojo/dart/apptests/dart_apptests/lib/src/service_describer_apptests.dart b/mojo/dart/apptests/dart_apptests/lib/src/service_describer_apptests.dart
index e817722cae845b84359a7363741aa18b835b728e..7f1e7d3c04636e0b3a5b128ddc38fd638b5d7972 100644
--- a/mojo/dart/apptests/dart_apptests/lib/src/service_describer_apptests.dart
+++ b/mojo/dart/apptests/dart_apptests/lib/src/service_describer_apptests.dart
@@ -25,27 +25,26 @@ tests(Application application, String url) {
test('PingPong Service Verification', () async {
var serviceDescriberProxy = new service_describer.ServiceDescriberProxy.
unbound();
- serviceDescriberProxy.errorFuture.then((v) =>
+ serviceDescriberProxy.ctrl.errorFuture.then((v) =>
fail('There was an error $v'));
application.connectToService("mojo:dart_pingpong", serviceDescriberProxy);
var serviceDescriptionProxy =
new service_describer.ServiceDescriptionProxy.unbound();
- serviceDescriptionProxy.errorFuture.then(
+ serviceDescriptionProxy.ctrl.errorFuture.then(
(v) => fail('There was an error $v'));
- serviceDescriberProxy.ptr.describeService(
+ serviceDescriberProxy.describeService(
"test::PingPongService", serviceDescriptionProxy);
// Compare the service description obtained by the service describer and
// the expected description taken from the pingpong service import.
- var serviceDescription = serviceDescriptionProxy.ptr;
+ var serviceDescription = serviceDescriptionProxy;
var serviceDescription2 = pingpong_service.PingPongServiceStub.
serviceDescription;
Function identity = (v) => v;
-
// Top-level Mojom Interfaces must match.
mojom_types.MojomInterface interfaceA =
(await serviceDescriptionProxy.responseOrError(

Powered by Google App Engine
This is Rietveld 408576698