| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 import 'package:observatory/service_io.dart'; | 5 import 'package:observatory/service_io.dart'; |
| 6 import 'package:unittest/unittest.dart'; | 6 import 'package:unittest/unittest.dart'; |
| 7 import 'test_helper.dart'; | 7 import 'test_helper.dart'; |
| 8 | 8 |
| 9 import 'dart:profiler'; | 9 import 'dart:profiler'; |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 }), | 34 }), |
| 35 | 35 |
| 36 (Isolate isolate) => | 36 (Isolate isolate) => |
| 37 isolate.get('metrics/a.b.d').then((DartError err) { | 37 isolate.get('metrics/a.b.d').then((DartError err) { |
| 38 expect(err is DartError, isTrue); | 38 expect(err is DartError, isTrue); |
| 39 }), | 39 }), |
| 40 | 40 |
| 41 ]; | 41 ]; |
| 42 | 42 |
| 43 main(args) => runIsolateTests(args, tests, testeeBefore: script); | 43 main(args) => runIsolateTests(args, tests, testeeBefore: script); |
| OLD | NEW |