Convert to secondary constructor: suggest on class name

#KT-40861 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-09-08 09:26:19 +09:00
committed by Dmitry Gridin
parent 2c5c15f503
commit ce407471ec
7 changed files with 70 additions and 31 deletions
@@ -5962,6 +5962,26 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
runTest("idea/testData/intentions/convertPrimaryConstructorToSecondary/annotationClass.kt");
}
@TestMetadata("caretOnClassBody.kt")
public void testCaretOnClassBody() throws Exception {
runTest("idea/testData/intentions/convertPrimaryConstructorToSecondary/caretOnClassBody.kt");
}
@TestMetadata("caretOnClassName.kt")
public void testCaretOnClassName() throws Exception {
runTest("idea/testData/intentions/convertPrimaryConstructorToSecondary/caretOnClassName.kt");
}
@TestMetadata("caretOnClassNameWithConstructorKeyword.kt")
public void testCaretOnClassNameWithConstructorKeyword() throws Exception {
runTest("idea/testData/intentions/convertPrimaryConstructorToSecondary/caretOnClassNameWithConstructorKeyword.kt");
}
@TestMetadata("caretOnClassNameWithoutPrimaryConstructor.kt")
public void testCaretOnClassNameWithoutPrimaryConstructor() throws Exception {
runTest("idea/testData/intentions/convertPrimaryConstructorToSecondary/caretOnClassNameWithoutPrimaryConstructor.kt");
}
@TestMetadata("dataClass.kt")
public void testDataClass() throws Exception {
runTest("idea/testData/intentions/convertPrimaryConstructorToSecondary/dataClass.kt");