mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
[java-completion] Record tests moved to Normal14CompletionTest
Review ID: IDEA-CR-65670 GitOrigin-RevId: 398643ecdfb38801b87d85cb26e99d0ebebf8f5e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
523d69a756
commit
650ca2308e
+1
-1
@@ -2,7 +2,7 @@ class A extends Base{
|
||||
void foo(){
|
||||
B x = null;
|
||||
switch(x){
|
||||
case GOO -> <caret>
|
||||
case GOO:<caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+4
@@ -30,4 +30,8 @@ class Normal14CompletionTest extends NormalCompletionTestCase {
|
||||
void testRecordAccessorDeclaration() {
|
||||
doTest()
|
||||
}
|
||||
|
||||
void testTopLevelPublicRecord() { doTest() }
|
||||
void testTopLevelPublicRecordParenthesisExists() { doTest() }
|
||||
void testTopLevelPublicRecordBraceExists() { doTest() }
|
||||
}
|
||||
+2
-6
@@ -32,7 +32,7 @@ class NormalCompletionTest extends NormalCompletionTestCase {
|
||||
@NotNull
|
||||
@Override
|
||||
protected LightProjectDescriptor getProjectDescriptor() {
|
||||
return JAVA_15
|
||||
return JAVA_9
|
||||
}
|
||||
|
||||
void testSimple() throws Exception {
|
||||
@@ -954,7 +954,7 @@ public class ListUtils {
|
||||
@NeedsIndex.ForStandardLibrary
|
||||
void testFinalInForLoop2() throws Throwable {
|
||||
configure()
|
||||
myFixture.assertPreferredCompletionItems 1, 'finalize', 'final'
|
||||
myFixture.assertPreferredCompletionItems 0, 'finalize', 'final'
|
||||
}
|
||||
|
||||
void testOnlyClassesInExtends() throws Throwable {
|
||||
@@ -2165,8 +2165,4 @@ class Abc {
|
||||
void testTopLevelPublicClass() { doTest() }
|
||||
void testTopLevelPublicClassIdentifierExists() { doTest() }
|
||||
void testTopLevelPublicClassBraceExists() { doTest() }
|
||||
|
||||
void testTopLevelPublicRecord() { doTest() }
|
||||
void testTopLevelPublicRecordParenthesisExists() { doTest() }
|
||||
void testTopLevelPublicRecordBraceExists() { doTest() }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user