[kotlin] add test data for navigation inside library

GitOrigin-RevId: b6e36ba2864cc81c70767b7277f63579d4612871
This commit is contained in:
Anna Kozlova
2024-07-05 19:49:55 +00:00
committed by intellij-monorepo-bot
parent b821dcb2e9
commit 10382be987
4 changed files with 23 additions and 0 deletions
@@ -45,6 +45,11 @@ public class ReferenceResolveInLibrarySourcesFirTestGenerated extends AbstractRe
runTest("../../idea/tests/testData/resolve/referenceInLib/toFunParameter.kt");
}
@TestMetadata("toLazyCall.kt")
public void testToLazyCall() throws Exception {
runTest("../../idea/tests/testData/resolve/referenceInLib/toLazyCall.kt");
}
@TestMetadata("toLocalFun.kt")
public void testToLocalFun() throws Exception {
runTest("../../idea/tests/testData/resolve/referenceInLib/toLocalFun.kt");
@@ -45,6 +45,11 @@ public class ReferenceResolveInLibrarySourcesTestGenerated extends AbstractRefer
runTest("testData/resolve/referenceInLib/toFunParameter.kt");
}
@TestMetadata("toLazyCall.kt")
public void testToLazyCall() throws Exception {
runTest("testData/resolve/referenceInLib/toLazyCall.kt");
}
@TestMetadata("toLocalFun.kt")
public void testToLocalFun() throws Exception {
runTest("testData/resolve/referenceInLib/toLocalFun.kt");
@@ -0,0 +1,3 @@
package inlibrary.test
val delegateMe by lazy { 1 }
@@ -0,0 +1,10 @@
import inlibrary.test.*
fun m() {
val a = delegat<caret>eMe
}
// CONTEXT: val delegateMe by la<ref-caret>zy { 1 }
// WITH_LIBRARY: inLibrarySource
// REF: (kotlin).lazy(() -> T)