Minor: Add test for now-obsolete KT-8035 "Extended class is not open" quickfix fails on nested classes "
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
|||||||
|
// "Make 'B' open" "true"
|
||||||
|
class A {
|
||||||
|
class B
|
||||||
|
}
|
||||||
|
|
||||||
|
class C : <caret>A.B()
|
||||||
+6
@@ -0,0 +1,6 @@
|
|||||||
|
// "Make 'B' open" "true"
|
||||||
|
class A {
|
||||||
|
open class B
|
||||||
|
}
|
||||||
|
|
||||||
|
class C : <caret>A.B()
|
||||||
@@ -5161,6 +5161,12 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest {
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("nestedFinalClass.kt")
|
||||||
|
public void testNestedFinalClass() throws Exception {
|
||||||
|
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/quickfix/modifiers/addOpenToClassDeclaration/nestedFinalClass.kt");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("secondaryCtrDelegationInHeader.kt")
|
@TestMetadata("secondaryCtrDelegationInHeader.kt")
|
||||||
public void testSecondaryCtrDelegationInHeader() throws Exception {
|
public void testSecondaryCtrDelegationInHeader() throws Exception {
|
||||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/quickfix/modifiers/addOpenToClassDeclaration/secondaryCtrDelegationInHeader.kt");
|
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/quickfix/modifiers/addOpenToClassDeclaration/secondaryCtrDelegationInHeader.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user