Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Unified Diff: pkg/analysis_server/test/services/correction/fix_test.dart

Issue 2616163002: Remove REPLACE_IMPORT_URI Quick Fix. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analysis_server/lib/src/services/correction/util.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/services/correction/fix_test.dart
diff --git a/pkg/analysis_server/test/services/correction/fix_test.dart b/pkg/analysis_server/test/services/correction/fix_test.dart
index 8ee469034577df205564da2c085ea52bfa4f6232..1f1cecc93e2377d437aa280f102eda69396a51db 100644
--- a/pkg/analysis_server/test/services/correction/fix_test.dart
+++ b/pkg/analysis_server/test/services/correction/fix_test.dart
@@ -4059,33 +4059,6 @@ main() {
''');
}
- test_replaceImportUri_inProject() async {
- testFile = '/project/bin/test.dart';
- addSource('/project/foo/bar/lib.dart', '');
- await resolveTestUnit('''
-import 'no/matter/lib.dart';
-''');
- performAllAnalysisTasks();
- await assertHasFix(
- DartFixKind.REPLACE_IMPORT_URI,
- '''
-import '../foo/bar/lib.dart';
-''');
- }
-
- test_replaceImportUri_package() async {
- _configureMyPkg({'my_lib.dart': ''});
- await resolveTestUnit('''
-import 'no/matter/my_lib.dart';
-''');
- performAllAnalysisTasks();
- await assertHasFix(
- DartFixKind.REPLACE_IMPORT_URI,
- '''
-import 'package:my_pkg/my_lib.dart';
-''');
- }
-
test_replaceVarWithDynamic() async {
errorFilter = (AnalysisError error) {
return error.errorCode == ParserErrorCode.VAR_AS_TYPE_NAME;
@@ -5392,18 +5365,6 @@ class FixProcessorTest_Driver extends FixProcessorTest {
test_createFile_forPart_inPackageLib() {
return super.test_createFile_forPart_inPackageLib();
}
-
- @failingTest
- @override
- test_replaceImportUri_inProject() {
- return super.test_replaceImportUri_inProject();
- }
-
- @failingTest
- @override
- test_replaceImportUri_package() {
- return super.test_replaceImportUri_package();
- }
}
@reflectiveTest
« no previous file with comments | « pkg/analysis_server/lib/src/services/correction/util.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698