mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 19:02:13 +07:00
test data path fixed
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
package com.intellij.refactoring;
|
||||
|
||||
import com.intellij.openapi.application.PathManager;
|
||||
import com.intellij.openapi.application.PluginPathManager;
|
||||
import com.intellij.psi.*;
|
||||
import com.intellij.psi.impl.source.PsiImmediateClassType;
|
||||
import com.intellij.psi.search.GlobalSearchScope;
|
||||
@@ -19,7 +19,7 @@ public class ChangeTypeSignatureTest extends LightCodeInsightTestCase {
|
||||
@NotNull
|
||||
@Override
|
||||
protected String getTestDataPath() {
|
||||
return PathManager.getHomePath() + "/plugins/typeMigration/testData";
|
||||
return PluginPathManager.getPluginHomePath("typeMigration") + "/testData";
|
||||
}
|
||||
|
||||
private void doTest(boolean success, String migrationTypeText) throws Exception {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.intellij.refactoring;
|
||||
|
||||
import com.intellij.openapi.application.PathManager;
|
||||
import com.intellij.openapi.application.PluginPathManager;
|
||||
import com.intellij.openapi.command.WriteCommandAction;
|
||||
import com.intellij.openapi.fileEditor.FileDocumentManager;
|
||||
import com.intellij.openapi.project.Project;
|
||||
@@ -29,7 +29,7 @@ import java.io.PrintWriter;
|
||||
public abstract class TypeMigrationTestBase extends MultiFileTestCase {
|
||||
@Override
|
||||
protected String getTestDataPath() {
|
||||
return PathManager.getHomePath() + "/plugins/typeMigration/testData";
|
||||
return PluginPathManager.getPluginHomePath("typeMigration") + "/testData";
|
||||
}
|
||||
|
||||
protected void doTestFieldType(@NonNls String fieldName, PsiType fromType, PsiType toType) {
|
||||
|
||||
Reference in New Issue
Block a user