| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 library pingpong_apptests; | 5 library pingpong_apptests; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 | 8 |
| 9 import 'package:mojo_apptest/apptest.dart'; | 9 import 'package:mojo_apptest/apptest.dart'; |
| 10 import 'package:mojo/application.dart'; | 10 import 'package:mojo/application.dart'; |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 targetServiceProxy.ptr.ping(100); | 110 targetServiceProxy.ptr.ping(100); |
| 111 pongValue = await pingPongClient.waitForPong(); | 111 pongValue = await pingPongClient.waitForPong(); |
| 112 expect(pongValue, equals(101)); | 112 expect(pongValue, equals(101)); |
| 113 | 113 |
| 114 await pingPongClient.stub.close(); | 114 await pingPongClient.stub.close(); |
| 115 await targetServiceProxy.close(); | 115 await targetServiceProxy.close(); |
| 116 await pingPongServiceProxy.close(); | 116 await pingPongServiceProxy.close(); |
| 117 }); | 117 }); |
| 118 }); | 118 }); |
| 119 } | 119 } |
| OLD | NEW |