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.correction; | 5 library test.services.correction; |
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 'assist_test.dart' as assist_test; | 10 import 'assist_test.dart' as assist_test; |
11 import 'change_test.dart' as change_test; | 11 import 'change_test.dart' as change_test; |
12 import 'fix_test.dart' as fix_test; | 12 import 'fix_test.dart' as fix_test; |
13 import 'levenshtein_test.dart' as levenshtein_test; | 13 import 'levenshtein_test.dart' as levenshtein_test; |
14 import 'name_suggestion_test.dart' as name_suggestion_test; | 14 import 'name_suggestion_test.dart' as name_suggestion_test; |
15 import 'organize_directives_test.dart' as organize_directives_test; | 15 import 'organize_directives_test.dart' as organize_directives_test; |
16 import 'sort_members_test.dart' as sort_members_test; | 16 import 'sort_members_test.dart' as sort_members_test; |
17 import 'source_range_test.dart' as source_range_test; | 17 import 'source_range_test.dart' as source_range_test; |
18 import 'status_test.dart' as status_test; | 18 import 'status_test.dart' as status_test; |
19 import 'strings_test.dart' as strings_test; | 19 import 'strings_test.dart' as strings_test; |
20 import 'util_test.dart' as util_test; | 20 import 'util_test.dart' as util_test; |
21 | 21 |
22 /// Utility for manually running all tests. | 22 /// Utility for manually running all tests. |
23 main() { | 23 main() { |
24 initializeTestEnvironment(); | 24 initializeTestEnvironment(); |
25 group('correction', () { | 25 defineReflectiveSuite(() { |
26 assist_test.main(); | 26 assist_test.main(); |
27 change_test.main(); | 27 change_test.main(); |
28 fix_test.main(); | 28 fix_test.main(); |
29 levenshtein_test.main(); | 29 levenshtein_test.main(); |
30 name_suggestion_test.main(); | 30 name_suggestion_test.main(); |
31 organize_directives_test.main(); | 31 organize_directives_test.main(); |
32 sort_members_test.main(); | 32 sort_members_test.main(); |
33 source_range_test.main(); | 33 source_range_test.main(); |
34 status_test.main(); | 34 status_test.main(); |
35 strings_test.main(); | 35 strings_test.main(); |
36 util_test.main(); | 36 util_test.main(); |
37 }); | 37 }, name: 'correction'); |
38 } | 38 } |
OLD | NEW |