mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
fix tests
This commit is contained in:
@@ -405,8 +405,12 @@ public class RenameProcessor extends BaseRefactoringProcessor {
|
||||
}
|
||||
|
||||
protected void prepareTestRun() {
|
||||
if (!PsiElementRenameHandler.canRename(myProject, null, myPrimaryElement)) return;
|
||||
prepareRenaming(myPrimaryElement, myNewName, myAllRenames);
|
||||
try {
|
||||
if (!PsiElementRenameHandler.canRename(myProject, null, myPrimaryElement)) return;
|
||||
prepareRenaming(myPrimaryElement, myNewName, myAllRenames);
|
||||
}
|
||||
catch (CommonRefactoringUtil.RefactoringErrorHintException e) { // unit test mode
|
||||
}
|
||||
}
|
||||
|
||||
public Collection<String> getNewNames() {
|
||||
|
||||
Reference in New Issue
Block a user