OLD | NEW |
(Empty) | |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 library smoke.test.mirrors_test; |
| 6 |
| 7 import 'package:smoke/mirrors.dart'; |
| 8 import 'package:unittest/unittest.dart'; |
| 9 import 'common.dart' hide main; |
| 10 import 'common.dart' as common show main; |
| 11 |
| 12 |
| 13 @MirrorsUsed( |
| 14 targets: const [A, B, C, D, E, E2, F, F2, G, H], |
| 15 override: 'smoke.mirrors') |
| 16 import 'dart:mirrors'; |
| 17 |
| 18 main() { |
| 19 setUp(useMirrors); |
| 20 common.main(); |
| 21 } |
| 22 |
| 23 _unused() => MirrorSystem; // to prevent analyzer warnings. |
OLD | NEW |