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 var tests = [ | 9 var tests = [ |
10 | 10 |
11 (Isolate isolate) => | 11 (Isolate isolate) => |
12 isolate.get('classes/62').then((Class c) { | 12 isolate.get('classes/62').then((Class c) { |
13 expect(c.name, equals('_List')); | 13 expect(c.name, equals('_List')); |
14 expect(c.vmCid, equals(62)); | 14 expect(c.vmCid, equals(62)); |
15 }), | 15 }), |
16 | 16 |
17 ]; | 17 ]; |
18 | 18 |
19 main(args) => runIsolateTests(args, tests); | 19 main(args) => runIsolateTests(args, tests); |
OLD | NEW |