Convert to primary constructor preserves accessors #KT-17996 Fixed

This commit is contained in:
Dmitry Neverov
2017-05-29 07:34:09 +03:00
committed by Mikhail Glukhikh
parent 4346fb5c23
commit b206f6288d
6 changed files with 65 additions and 1 deletions
@@ -5867,6 +5867,18 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
doTest(fileName);
}
@TestMetadata("propertyWithGetter.kt")
public void testPropertyWithGetter() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/intentions/convertSecondaryConstructorToPrimary/propertyWithGetter.kt");
doTest(fileName);
}
@TestMetadata("propertyWithSetter.kt")
public void testPropertyWithSetter() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/intentions/convertSecondaryConstructorToPrimary/propertyWithSetter.kt");
doTest(fileName);
}
@TestMetadata("protectedConstructor.kt")
public void testProtectedConstructor() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/intentions/convertSecondaryConstructorToPrimary/protectedConstructor.kt");