FIR IDE: add member type-alias test for FileStructureTest

This commit is contained in:
Ilya Kirillov
2021-04-12 12:57:28 +02:00
parent d438d2db40
commit ddf451739b
3 changed files with 13 additions and 0 deletions
@@ -0,0 +1,3 @@
class A {/* NonReanalyzableDeclarationStructureElement */
typealias X = Int/* NonReanalyzableDeclarationStructureElement */
}
@@ -74,6 +74,11 @@ public class FirContextCollectionTestGenerated extends AbstractFirContextCollect
runTest("idea/idea-frontend-fir/idea-fir-low-level-api/testdata/fileStructure/localProperty.kt");
}
@TestMetadata("memberTypeAlias.kt")
public void testMemberTypeAlias() throws Exception {
runTest("idea/idea-frontend-fir/idea-fir-low-level-api/testdata/fileStructure/memberTypeAlias.kt");
}
@TestMetadata("nestedClasses.kt")
public void testNestedClasses() throws Exception {
runTest("idea/idea-frontend-fir/idea-fir-low-level-api/testdata/fileStructure/nestedClasses.kt");
@@ -74,6 +74,11 @@ public class FileStructureTestGenerated extends AbstractFileStructureTest {
runTest("idea/idea-frontend-fir/idea-fir-low-level-api/testdata/fileStructure/localProperty.kt");
}
@TestMetadata("memberTypeAlias.kt")
public void testMemberTypeAlias() throws Exception {
runTest("idea/idea-frontend-fir/idea-fir-low-level-api/testdata/fileStructure/memberTypeAlias.kt");
}
@TestMetadata("nestedClasses.kt")
public void testNestedClasses() throws Exception {
runTest("idea/idea-frontend-fir/idea-fir-low-level-api/testdata/fileStructure/nestedClasses.kt");