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.refactoring; | 5 library test.services.refactoring; |
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 'convert_getter_to_method_test.dart' as convert_getter_to_method_test; | 9 import 'convert_getter_to_method_test.dart' as convert_getter_to_method_test; |
11 import 'convert_method_to_getter_test.dart' as convert_method_to_getter_test; | 10 import 'convert_method_to_getter_test.dart' as convert_method_to_getter_test; |
12 import 'extract_local_test.dart' as extract_local_test; | 11 import 'extract_local_test.dart' as extract_local_test; |
13 import 'extract_method_test.dart' as extract_method_test; | 12 import 'extract_method_test.dart' as extract_method_test; |
14 import 'inline_local_test.dart' as inline_local_test; | 13 import 'inline_local_test.dart' as inline_local_test; |
15 import 'inline_method_test.dart' as inline_method_test; | 14 import 'inline_method_test.dart' as inline_method_test; |
16 import 'move_file_test.dart' as move_file_test; | 15 import 'move_file_test.dart' as move_file_test; |
17 import 'naming_conventions_test.dart' as naming_conventions_test; | 16 import 'naming_conventions_test.dart' as naming_conventions_test; |
18 import 'rename_class_member_test.dart' as rename_class_member_test; | 17 import 'rename_class_member_test.dart' as rename_class_member_test; |
19 import 'rename_constructor_test.dart' as rename_constructor_test; | 18 import 'rename_constructor_test.dart' as rename_constructor_test; |
20 import 'rename_import_test.dart' as rename_import_test; | 19 import 'rename_import_test.dart' as rename_import_test; |
21 import 'rename_label_test.dart' as rename_label_test; | 20 import 'rename_label_test.dart' as rename_label_test; |
22 import 'rename_library_test.dart' as rename_library_test; | 21 import 'rename_library_test.dart' as rename_library_test; |
23 import 'rename_local_test.dart' as rename_local_test; | 22 import 'rename_local_test.dart' as rename_local_test; |
24 import 'rename_unit_member_test.dart' as rename_unit_member_test; | 23 import 'rename_unit_member_test.dart' as rename_unit_member_test; |
25 | 24 |
26 /// Utility for manually running all tests. | 25 /// Utility for manually running all tests. |
27 main() { | 26 main() { |
28 initializeTestEnvironment(); | |
29 defineReflectiveSuite(() { | 27 defineReflectiveSuite(() { |
30 convert_getter_to_method_test.main(); | 28 convert_getter_to_method_test.main(); |
31 convert_method_to_getter_test.main(); | 29 convert_method_to_getter_test.main(); |
32 extract_local_test.main(); | 30 extract_local_test.main(); |
33 extract_method_test.main(); | 31 extract_method_test.main(); |
34 inline_local_test.main(); | 32 inline_local_test.main(); |
35 inline_method_test.main(); | 33 inline_method_test.main(); |
36 move_file_test.main(); | 34 move_file_test.main(); |
37 naming_conventions_test.main(); | 35 naming_conventions_test.main(); |
38 rename_class_member_test.main(); | 36 rename_class_member_test.main(); |
39 rename_constructor_test.main(); | 37 rename_constructor_test.main(); |
40 rename_import_test.main(); | 38 rename_import_test.main(); |
41 rename_label_test.main(); | 39 rename_label_test.main(); |
42 rename_library_test.main(); | 40 rename_library_test.main(); |
43 rename_local_test.main(); | 41 rename_local_test.main(); |
44 rename_unit_member_test.main(); | 42 rename_unit_member_test.main(); |
45 }, name: 'refactoring'); | 43 }, name: 'refactoring'); |
46 } | 44 } |
OLD | NEW |