[Analysis API FIR] fix member scope for enum entries without body

This commit is contained in:
Ilya Kirillov
2022-06-24 13:53:01 +02:00
committed by teamcity
parent 47beef16f3
commit 89ff1f0c0b
11 changed files with 375 additions and 5 deletions
@@ -46,6 +46,18 @@ public class FirStandaloneNormalAnalysisSourceModuleMemberScopeByFqNameTestGener
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/scopes/memberScopeByFqName"), Pattern.compile("^(.+)\\.kt$"), null, true);
}
@Test
@TestMetadata("emumEntryWithoutMembers.kt")
public void testEmumEntryWithoutMembers() throws Exception {
runTest("analysis/analysis-api/testData/scopes/memberScopeByFqName/emumEntryWithoutMembers.kt");
}
@Test
@TestMetadata("enumEntry.kt")
public void testEnumEntry() throws Exception {
runTest("analysis/analysis-api/testData/scopes/memberScopeByFqName/enumEntry.kt");
}
@Test
@TestMetadata("Int.kt")
public void testInt() throws Exception {