mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
one less test
This commit is contained in:
+3
-7
@@ -141,20 +141,16 @@ public class JavadocCompletionTest extends LightFixtureCompletionTestCase {
|
||||
boolean old = CodeInsightSettings.getInstance().AUTOCOMPLETE_ON_CODE_COMPLETION;
|
||||
CodeInsightSettings.getInstance().AUTOCOMPLETE_ON_CODE_COMPLETION = false;
|
||||
try {
|
||||
checkFinishWithSharp(CompletionType.BASIC);
|
||||
checkFinishWithSharp();
|
||||
}
|
||||
finally {
|
||||
CodeInsightSettings.getInstance().AUTOCOMPLETE_ON_CODE_COMPLETION = old;
|
||||
}
|
||||
}
|
||||
|
||||
public void testFinishWithSharpClassName() throws Throwable {
|
||||
checkFinishWithSharp(CompletionType.CLASS_NAME);
|
||||
}
|
||||
|
||||
private void checkFinishWithSharp(CompletionType completionType) throws Exception {
|
||||
private void checkFinishWithSharp() throws Exception {
|
||||
myFixture.configureByFile("FinishWithSharp.java");
|
||||
myFixture.complete(completionType);
|
||||
myFixture.completeBasic();
|
||||
type('#');
|
||||
checkResultByFile("FinishWithSharp_after.java");
|
||||
final List<LookupElement> items = getLookup().getItems();
|
||||
|
||||
Reference in New Issue
Block a user