mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix case of files in testdata
This commit is contained in:
@@ -23,7 +23,7 @@ public class ExtractMethodObjectTest extends LightCodeInsightTestCase {
|
||||
}
|
||||
|
||||
private void doTest(boolean createInnerClass) throws Exception {
|
||||
final String testName = getTestName(true);
|
||||
final String testName = getTestName(false);
|
||||
configureByFile("/refactoring/extractMethodObject/" + testName + ".java");
|
||||
PsiElement element = TargetElementUtilBase.findTargetElement(myEditor, TargetElementUtilBase.ELEMENT_NAME_ACCEPTED);
|
||||
assertTrue(element instanceof PsiMethod);
|
||||
|
||||
@@ -94,7 +94,7 @@ public class MoveMembersTest extends MultiFileTestCase {
|
||||
public void performAction(VirtualFile rootDir, VirtualFile rootAfter) throws Exception {
|
||||
MoveMembersTest.this.performAction(sourceClassName, targetClassName, memberIndices);
|
||||
}
|
||||
});
|
||||
}, false);
|
||||
}
|
||||
|
||||
private void performAction(String sourceClassName, String targetClassName, int[] memberIndices) throws Exception {
|
||||
|
||||
@@ -122,7 +122,7 @@ public class TurnRefsToSuperTest extends MultiFileTestCase {
|
||||
public void performAction(VirtualFile rootDir, VirtualFile rootAfter) throws Exception {
|
||||
TurnRefsToSuperTest.this.performAction(className, superClassName, replaceInstanceOf);
|
||||
}
|
||||
});
|
||||
}, false);
|
||||
}
|
||||
|
||||
public String getTestRoot() {
|
||||
|
||||
@@ -20,7 +20,11 @@ public abstract class MultiFileTestCase extends CodeInsightTestCase {
|
||||
protected boolean myDoCompare = true;
|
||||
|
||||
protected void doTest(PerformAction performAction) throws Exception {
|
||||
String testName = getTestName(true);
|
||||
doTest(performAction, true);
|
||||
}
|
||||
|
||||
protected void doTest(PerformAction performAction, final boolean lowercaseFirstLetter) throws Exception {
|
||||
String testName = getTestName(lowercaseFirstLetter);
|
||||
String root = getTestDataPath() + getTestRoot() + testName;
|
||||
|
||||
String rootBefore = root + "/before";
|
||||
|
||||
Reference in New Issue
Block a user