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 test.services; | 5 library test.services; |
6 | 6 |
7 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 7 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
8 | 8 |
9 import '../utils.dart'; | |
10 import 'completion/test_all.dart' as completion_all; | 9 import 'completion/test_all.dart' as completion_all; |
11 import 'correction/test_all.dart' as correction_all; | 10 import 'correction/test_all.dart' as correction_all; |
12 import 'dependencies/test_all.dart' as dependencies_all; | 11 import 'dependencies/test_all.dart' as dependencies_all; |
13 import 'index/test_all.dart' as index_all; | 12 import 'index/test_all.dart' as index_all; |
14 import 'linter/linter_test.dart' as linter_all; | 13 import 'linter/linter_test.dart' as linter_all; |
15 import 'refactoring/test_all.dart' as refactoring_all; | 14 import 'refactoring/test_all.dart' as refactoring_all; |
16 import 'search/test_all.dart' as search_all; | 15 import 'search/test_all.dart' as search_all; |
17 | 16 |
18 /// Utility for manually running all tests. | 17 /// Utility for manually running all tests. |
19 main() { | 18 main() { |
20 initializeTestEnvironment(); | |
21 defineReflectiveSuite(() { | 19 defineReflectiveSuite(() { |
22 completion_all.main(); | 20 completion_all.main(); |
23 correction_all.main(); | 21 correction_all.main(); |
24 dependencies_all.main(); | 22 dependencies_all.main(); |
25 index_all.main(); | 23 index_all.main(); |
26 linter_all.main(); | 24 linter_all.main(); |
27 refactoring_all.main(); | 25 refactoring_all.main(); |
28 search_all.main(); | 26 search_all.main(); |
29 }); | 27 }); |
30 } | 28 } |
OLD | NEW |