OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 5 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
6 | 6 |
| 7 import '../tool/spec/check_all_test.dart' as check_spec; |
7 import 'plugin/test_all.dart' as plugin; | 8 import 'plugin/test_all.dart' as plugin; |
8 import 'src/test_all.dart' as src; | 9 import 'src/test_all.dart' as src; |
9 import 'utilities/test_all.dart' as utilities; | 10 import 'utilities/test_all.dart' as utilities; |
10 | 11 |
11 main() { | 12 main() { |
12 defineReflectiveSuite(() { | 13 defineReflectiveSuite(() { |
13 plugin.main(); | 14 plugin.main(); |
14 src.main(); | 15 src.main(); |
15 utilities.main(); | 16 utilities.main(); |
| 17 defineReflectiveSuite(() { |
| 18 defineReflectiveTests(SpecTest); |
| 19 }, name: 'spec'); |
16 }, name: 'analyzer_plugin'); | 20 }, name: 'analyzer_plugin'); |
17 } | 21 } |
| 22 |
| 23 @reflectiveTest |
| 24 class SpecTest { |
| 25 test_specHasBeenGenerated() { |
| 26 check_spec.main(); |
| 27 } |
| 28 } |
OLD | NEW |