Fixed AddFunctionParametersFix test data output

This commit is contained in:
Vladimir Dolzhenko
2020-11-24 16:07:12 +01:00
committed by Dmitriy Novozhilov
parent 406e863a73
commit 17e6e88176
19 changed files with 20 additions and 20 deletions
@@ -1,4 +1,4 @@
// "Add 'int' as 1st parameter to method 'K'" "true"
// "Add 'int' as 1st parameter to constructor 'K'" "true"
public class J {
void foo() {
@@ -1,4 +1,4 @@
// "Add 'int' as 1st parameter to method 'K'" "true"
// "Add 'int' as 1st parameter to constructor 'K'" "true"
public class J {
void foo() {
@@ -1,4 +1,4 @@
// "Add 'int' as 1st parameter to method 'K'" "true"
// "Add 'int' as 1st parameter to constructor 'K'" "true"
public class J {
void foo() {
@@ -1,4 +1,4 @@
// "Add 'int' as 1st parameter to method 'K'" "true"
// "Add 'int' as 1st parameter to constructor 'K'" "true"
public class J {
void foo() {
@@ -1,4 +1,4 @@
// "Add 'int' as 1st parameter to method 'K'" "true"
// "Add 'int' as 1st parameter to constructor 'K'" "true"
public class J {
void foo() {
@@ -1,4 +1,4 @@
// "Add 'int' as 1st parameter to method 'K'" "true"
// "Add 'int' as 1st parameter to constructor 'K'" "true"
public class J {
void foo() {
@@ -1,4 +1,4 @@
// "Change 2nd parameter of method 'K' from 'boolean' to 'String'" "true"
// "Change 2nd parameter of constructor 'K' from 'boolean' to 'String'" "true"
public class J {
void foo() {
@@ -1,4 +1,4 @@
// "Change 2nd parameter of method 'K' from 'boolean' to 'String'" "true"
// "Change 2nd parameter of constructor 'K' from 'boolean' to 'String'" "true"
public class J {
void foo() {
@@ -1,4 +1,4 @@
// "Change 2nd parameter of method 'K' from 'boolean' to 'String'" "true"
// "Change 2nd parameter of constructor 'K' from 'boolean' to 'String'" "true"
public class J {
void foo() {
@@ -1,4 +1,4 @@
// "Change 2nd parameter of method 'K' from 'boolean' to 'String'" "true"
// "Change 2nd parameter of constructor 'K' from 'boolean' to 'String'" "true"
public class J {
void foo() {
@@ -1,4 +1,4 @@
// "Add 'int' as 1st parameter to method 'Foo'" "true"
// "Add 'int' as 1st parameter to constructor 'Foo'" "true"
public class J {
void test() {
@@ -1,4 +1,4 @@
// "Add 'int' as 1st parameter to method 'Foo'" "true"
// "Add 'int' as 1st parameter to constructor 'Foo'" "true"
public class J {
void test() {
@@ -1,4 +1,4 @@
// "Add 'int' as 2nd parameter to method 'Foo'" "true"
// "Add 'int' as 2nd parameter to constructor 'Foo'" "true"
public class J {
void test() {
@@ -1,4 +1,4 @@
// "Add 'int' as 2nd parameter to method 'Foo'" "true"
// "Add 'int' as 2nd parameter to constructor 'Foo'" "true"
public class J {
void test() {
@@ -1,4 +1,4 @@
// "Remove 1st parameter from method 'K'" "true"
// "Remove 1st parameter from constructor 'K'" "true"
public class J {
void foo() {
@@ -1,4 +1,4 @@
// "Remove 1st parameter from method 'K'" "true"
// "Remove 1st parameter from constructor 'K'" "true"
public class J {
void foo() {
@@ -1,4 +1,4 @@
// "Remove 1st parameter from method 'K'" "true"
// "Remove 1st parameter from constructor 'K'" "true"
public class J {
void foo() {
@@ -1,4 +1,4 @@
// "Remove 1st parameter from method 'K'" "true"
// "Remove 1st parameter from constructor 'K'" "true"
public class J {
void foo() {
@@ -497,7 +497,7 @@ class CommonIntentionActionsTest : LightPlatformCodeInsightFixtureTestCase() {
createConstructorActions(
myFixture.atCaret(),
constructorRequest(project, listOf(pair("param0", PsiType.INT as PsiType)))
).findWithText("Add 'int' as 1st parameter to method 'Foo'")
).findWithText("Add 'int' as 1st parameter to constructor 'Foo'")
)
myFixture.checkResult(
"""
@@ -519,7 +519,7 @@ class CommonIntentionActionsTest : LightPlatformCodeInsightFixtureTestCase() {
createConstructorActions(
myFixture.atCaret(),
constructorRequest(project, emptyList())
).findWithText("Remove 1st parameter from method 'Foo'")
).findWithText("Remove 1st parameter from constructor 'Foo'")
)
myFixture.checkResult(
"""