From 54e40a421baa7bdbef3349e1b164f0205ef13c7c Mon Sep 17 00:00:00 2001 From: Andrey Cherkasov Date: Tue, 30 Sep 2025 17:35:59 +0400 Subject: [PATCH] [kotlin] KTIJ-9043 Rename test data files to reflect the case instead of the issue ID IJ-CR-175211 GitOrigin-RevId: 31a23499949fc3ead4fe17983abaa4f364f65628 --- .../refactoring/introduce/ExtractionTestGenerated.java | 10 +++++----- ...kt => IntroduceInsideClassAllOccurrencesLiteral.kt} | 0 ...IntroduceInsideClassAllOccurrencesLiteral.kt.after} | 0 .../K2IntroduceVariableTestGenerated.java | 10 +++++----- 4 files changed, 10 insertions(+), 10 deletions(-) rename plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/{KTIJ-9043.kt => IntroduceInsideClassAllOccurrencesLiteral.kt} (100%) rename plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/{KTIJ-9043.kt.after => IntroduceInsideClassAllOccurrencesLiteral.kt.after} (100%) diff --git a/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/refactoring/introduce/ExtractionTestGenerated.java b/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/refactoring/introduce/ExtractionTestGenerated.java index 084a38c1c1bd..5443f87e5217 100644 --- a/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/refactoring/introduce/ExtractionTestGenerated.java +++ b/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/refactoring/introduce/ExtractionTestGenerated.java @@ -934,6 +934,11 @@ public abstract class ExtractionTestGenerated extends AbstractExtractionTest { runTest("testData/refactoring/introduceVariable/IntroduceDestructuringDeclarationAndCreateBlock.kt"); } + @TestMetadata("IntroduceInsideClassAllOccurrencesLiteral.kt") + public void testIntroduceInsideClassAllOccurrencesLiteral() throws Exception { + runTest("testData/refactoring/introduceVariable/IntroduceInsideClassAllOccurrencesLiteral.kt"); + } + @TestMetadata("IntroduceLambdaAndCreateBlock.kt") public void testIntroduceLambdaAndCreateBlock() throws Exception { runTest("testData/refactoring/introduceVariable/IntroduceLambdaAndCreateBlock.kt"); @@ -974,11 +979,6 @@ public abstract class ExtractionTestGenerated extends AbstractExtractionTest { runTest("testData/refactoring/introduceVariable/KTIJ-14455.kt"); } - @TestMetadata("KTIJ-9043.kt") - public void testKTIJ_9043() throws Exception { - runTest("testData/refactoring/introduceVariable/KTIJ-9043.kt"); - } - @TestMetadata("kt10808.kt") public void testKt10808() throws Exception { runTest("testData/refactoring/introduceVariable/kt10808.kt"); diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/KTIJ-9043.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/IntroduceInsideClassAllOccurrencesLiteral.kt similarity index 100% rename from plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/KTIJ-9043.kt rename to plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/IntroduceInsideClassAllOccurrencesLiteral.kt diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/KTIJ-9043.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/IntroduceInsideClassAllOccurrencesLiteral.kt.after similarity index 100% rename from plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/KTIJ-9043.kt.after rename to plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/IntroduceInsideClassAllOccurrencesLiteral.kt.after diff --git a/plugins/kotlin/refactorings/kotlin.refactorings.tests.k2/test/org/jetbrains/kotlin/idea/k2/refactoring/introduce/introduceVariable/K2IntroduceVariableTestGenerated.java b/plugins/kotlin/refactorings/kotlin.refactorings.tests.k2/test/org/jetbrains/kotlin/idea/k2/refactoring/introduce/introduceVariable/K2IntroduceVariableTestGenerated.java index 3f5b44023051..7a619c428a36 100644 --- a/plugins/kotlin/refactorings/kotlin.refactorings.tests.k2/test/org/jetbrains/kotlin/idea/k2/refactoring/introduce/introduceVariable/K2IntroduceVariableTestGenerated.java +++ b/plugins/kotlin/refactorings/kotlin.refactorings.tests.k2/test/org/jetbrains/kotlin/idea/k2/refactoring/introduce/introduceVariable/K2IntroduceVariableTestGenerated.java @@ -932,6 +932,11 @@ public abstract class K2IntroduceVariableTestGenerated extends AbstractK2Introdu runTest("../../idea/tests/testData/refactoring/introduceVariable/IntroduceDestructuringDeclarationAndCreateBlock.kt"); } + @TestMetadata("IntroduceInsideClassAllOccurrencesLiteral.kt") + public void testIntroduceInsideClassAllOccurrencesLiteral() throws Exception { + runTest("../../idea/tests/testData/refactoring/introduceVariable/IntroduceInsideClassAllOccurrencesLiteral.kt"); + } + @TestMetadata("IntroduceLambdaAndCreateBlock.kt") public void testIntroduceLambdaAndCreateBlock() throws Exception { runTest("../../idea/tests/testData/refactoring/introduceVariable/IntroduceLambdaAndCreateBlock.kt"); @@ -972,11 +977,6 @@ public abstract class K2IntroduceVariableTestGenerated extends AbstractK2Introdu runTest("../../idea/tests/testData/refactoring/introduceVariable/KTIJ-14455.kt"); } - @TestMetadata("KTIJ-9043.kt") - public void testKTIJ_9043() throws Exception { - runTest("../../idea/tests/testData/refactoring/introduceVariable/KTIJ-9043.kt"); - } - @TestMetadata("kt10808.kt") public void testKt10808() throws Exception { runTest("../../idea/tests/testData/refactoring/introduceVariable/kt10808.kt");