Files
openide/java/java-tests/testSrc/com/intellij/codeInsight/intention/CopyAbstractMethodImplementationTest.java
Alexey Kudravtsev 901ef122e4 @Override inserted
2010-09-30 10:35:32 +04:00

34 lines
1020 B
Java

package com.intellij.codeInsight.intention;
import com.intellij.codeInsight.daemon.LightIntentionActionTestCase;
import com.intellij.psi.codeStyle.CodeStyleSettings;
import com.intellij.psi.codeStyle.CodeStyleSettingsManager;
/**
* @author yole
*/
public class CopyAbstractMethodImplementationTest extends LightIntentionActionTestCase {
@Override
protected String getBasePath() {
return "/codeInsight/daemonCodeAnalyzer/quickFix/copyAbstractMethodImplementation";
}
@Override
protected void setUp() throws Exception {
super.setUp();
CodeStyleSettings settings = CodeStyleSettingsManager.getSettings(getProject()).clone();
settings.INSERT_OVERRIDE_ANNOTATION = false;
CodeStyleSettingsManager.getInstance(getProject()).setTemporarySettings(settings);
}
@Override
protected void tearDown() throws Exception {
CodeStyleSettingsManager.getInstance(getProject()).dropTemporarySettings();
super.tearDown();
}
public void test() throws Exception {
doAllTests();
}
}