Skip to content

Commit bd70077

Browse files
srawlinsCommit Queue
authored andcommitted
analyzer: move testing utilities to analyzer_testing package
Work towards #55660 Change-Id: Iae062d95e5cf3b94b540496242b3627268ac2612 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/428844 Commit-Queue: Samuel Rawlins <[email protected]> Reviewed-by: Paul Berry <[email protected]>
1 parent 22453ba commit bd70077

32 files changed

+34
-30
lines changed

pkg/analysis_server/test/analysis_server_base.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import 'package:analyzer_testing/experiments/experiments.dart';
2222
import 'package:analyzer_testing/mock_packages/mock_packages.dart';
2323
import 'package:analyzer_testing/resource_provider_mixin.dart';
2424
import 'package:analyzer_testing/utilities/extensions/resource_provider.dart';
25-
import 'package:analyzer_utilities/testing/test_support.dart';
25+
import 'package:analyzer_testing/utilities/utilities.dart';
2626
import 'package:meta/meta.dart';
2727
import 'package:test/test.dart';
2828
import 'package:unified_analytics/unified_analytics.dart';

pkg/analysis_server/test/domain_analysis_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import 'package:analyzer/src/utilities/extensions/file_system.dart';
1515
import 'package:analyzer/utilities/package_config_file_builder.dart';
1616
import 'package:analyzer_plugin/protocol/protocol_common.dart';
1717
import 'package:analyzer_plugin/protocol/protocol_generated.dart' as plugin;
18-
import 'package:analyzer_utilities/testing/test_support.dart';
18+
import 'package:analyzer_testing/utilities/utilities.dart';
1919
import 'package:analyzer_utilities/testing/tree_string_sink.dart';
2020
import 'package:collection/collection.dart';
2121
import 'package:test/test.dart';

pkg/analysis_server/test/edit/sort_members_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import 'package:analysis_server/protocol/protocol_generated.dart';
66
import 'package:analyzer_plugin/protocol/protocol_common.dart';
7-
import 'package:analyzer_utilities/testing/test_support.dart';
7+
import 'package:analyzer_testing/utilities/utilities.dart';
88
import 'package:linter/src/lint_names.dart';
99
import 'package:linter/src/rules.dart';
1010
import 'package:test/test.dart';

pkg/analysis_server/test/integration/support/integration_tests.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import 'package:analysis_server/src/services/pub/pub_command.dart';
1313
import 'package:analyzer/file_system/physical_file_system.dart';
1414
import 'package:analyzer/src/util/file_paths.dart' as file_paths;
1515
import 'package:analyzer_testing/mock_packages/mock_packages.dart';
16-
import 'package:analyzer_utilities/testing/test_support.dart';
16+
import 'package:analyzer_testing/utilities/utilities.dart';
1717
import 'package:meta/meta.dart';
1818
import 'package:path/path.dart' as path;
1919
import 'package:test/test.dart';

pkg/analysis_server/test/services/completion/dart/declaration/closure_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:analyzer_utilities/testing/test_support.dart';
5+
import 'package:analyzer_testing/utilities/utilities.dart';
66
import 'package:linter/src/lint_names.dart';
77
import 'package:linter/src/rules.dart';
88
import 'package:test_reflective_loader/test_reflective_loader.dart';

pkg/analysis_server/test/services/correction/sort_members_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import 'package:analysis_server/src/services/correction/sort_members.dart';
66
import 'package:analyzer_plugin/protocol/protocol_common.dart';
7-
import 'package:analyzer_utilities/testing/test_support.dart';
7+
import 'package:analyzer_testing/utilities/utilities.dart';
88
import 'package:linter/src/lint_names.dart';
99
import 'package:test/test.dart';
1010
import 'package:test_reflective_loader/test_reflective_loader.dart';

pkg/analysis_server/test/services/refactoring/legacy/extract_method_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import 'package:analyzer/source/source.dart';
77
import 'package:analyzer/utilities/package_config_file_builder.dart';
88
import 'package:analyzer_plugin/protocol/protocol_common.dart';
99
import 'package:analyzer_plugin/src/utilities/string_utilities.dart';
10-
import 'package:analyzer_utilities/testing/test_support.dart';
10+
import 'package:analyzer_testing/utilities/utilities.dart';
1111
import 'package:linter/src/rules.dart';
1212
import 'package:test/test.dart';
1313
import 'package:test_reflective_loader/test_reflective_loader.dart';

pkg/analysis_server/test/src/computer/import_elements_computer_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import 'package:analysis_server/protocol/protocol_generated.dart';
66
import 'package:analysis_server/src/computer/import_elements_computer.dart';
77
import 'package:analyzer/utilities/package_config_file_builder.dart';
88
import 'package:analyzer_plugin/protocol/protocol_common.dart';
9-
import 'package:analyzer_utilities/testing/test_support.dart';
9+
import 'package:analyzer_testing/utilities/utilities.dart';
1010
import 'package:linter/src/rules.dart';
1111
import 'package:test/test.dart';
1212
import 'package:test_reflective_loader/test_reflective_loader.dart';

pkg/analysis_server/test/src/services/correction/fix/add_missing_required_argument_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import 'package:analysis_server/src/services/correction/fix.dart';
66
import 'package:analyzer_plugin/utilities/fixes/fixes.dart';
7-
import 'package:analyzer_utilities/testing/test_support.dart';
7+
import 'package:analyzer_testing/utilities/utilities.dart';
88
import 'package:test_reflective_loader/test_reflective_loader.dart';
99

1010
import 'fix_processor.dart';

pkg/analyzer/test/generated/error_suppression_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
import 'package:analyzer/src/error/codes.dart';
6-
import 'package:analyzer_utilities/testing/test_support.dart';
6+
import 'package:analyzer_testing/utilities/utilities.dart';
77
import 'package:linter/src/lint_codes.dart';
88
import 'package:test_reflective_loader/test_reflective_loader.dart';
99

0 commit comments

Comments
 (0)