mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] Add test with mutable list
^KTIJ-31955 Fixed GitOrigin-RevId: 3bcf5bca06237c08d54e4528f382cf09ea476c2b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
da65c14e88
commit
58b4770d49
+5
@@ -1784,6 +1784,11 @@ public abstract class SharedK1LocalInspectionTestGenerated extends AbstractShare
|
||||
public void testReverseImmutableList() throws Exception {
|
||||
runTest("../testData/inspectionsLocal/javaCollectionsStaticMethodOnImmutableList/reverseImmutableList.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("reverseMutableList.kt")
|
||||
public void testReverseMutableList() throws Exception {
|
||||
runTest("../testData/inspectionsLocal/javaCollectionsStaticMethodOnImmutableList/reverseMutableList.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
|
||||
+5
@@ -1784,6 +1784,11 @@ public abstract class SharedK2LocalInspectionTestGenerated extends AbstractShare
|
||||
public void testReverseImmutableList() throws Exception {
|
||||
runTest("../testData/inspectionsLocal/javaCollectionsStaticMethodOnImmutableList/reverseImmutableList.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("reverseMutableList.kt")
|
||||
public void testReverseMutableList() throws Exception {
|
||||
runTest("../testData/inspectionsLocal/javaCollectionsStaticMethodOnImmutableList/reverseMutableList.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// WITH_STDLIB
|
||||
// PROBLEM: none
|
||||
import java.util.Collections
|
||||
|
||||
fun test() {
|
||||
val mutableList = mutableListOf(1, 2)
|
||||
Collections.reverse<caret>(mutableList)
|
||||
}
|
||||
Reference in New Issue
Block a user