Test for showing kotlin enums with "Show Inherited" option enabled in file structure view
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
-InheritedMembersOfEnum.kt
|
||||
-Test
|
||||
equals(Any?): Boolean location=→Any
|
||||
hashCode(): Int location=→Any
|
||||
name(): String location=→Enum
|
||||
ordinal(): Int location=→Enum
|
||||
toString(): String location=→Any
|
||||
@@ -0,0 +1,6 @@
|
||||
enum class Test {
|
||||
FIRST
|
||||
SECOND
|
||||
}
|
||||
|
||||
// WITH_INHERITED
|
||||
+5
@@ -81,6 +81,11 @@ public class KotlinFileStructureTestGenerated extends AbstractKotlinFileStructur
|
||||
doTest("idea/testData/structureView/fileStructure/InheritedMembers.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InheritedMembersOfEnum.kt")
|
||||
public void testInheritedMembersOfEnum() throws Exception {
|
||||
doTest("idea/testData/structureView/fileStructure/InheritedMembersOfEnum.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InheritedMembersWithSubstitutedTypes.kt")
|
||||
public void testInheritedMembersWithSubstitutedTypes() throws Exception {
|
||||
doTest("idea/testData/structureView/fileStructure/InheritedMembersWithSubstitutedTypes.kt");
|
||||
|
||||
Reference in New Issue
Block a user