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 library vm_references_test; | 5 library vm_references_test; |
6 | 6 |
7 import 'dart:async'; | |
8 import 'dart:mirrors'; | 7 import 'dart:mirrors'; |
9 import 'package:observatory/service_io.dart'; | 8 import 'package:observatory/service_io.dart'; |
10 import 'package:unittest/unittest.dart'; | 9 import 'package:unittest/unittest.dart'; |
11 import 'test_helper.dart'; | 10 import 'test_helper.dart'; |
12 | 11 |
13 class Foo { } | 12 class Foo { } |
14 class Bar { } | 13 class Bar { } |
15 | 14 |
16 var expando; | 15 var expando; |
17 var key; | 16 var key; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 expect(loadedProp.key, isNotNull); | 54 expect(loadedProp.key, isNotNull); |
56 expect(loadedProp.key.clazz, equals(key.clazz)); | 55 expect(loadedProp.key.clazz, equals(key.clazz)); |
57 expect(loadedProp.value, isNotNull); | 56 expect(loadedProp.value, isNotNull); |
58 expect(loadedProp.value.clazz, equals(value.clazz)); | 57 expect(loadedProp.value.clazz, equals(value.clazz)); |
59 }); | 58 }); |
60 }), | 59 }), |
61 | 60 |
62 ]; | 61 ]; |
63 | 62 |
64 main(args) => runIsolateTests(args, tests, testeeBefore: script); | 63 main(args) => runIsolateTests(args, tests, testeeBefore: script); |
OLD | NEW |