| 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 reflective_tests; | 5 library analyzer.test.reflective_tests; |
| 6 | 6 |
| 7 @MirrorsUsed(metaTargets: 'ReflectiveTest') | 7 @MirrorsUsed(metaTargets: 'ReflectiveTest') |
| 8 import 'dart:mirrors'; | 8 import 'dart:mirrors'; |
| 9 import 'dart:async'; | 9 import 'dart:async'; |
| 10 | 10 |
| 11 import 'package:unittest/unittest.dart'; | 11 import 'package:unittest/unittest.dart'; |
| 12 | 12 |
| 13 /** | 13 /** |
| 14 * Runs test methods existing in the given [type]. | 14 * Runs test methods existing in the given [type]. |
| 15 * | 15 * |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 */ | 112 */ |
| 113 class ReflectiveTest { | 113 class ReflectiveTest { |
| 114 const ReflectiveTest(); | 114 const ReflectiveTest(); |
| 115 } | 115 } |
| 116 | 116 |
| 117 /** | 117 /** |
| 118 * A marker annotation used to instruct dart2js to keep reflection information | 118 * A marker annotation used to instruct dart2js to keep reflection information |
| 119 * for the annotated classes. | 119 * for the annotated classes. |
| 120 */ | 120 */ |
| 121 const ReflectiveTest reflectiveTest = const ReflectiveTest(); | 121 const ReflectiveTest reflectiveTest = const ReflectiveTest(); |
| OLD | NEW |