CommonIntentionActionsTest.testRemoveConstructorParameters test fix for 181, 182, as32
This commit is contained in:
@@ -315,7 +315,7 @@ class CommonIntentionActionsTest : LightPlatformCodeInsightFixtureTestCase() {
|
|||||||
myFixture.launchAction(
|
myFixture.launchAction(
|
||||||
createConstructorActions(
|
createConstructorActions(
|
||||||
myFixture.atCaret(),
|
myFixture.atCaret(),
|
||||||
constructorRequest(project, listOf(pair("param0", PsiType.INT as PsiType)))
|
constructorRequest(project, emptyList())
|
||||||
).findWithText("Remove 1st parameter from method 'Foo'")
|
).findWithText("Remove 1st parameter from method 'Foo'")
|
||||||
)
|
)
|
||||||
myFixture.checkResult("""
|
myFixture.checkResult("""
|
||||||
|
|||||||
@@ -382,7 +382,7 @@ class CommonIntentionActionsTest : LightPlatformCodeInsightFixtureTestCase() {
|
|||||||
myFixture.launchAction(
|
myFixture.launchAction(
|
||||||
createConstructorActions(
|
createConstructorActions(
|
||||||
myFixture.atCaret(),
|
myFixture.atCaret(),
|
||||||
constructorRequest(project, listOf(pair("param0", PsiType.INT as PsiType)))
|
constructorRequest(project, emptyList())
|
||||||
).findWithText("Remove 1st parameter from method 'Foo'")
|
).findWithText("Remove 1st parameter from method 'Foo'")
|
||||||
)
|
)
|
||||||
myFixture.checkResult("""
|
myFixture.checkResult("""
|
||||||
|
|||||||
@@ -302,7 +302,7 @@ class CommonIntentionActionsTest : LightPlatformCodeInsightFixtureTestCase() {
|
|||||||
myFixture.launchAction(
|
myFixture.launchAction(
|
||||||
createConstructorActions(
|
createConstructorActions(
|
||||||
myFixture.atCaret(),
|
myFixture.atCaret(),
|
||||||
constructorRequest(project, listOf(pair("param0", PsiType.INT as PsiType)))
|
constructorRequest(project, emptyList())
|
||||||
).findWithText("Remove 1st parameter from method 'Foo'")
|
).findWithText("Remove 1st parameter from method 'Foo'")
|
||||||
)
|
)
|
||||||
myFixture.checkResult("""
|
myFixture.checkResult("""
|
||||||
|
|||||||
Reference in New Issue
Block a user