Files
openide/testSource/com/intellij/refactoring/IntroduceFieldInSameClassTest.java
2005-02-03 20:14:30 +03:00

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);
}
}