| 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 analyzer.test.reflective_tests; | 5 library analyzer.test.reflective_tests; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 @MirrorsUsed(metaTargets: 'ReflectiveTest') |
| 8 import 'dart:mirrors'; | 9 import 'dart:mirrors'; |
| 9 | 10 |
| 10 import 'package:unittest/unittest.dart'; | 11 import 'package:unittest/unittest.dart'; |
| 11 | 12 |
| 12 /** | 13 /** |
| 13 * A marker annotation used to annotate overridden test methods (so we cannot | 14 * A marker annotation used to annotate overridden test methods (so we cannot |
| 14 * rename them to `fail_`) which are expected to fail at `assert` in the | 15 * rename them to `fail_`) which are expected to fail at `assert` in the |
| 15 * checked mode. | 16 * checked mode. |
| 16 */ | 17 */ |
| 17 const _AssertFailingTest assertFailingTest = const _AssertFailingTest(); | 18 const _AssertFailingTest assertFailingTest = const _AssertFailingTest(); |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 const _AssertFailingTest(); | 171 const _AssertFailingTest(); |
| 171 } | 172 } |
| 172 | 173 |
| 173 /** | 174 /** |
| 174 * A marker annotation used to annotate overridden test methods (so we cannot | 175 * A marker annotation used to annotate overridden test methods (so we cannot |
| 175 * rename them to `fail_`) which are expected to fail. | 176 * rename them to `fail_`) which are expected to fail. |
| 176 */ | 177 */ |
| 177 class _FailingTest { | 178 class _FailingTest { |
| 178 const _FailingTest(); | 179 const _FailingTest(); |
| 179 } | 180 } |
| OLD | NEW |