remove AUTOCOMPLETE_ON_CLASS_NAME_COMPLETION usages in tests as they make no sense anymore

This commit is contained in:
peter
2012-06-28 22:03:32 +02:00
parent 1734bf2652
commit 1dbe139fed
2 changed files with 0 additions and 25 deletions
@@ -16,7 +16,6 @@
package com.intellij.codeInsight.completion;
import com.intellij.JavaTestUtil;
import com.intellij.codeInsight.CodeInsightSettings;
import com.intellij.codeInsight.lookup.LookupManager;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.roots.LanguageLevelProjectExtension;
@@ -29,13 +28,9 @@ import java.io.IOException;
@TestDataPath("$CONTENT_ROOT/testData")
public class ClassNameCompletionTest extends LightFixtureCompletionTestCase {
protected boolean myOldSetting;
@Override
protected void setUp() throws Exception {
super.setUp();
myOldSetting = CodeInsightSettings.getInstance().AUTOCOMPLETE_ON_CLASS_NAME_COMPLETION;
CodeInsightSettings.getInstance().AUTOCOMPLETE_ON_CLASS_NAME_COMPLETION = true;
LanguageLevelProjectExtension.getInstance(getProject()).setLanguageLevel(LanguageLevel.JDK_1_7);
}
@@ -44,12 +39,6 @@ public class ClassNameCompletionTest extends LightFixtureCompletionTestCase {
return JavaTestUtil.getRelativeJavaTestDataPath() + "/codeInsight/completion/className/";
}
@Override
protected void tearDown() throws Exception {
CodeInsightSettings.getInstance().AUTOCOMPLETE_ON_CLASS_NAME_COMPLETION = myOldSetting;
super.tearDown();
}
public void testImportAfterNew() throws Exception {
createClass("package pack; public class AAClass {}");
createClass("package pack; public class WithInnerAClass{\n" +