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 smoke.test.mirrors_test; | 5 library smoke.test.mirrors_test; |
6 | 6 |
7 import 'package:smoke/mirrors.dart'; | 7 import 'package:smoke/mirrors.dart'; |
8 import 'package:unittest/unittest.dart'; | 8 import 'package:unittest/unittest.dart'; |
9 import 'common.dart' hide main; | 9 import 'common.dart' hide main; |
10 import 'common.dart' as common show main; | 10 import 'common.dart' as common show main; |
11 | 11 |
12 | 12 |
13 @MirrorsUsed( | 13 @MirrorsUsed( |
14 targets: const [A, B, C, D, E, E2, F, F2, G, H], | 14 targets: const [A, B, C, D, E, E2, F, F2, G, H, Type], |
15 override: 'smoke.mirrors') | 15 override: 'smoke.mirrors') |
16 import 'dart:mirrors'; | 16 import 'dart:mirrors'; |
17 | 17 |
18 main() { | 18 main() { |
19 setUp(useMirrors); | 19 setUp(useMirrors); |
20 common.main(); | 20 common.main(); |
21 } | 21 } |
OLD | NEW |