[AA] Add tests for enum class member scopes

^KT-61405
This commit is contained in:
Marco Pennekamp
2023-08-24 22:01:29 +02:00
committed by Space Team
parent 3aefeb0fc5
commit 72de86a8ba
11 changed files with 1875 additions and 2 deletions
@@ -52,6 +52,24 @@ public class FirStandaloneNormalAnalysisSourceModuleMemberScopeByFqNameTestGener
runTest("analysis/analysis-api/testData/components/scopeProvider/memberScopeByFqName/dataClass.kt");
}
@Test
@TestMetadata("enumClass.kt")
public void testEnumClass() throws Exception {
runTest("analysis/analysis-api/testData/components/scopeProvider/memberScopeByFqName/enumClass.kt");
}
@Test
@TestMetadata("enumClassWithAbstractMembers.kt")
public void testEnumClassWithAbstractMembers() throws Exception {
runTest("analysis/analysis-api/testData/components/scopeProvider/memberScopeByFqName/enumClassWithAbstractMembers.kt");
}
@Test
@TestMetadata("enumClassWithFinalMembers.kt")
public void testEnumClassWithFinalMembers() throws Exception {
runTest("analysis/analysis-api/testData/components/scopeProvider/memberScopeByFqName/enumClassWithFinalMembers.kt");
}
@Test
@TestMetadata("enumEntryInitializer.kt")
public void testEnumEntryInitializer() throws Exception {