And one more split test
This commit is contained in:
@@ -1,31 +1,17 @@
|
||||
Searched inheritors of pack.A
|
||||
Searched inheritors of pack.B
|
||||
Searched inheritors of pack.C
|
||||
Searched references to JavaClass.getA() in Kotlin files
|
||||
Searched references to a in Kotlin files
|
||||
Searched references to a in Kotlin files
|
||||
Searched references to a1 in Kotlin files
|
||||
Searched references to f() in Kotlin files
|
||||
Searched references to g() in Kotlin files
|
||||
Searched references to h() in Kotlin files
|
||||
Searched references to list in Kotlin files
|
||||
Searched references to listOfA() in Kotlin files
|
||||
Searched references to pack.A
|
||||
Searched references to pack.B
|
||||
Searched references to pack.C
|
||||
Searched references to pack.C.component1() in Kotlin files
|
||||
Searched references to parameter a in B() in Kotlin files
|
||||
Searched references to parameter a in null in Kotlin files
|
||||
Searched references to parameter b in pack.f() in Kotlin files
|
||||
Searched references to parameter c in pack.f() in Kotlin files
|
||||
Used plain search in LocalSearchScope:
|
||||
CLASS:A
|
||||
FUN:ext1
|
||||
FUN:ext1
|
||||
FUN:x
|
||||
KtWhenEntry "else"
|
||||
KtWhenEntry "is A"
|
||||
Used plain search in LocalSearchScope:
|
||||
CLASS:B
|
||||
Used plain search in LocalSearchScope:
|
||||
CLASS:C
|
||||
KtWhenEntry "is A"
|
||||
+1
-3
@@ -14,6 +14,4 @@
|
||||
[dataClass.2.kt] Value read 5 a.n
|
||||
[dataClass.2.kt] Value read 53 val (x, y) = o
|
||||
[dataClass.2.kt] Value read 8 val (x, y, z) = a
|
||||
[dataClass.2.kt] Value read 9 val (x1, y1, z1) = f()
|
||||
[dataClass.3.kt] Value read 12 val (x, y, z) = a
|
||||
[dataClass.3.kt] Value read 15 val (x1, y1, z1) = a1
|
||||
[dataClass.2.kt] Value read 9 val (x1, y1, z1) = f()
|
||||
+3
-1
@@ -1,5 +1,7 @@
|
||||
package pack
|
||||
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtParameter
|
||||
// OPTIONS: usages
|
||||
|
||||
data class A(val <caret>x: Int, val y: Int, val z: String)
|
||||
data class B(val a: A, val n: Int)
|
||||
|
||||
class C {
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
Searched inheritors of A
|
||||
Searched inheritors of B
|
||||
Searched inheritors of C
|
||||
Searched references to A
|
||||
Searched references to B
|
||||
Searched references to C
|
||||
Searched references to C.component1() in Kotlin files
|
||||
Searched references to a in Kotlin files
|
||||
Searched references to a1 in Kotlin files
|
||||
Searched references to parameter a in B() in Kotlin files
|
||||
Searched references to parameter b in f() in Kotlin files
|
||||
Searched references to parameter c in f() in Kotlin files
|
||||
Used plain search in LocalSearchScope:
|
||||
CLASS:A
|
||||
Used plain search in LocalSearchScope:
|
||||
CLASS:B
|
||||
Used plain search in LocalSearchScope:
|
||||
CLASS:C
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
Value read 14 val (x, y, z) = a
|
||||
Value read 17 val (x1, y1, z1) = a1
|
||||
@@ -200,6 +200,12 @@ public class FindUsagesTestGenerated extends AbstractFindUsagesTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("dataClassInsideDataClass.0.kt")
|
||||
public void testDataClassInsideDataClass() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/findUsages/kotlin/conventions/components/dataClassInsideDataClass.0.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("extensionComponentFun.0.kt")
|
||||
public void testExtensionComponentFun() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/findUsages/kotlin/conventions/components/extensionComponentFun.0.kt");
|
||||
|
||||
Reference in New Issue
Block a user