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.completion.dart; | 5 library test.services.completion.dart; |
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 'arglist_contributor_test.dart' as arglist_test; | 10 import 'arglist_contributor_test.dart' as arglist_test; |
11 import 'combinator_contributor_test.dart' as combinator_test; | 11 import 'combinator_contributor_test.dart' as combinator_test; |
12 import 'common_usage_sorter_test.dart' as common_usage_test; | 12 import 'common_usage_sorter_test.dart' as common_usage_test; |
13 import 'completion_manager_test.dart' as completion_manager; | 13 import 'completion_manager_test.dart' as completion_manager; |
14 import 'field_formal_contributor_test.dart' as field_formal_contributor_test; | 14 import 'field_formal_contributor_test.dart' as field_formal_contributor_test; |
15 import 'imported_reference_contributor_test.dart' as imported_ref_test; | 15 import 'imported_reference_contributor_test.dart' as imported_ref_test; |
16 import 'inherited_reference_contributor_test.dart' as inherited_ref_test; | 16 import 'inherited_reference_contributor_test.dart' as inherited_ref_test; |
17 import 'keyword_contributor_test.dart' as keyword_test; | 17 import 'keyword_contributor_test.dart' as keyword_test; |
18 import 'label_contributor_test.dart' as label_contributor_test; | 18 import 'label_contributor_test.dart' as label_contributor_test; |
19 import 'library_member_contributor_test.dart' as library_member_test; | 19 import 'library_member_contributor_test.dart' as library_member_test; |
20 import 'library_prefix_contributor_test.dart' as library_prefix_test; | 20 import 'library_prefix_contributor_test.dart' as library_prefix_test; |
21 import 'local_constructor_contributor_test.dart' as local_constructor_test; | 21 import 'local_constructor_contributor_test.dart' as local_constructor_test; |
22 import 'local_declaration_visitor_test.dart' as local_decl_visitor_test; | 22 import 'local_declaration_visitor_test.dart' as local_decl_visitor_test; |
23 import 'local_library_contributor_test.dart' as local_lib_test; | 23 import 'local_library_contributor_test.dart' as local_lib_test; |
24 import 'local_reference_contributor_test.dart' as local_ref_test; | 24 import 'local_reference_contributor_test.dart' as local_ref_test; |
25 import 'named_constructor_contributor_test.dart' as named_contributor_test; | 25 import 'named_constructor_contributor_test.dart' as named_contributor_test; |
26 import 'optype_test.dart' as optype_test; | 26 import 'optype_test.dart' as optype_test; |
27 import 'override_contributor_test.dart' as override_contributor_test; | 27 import 'override_contributor_test.dart' as override_contributor_test; |
28 import 'static_member_contributor_test.dart' as static_contributor_test; | 28 import 'static_member_contributor_test.dart' as static_contributor_test; |
29 import 'type_member_contributor_test.dart' as type_member_contributor_test; | 29 import 'type_member_contributor_test.dart' as type_member_contributor_test; |
30 import 'uri_contributor_test.dart' as uri_contributor_test; | 30 import 'uri_contributor_test.dart' as uri_contributor_test; |
31 import 'variable_name_contributor_test.dart' as variable_name_contributor_test; | 31 import 'variable_name_contributor_test.dart' as variable_name_contributor_test; |
32 | 32 |
33 /// Utility for manually running all tests. | 33 /// Utility for manually running all tests. |
34 main() { | 34 main() { |
35 initializeTestEnvironment(); | 35 initializeTestEnvironment(); |
36 group('dart/completion', () { | 36 defineReflectiveSuite(() { |
37 arglist_test.main(); | 37 arglist_test.main(); |
38 combinator_test.main(); | 38 combinator_test.main(); |
39 common_usage_test.main(); | 39 common_usage_test.main(); |
40 completion_manager.main(); | 40 completion_manager.main(); |
41 field_formal_contributor_test.main(); | 41 field_formal_contributor_test.main(); |
42 imported_ref_test.main(); | 42 imported_ref_test.main(); |
43 inherited_ref_test.main(); | 43 inherited_ref_test.main(); |
44 keyword_test.main(); | 44 keyword_test.main(); |
45 label_contributor_test.main(); | 45 label_contributor_test.main(); |
46 library_member_test.main(); | 46 library_member_test.main(); |
47 library_prefix_test.main(); | 47 library_prefix_test.main(); |
48 local_constructor_test.main(); | 48 local_constructor_test.main(); |
49 local_decl_visitor_test.main(); | 49 local_decl_visitor_test.main(); |
50 local_lib_test.main(); | 50 local_lib_test.main(); |
51 local_ref_test.main(); | 51 local_ref_test.main(); |
52 named_contributor_test.main(); | 52 named_contributor_test.main(); |
53 optype_test.main(); | 53 optype_test.main(); |
54 override_contributor_test.main(); | 54 override_contributor_test.main(); |
55 static_contributor_test.main(); | 55 static_contributor_test.main(); |
56 type_member_contributor_test.main(); | 56 type_member_contributor_test.main(); |
57 uri_contributor_test.main(); | 57 uri_contributor_test.main(); |
58 variable_name_contributor_test.main(); | 58 variable_name_contributor_test.main(); |
59 }); | 59 }, name: 'dart'); |
60 } | 60 } |
OLD | NEW |