| 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(
|
|
|