Create class quick fix: suggest on supertype entry

#KT-32511 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-02-28 22:58:02 +09:00
committed by Yan Zhulanow
parent 4973d3c359
commit 21d6d50241
13 changed files with 107 additions and 19 deletions
@@ -3277,9 +3277,34 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/testData/quickfix/createFromUsage/createClass/delegationSpecifier"), Pattern.compile("^([\\w\\-_]+)\\.kt$"), null, true);
}
@TestMetadata("classDelegatorToSuperclass.kt")
public void testClassDelegatorToSuperclass() throws Exception {
runTest("idea/testData/quickfix/createFromUsage/createClass/delegationSpecifier/classDelegatorToSuperclass.kt");
@TestMetadata("createSuperClassFromSuperTypeEntry.kt")
public void testCreateSuperClassFromSuperTypeEntry() throws Exception {
runTest("idea/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry.kt");
}
@TestMetadata("createSuperClassFromSuperTypeEntry2.kt")
public void testCreateSuperClassFromSuperTypeEntry2() throws Exception {
runTest("idea/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry2.kt");
}
@TestMetadata("createSuperClassFromSuperTypeEntry3.kt")
public void testCreateSuperClassFromSuperTypeEntry3() throws Exception {
runTest("idea/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry3.kt");
}
@TestMetadata("createSuperClassFromSuperTypeEntryForAnnotation.kt")
public void testCreateSuperClassFromSuperTypeEntryForAnnotation() throws Exception {
runTest("idea/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntryForAnnotation.kt");
}
@TestMetadata("createSuperClassFromSuperTypeEntryForEnum.kt")
public void testCreateSuperClassFromSuperTypeEntryForEnum() throws Exception {
runTest("idea/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntryForEnum.kt");
}
@TestMetadata("createSuperClassFromSuperTypeEntryForInline.kt")
public void testCreateSuperClassFromSuperTypeEntryForInline() throws Exception {
runTest("idea/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntryForInline.kt");
}
@TestMetadata("createSuperclassInsideSubclass.kt")