mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] add regression quickfix test for KTIJ-23069
^KTIJ-23069 fixed GitOrigin-RevId: 38ac30e8d7479b1d393c321917999fb95afd2da0
This commit is contained in:
committed by
intellij-monorepo-bot
parent
49f6b018ee
commit
b6571c29f9
+5
@@ -3999,6 +3999,11 @@ public abstract class HighLevelQuickFixTestGenerated extends AbstractHighLevelQu
|
||||
runTest("../../../idea/tests/testData/quickfix/typeAddition/changeAccessorTypeToFunctionType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("dataClasNoParameterType.kt")
|
||||
public void testDataClasNoParameterType() throws Exception {
|
||||
runTest("../../../idea/tests/testData/quickfix/typeAddition/dataClasNoParameterType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noAddErrorType.kt")
|
||||
public void testNoAddErrorType() throws Exception {
|
||||
runTest("../../../idea/tests/testData/quickfix/typeAddition/noAddErrorType.kt");
|
||||
|
||||
+5
@@ -17543,6 +17543,11 @@ public abstract class K1QuickFixTestGenerated extends AbstractK1QuickFixTest {
|
||||
runTest("testData/quickfix/typeAddition/changeAccessorTypeToFunctionType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("dataClasNoParameterType.kt")
|
||||
public void testDataClasNoParameterType() throws Exception {
|
||||
runTest("testData/quickfix/typeAddition/dataClasNoParameterType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noAddErrorType.kt")
|
||||
public void testNoAddErrorType() throws Exception {
|
||||
runTest("testData/quickfix/typeAddition/noAddErrorType.kt");
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
// ISSUE: KTIJ-23069
|
||||
// "Add type 'Int' to parameter 'one'" "true"
|
||||
|
||||
data class dataClass(val on<caret>e = 1)
|
||||
|
||||
|
||||
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddTypeAnnotationToValueParameterFix
|
||||
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.AddTypeAnnotationToValueParameterFixFactory$AddTypeAnnotationToValueParameterFix
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// ISSUE: KTIJ-23069
|
||||
// "Add type 'Int' to parameter 'one'" "true"
|
||||
|
||||
data class dataClass(val on<caret>e: Int = 1)
|
||||
|
||||
|
||||
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddTypeAnnotationToValueParameterFix
|
||||
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.AddTypeAnnotationToValueParameterFixFactory$AddTypeAnnotationToValueParameterFix
|
||||
Reference in New Issue
Block a user