| 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 echo_apptests; |
| 6 |
| 5 import 'dart:async'; | 7 import 'dart:async'; |
| 6 import 'mojo:application'; | 8 import 'mojo:application'; |
| 7 import 'mojo:bindings'; | 9 import 'mojo:bindings'; |
| 8 import 'mojo:core'; | 10 import 'mojo:core'; |
| 9 | 11 |
| 10 import 'package:apptest/apptest.dart'; | 12 import 'package:apptest/apptest.dart'; |
| 11 import 'package:services/dart/test/echo_service.mojom.dart'; | 13 import 'package:services/dart/test/echo_service.mojom.dart'; |
| 12 | 14 |
| 13 echoApptests(Application application, String url) { | 15 echoApptests(Application application, String url) { |
| 14 group('Echo Service Apptests', () { | 16 group('Echo Service Apptests', () { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 45 var v = await echoProxy.ptr.echoString(null); | 47 var v = await echoProxy.ptr.echoString(null); |
| 46 expect(v.value, equals(null)); | 48 expect(v.value, equals(null)); |
| 47 | 49 |
| 48 var q = await echoProxy.ptr.echoString("quit"); | 50 var q = await echoProxy.ptr.echoString("quit"); |
| 49 expect(q.value, equals("quit")); | 51 expect(q.value, equals("quit")); |
| 50 | 52 |
| 51 echoProxy.close(); | 53 echoProxy.close(); |
| 52 }); | 54 }); |
| 53 }); | 55 }); |
| 54 } | 56 } |
| OLD | NEW |