OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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.src.test_all; | 5 library analyzer.test.src.test_all; |
6 | 6 |
7 import 'package:unittest/unittest.dart'; | 7 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
8 | 8 |
9 import '../utils.dart'; | 9 import '../utils.dart'; |
10 import 'context/test_all.dart' as context; | 10 import 'context/test_all.dart' as context; |
11 import 'dart/test_all.dart' as dart; | 11 import 'dart/test_all.dart' as dart; |
12 import 'plugin/plugin_config_test.dart' as plugin; | 12 import 'plugin/plugin_config_test.dart' as plugin; |
13 import 'source/test_all.dart' as source; | 13 import 'source/test_all.dart' as source; |
14 import 'summary/test_all.dart' as summary; | 14 import 'summary/test_all.dart' as summary; |
15 import 'task/test_all.dart' as task; | 15 import 'task/test_all.dart' as task; |
16 import 'util/test_all.dart' as util; | 16 import 'util/test_all.dart' as util; |
17 | 17 |
18 /// Utility for manually running all tests. | 18 /// Utility for manually running all tests. |
19 main() { | 19 main() { |
20 initializeTestEnvironment(); | 20 initializeTestEnvironment(); |
21 group('src tests', () { | 21 defineReflectiveSuite(() { |
22 context.main(); | 22 context.main(); |
23 dart.main(); | 23 dart.main(); |
24 plugin.main(); | 24 plugin.main(); |
25 source.main(); | 25 source.main(); |
26 summary.main(); | 26 summary.main(); |
27 task.main(); | 27 task.main(); |
28 util.main(); | 28 util.main(); |
29 }); | 29 }, name: 'src'); |
30 } | 30 } |
OLD | NEW |