cleanup [java-completion]: testNoExtraArrowMultiCaret moved to KeywordCompletionTest, as it tests the behavior of JavaKeywordCompletion

GitOrigin-RevId: a3c921269ba508dcfc89438adad9a5f3bb285b17
This commit is contained in:
Tagir Valeev
2025-11-14 19:28:51 +00:00
committed by intellij-monorepo-bot
parent 037c6620e3
commit de1ceeaf66
4 changed files with 3 additions and 2 deletions
@@ -172,6 +172,9 @@ public class KeywordCompletionTest extends LightCompletionTestCase {
checkResultByTestName();
}
@NeedsIndex.ForStandardLibrary
public void testNoExtraArrowMultiCaret() { doTest(); }
public void testNoPrimitivesInBooleanAnnotationAttribute() { doTest(1, "true", "int", "boolean"); }
public void testNoPrimitivesInIntAnnotationValueAttribute() { doTest(0, "true", "int", "boolean"); }
public void testNoPrimitivesInEnumAnnotationAttribute() { doTest(0, "true", "int", "boolean"); }
@@ -116,8 +116,6 @@ public class NormalSwitchCompletionTest extends NormalCompletionTestCase {
public void testDefaultAfterNotNull() { doTest(); }
public void testDefaultAfterDefault() { doTest(); }
@NeedsIndex.ForStandardLibrary
public void testNoExtraArrowMultiCaret() { doTest(); }
public void testClassEnumInSwitchInJava20() {
IdeaTestUtil.withLevel(myFixture.getModule(), LanguageLevel.JDK_20, () -> doTest());
}