mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
18 lines
528 B
Java
18 lines
528 B
Java
package com.intellij.refactoring;
|
|
|
|
import com.intellij.codeInsight.CodeInsightTestCase;
|
|
|
|
/**
|
|
* @author ven
|
|
*/
|
|
public class IntroduceFieldInSameClassTest extends CodeInsightTestCase {
|
|
public void testInClassInitializer () throws Exception {
|
|
configureByFile("/refactoring/introduceField/before1.java");
|
|
performRefactoring();
|
|
checkResultByFile("/refactoring/introduceField/after1.java");
|
|
}
|
|
|
|
private void performRefactoring() {
|
|
new MockIntroduceFieldHandler().invoke(myProject, myEditor, myFile, null);
|
|
}
|
|
} |