mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-19 01:09:52 +07:00
29 lines
773 B
Java
29 lines
773 B
Java
package com.intellij.codeInsight.daemon.quickFix;
|
|
|
|
import com.intellij.psi.codeStyle.CodeStyleSettingsManager;
|
|
|
|
/**
|
|
* @author ven
|
|
*/
|
|
public class CreateLocalFromUsageTest extends LightQuickFixParameterizedTestCase {
|
|
|
|
@Override
|
|
protected void setUp() throws Exception {
|
|
super.setUp();
|
|
CodeStyleSettingsManager.getSettings(getProject()).GENERATE_FINAL_LOCALS = getTestName(true).contains("final");
|
|
}
|
|
|
|
@Override
|
|
protected void tearDown() throws Exception {
|
|
CodeStyleSettingsManager.getSettings(getProject()).GENERATE_FINAL_LOCALS = false;
|
|
super.tearDown();
|
|
}
|
|
|
|
public void test() throws Exception { doAllTests(); }
|
|
|
|
@Override
|
|
protected String getBasePath() {
|
|
return "/codeInsight/daemonCodeAnalyzer/quickFix/createLocalFromUsage";
|
|
}
|
|
}
|