From d57f6a6a69fb793964a0dcc6f4215525ae4ea11f Mon Sep 17 00:00:00 2001 From: "alexey.afanasiev" Date: Mon, 12 Feb 2018 15:25:18 +0300 Subject: [PATCH] Support creating fields and constants from Java to Groovy IDEA-CR-29223 (IDEA-186327) --- .../introduceParameter/GrIntroduceParameterInClosureTest.groovy | 2 +- .../introduceParameter/GrIntroduceParameterTest.groovy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/groovy/test/org/jetbrains/plugins/groovy/refactoring/introduceParameter/GrIntroduceParameterInClosureTest.groovy b/plugins/groovy/test/org/jetbrains/plugins/groovy/refactoring/introduceParameter/GrIntroduceParameterInClosureTest.groovy index 1162a809f304..aebb784376cd 100644 --- a/plugins/groovy/test/org/jetbrains/plugins/groovy/refactoring/introduceParameter/GrIntroduceParameterInClosureTest.groovy +++ b/plugins/groovy/test/org/jetbrains/plugins/groovy/refactoring/introduceParameter/GrIntroduceParameterInClosureTest.groovy @@ -40,7 +40,7 @@ class GrIntroduceParameterInClosureTest extends LightCodeInsightFixtureTestCase final boolean generateDelegate, String before, String after) { - myFixture.configureByText('Before.groovy', before) + myFixture.configureByText('before.groovy', before) GrIntroduceParameterTest.execute(replaceFieldsWithGetters, removeUnusedParameters, declareFinal, conflicts, generateDelegate, getProject(), myFixture.getEditor(), myFixture.getFile()) diff --git a/plugins/groovy/test/org/jetbrains/plugins/groovy/refactoring/introduceParameter/GrIntroduceParameterTest.groovy b/plugins/groovy/test/org/jetbrains/plugins/groovy/refactoring/introduceParameter/GrIntroduceParameterTest.groovy index e8d4daf67a52..cc53dfb9fb8d 100644 --- a/plugins/groovy/test/org/jetbrains/plugins/groovy/refactoring/introduceParameter/GrIntroduceParameterTest.groovy +++ b/plugins/groovy/test/org/jetbrains/plugins/groovy/refactoring/introduceParameter/GrIntroduceParameterTest.groovy @@ -81,7 +81,7 @@ class GrIntroduceParameterTest extends LightGroovyTestCase { final boolean declareFinal, @Nullable final String conflicts, final boolean generateDelegate, String before, String after) { - myFixture.configureByText('Before.groovy', before) + myFixture.configureByText('before.groovy', before) execute(replaceFieldsWithGetters, removeUnusedParameters, declareFinal, conflicts, generateDelegate, getProject(), myFixture.getEditor(), myFixture.getFile())