[Analysis API] add tests for delegate field

^KT-64584
This commit is contained in:
Dmitrii Gridin
2023-12-27 17:50:23 +01:00
committed by Space Team
parent 3f337bf62d
commit 06950f57db
22 changed files with 573 additions and 2 deletions
@@ -52,6 +52,18 @@ public class FirStandaloneNormalAnalysisSourceModuleDeclaredMemberScopeTestGener
runTest("analysis/analysis-api/testData/components/scopeProvider/declaredMemberScope/class.kt");
}
@Test
@TestMetadata("delegateInterface.kt")
public void testDelegateInterface() throws Exception {
runTest("analysis/analysis-api/testData/components/scopeProvider/declaredMemberScope/delegateInterface.kt");
}
@Test
@TestMetadata("delegateInterfaceLibrary.kt")
public void testDelegateInterfaceLibrary() throws Exception {
runTest("analysis/analysis-api/testData/components/scopeProvider/declaredMemberScope/delegateInterfaceLibrary.kt");
}
@Test
@TestMetadata("enumClass.kt")
public void testEnumClass() throws Exception {
@@ -58,6 +58,12 @@ public class FirStandaloneNormalAnalysisSourceModuleDelegateMemberScopeTestGener
runTest("analysis/analysis-api/testData/components/scopeProvider/delegatedMemberScope/simple.kt");
}
@Test
@TestMetadata("simpleLibrary.kt")
public void testSimpleLibrary() throws Exception {
runTest("analysis/analysis-api/testData/components/scopeProvider/delegatedMemberScope/simpleLibrary.kt");
}
@Test
@TestMetadata("withImplicitType.kt")
public void testWithImplicitType() throws Exception {