| 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 observatory_tester; | 5 library observatory_tester; |
| 6 | 6 |
| 7 // Minimal dependency Observatory heartbeat test. | 7 // Minimal dependency Observatory heartbeat test. |
| 8 | 8 |
| 9 import 'dart:async'; | 9 import 'dart:async'; |
| 10 import 'dart:convert'; | 10 import 'dart:convert'; |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 Expect.isNotNull(e['code']); | 178 Expect.isNotNull(e['code']); |
| 179 } | 179 } |
| 180 Expect.equals(errorCaught, true); | 180 Expect.equals(errorCaught, true); |
| 181 | 181 |
| 182 await client.close(); | 182 await client.close(); |
| 183 print('Closed connection'); | 183 print('Closed connection'); |
| 184 | 184 |
| 185 print('Finished.'); | 185 print('Finished.'); |
| 186 launch.kill(); | 186 launch.kill(); |
| 187 } | 187 } |
| OLD | NEW |