mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
rename: ignore refactoring conflicts in tests based on property
This commit is contained in:
@@ -136,7 +136,8 @@ public class RenameProcessor extends BaseRefactoringProcessor {
|
||||
.conflictsDetected("refactoring.rename", conflictData);
|
||||
|
||||
if (ApplicationManager.getApplication().isUnitTestMode()) {
|
||||
throw new ConflictsInTestsException(conflicts.values());
|
||||
if (!ConflictsInTestsException.isTestIgnore()) throw new ConflictsInTestsException(conflicts.values());
|
||||
return true;
|
||||
}
|
||||
ConflictsDialog conflictsDialog = prepareConflictsDialog(conflicts, refUsages.get());
|
||||
if (!conflictsDialog.showAndGet()) {
|
||||
|
||||
Reference in New Issue
Block a user