From 096df919729b720e9957577a4c824e6e04717954 Mon Sep 17 00:00:00 2001 From: Valentin Kipyatkov Date: Tue, 12 May 2015 13:57:45 +0300 Subject: [PATCH] Renamed intentions package --- idea/src/META-INF/plugin.xml | 10 +- .../ReplaceBinaryInfixIntention.kt | 2 +- .../ReplaceContainsIntention.kt | 2 +- .../ReplaceGetIntention.kt | 2 +- .../ReplaceInvokeIntention.kt | 2 +- .../ReplaceUnaryPrefixIntention.kt | 2 +- .../kotlin/idea/intentions/inspections.kt | 2 +- .../replaceBinaryInfixIntention/.intention | 1 - .../replaceContainsIntention/.intention | 1 - .../replaceGetIntention/.intention | 1 - .../replaceInvokeIntention/.intention | 1 - .../replaceUnaryPrefixIntention/.intention | 1 - .../replaceBinaryInfixIntention/.intention | 1 + .../acceptableVararg1.kt | 0 .../acceptableVararg1.kt.after | 0 .../acceptableVararg2.kt | 0 .../acceptableVararg2.kt.after | 0 .../allowableDefaultArgument.kt | 0 .../allowableDefaultArgument.kt.after | 0 .../divSanityTest.kt | 0 .../divSanityTest.kt.after | 0 .../extensionFunction.kt | 0 .../extensionFunction.kt.after | 0 .../functionLiteralArgument.kt | 0 .../functionLiteralArgument.kt.after | 0 .../minusSanityTest.kt | 0 .../minusSanityTest.kt.after | 0 .../missingDefaultArgument.kt | 0 .../modSanityTest.kt | 0 .../modSanityTest.kt.after | 0 .../multipleArguments.kt | 0 .../plusSanityTest.kt | 0 .../plusSanityTest.kt.after | 0 .../rangeToSanityTest.kt | 0 .../rangeToSanityTest.kt.after | 0 .../timesSanityTest.kt | 0 .../timesSanityTest.kt.after | 0 .../typeArguments.kt | 0 .../unacceptableVararg1.kt | 0 .../unacceptableVararg2.kt | 0 .../validNamedArgument.kt | 0 .../validNamedArgument.kt.after | 0 .../replaceContainsIntention/.intention | 1 + .../acceptableVararg.kt | 0 .../acceptableVararg.kt.after | 0 .../acceptableVararg2.kt | 0 .../acceptableVararg2.kt.after | 0 .../allowableDefaultArgument.kt | 0 .../allowableDefaultArgument.kt.after | 0 .../containsInExpression.kt | 0 .../containsInExpression.kt.after | 0 .../extensionFunction.kt | 0 .../extensionFunction.kt.after | 0 .../functionLiteralArgument.kt | 0 .../functionLiteralArgument.kt.after | 0 .../functionLiteralArgumentAfterSemicolon.kt | 0 ...tionLiteralArgumentAfterSemicolon.kt.after | 0 .../functionLiteralArgumentAtStartOfBlock.kt | 0 ...tionLiteralArgumentAtStartOfBlock.kt.after | 0 .../functionLiteralArgumentInExpression.kt | 0 ...nctionLiteralArgumentInExpression.kt.after | 0 .../invalidArgument.kt | 0 .../missingArgument.kt | 0 .../missingDefaultArgument.kt | 0 .../multipleArguments.kt | 0 .../simpleArgument.kt | 0 .../simpleArgument.kt.after | 0 .../replaceContainsIntention/typeArguments.kt | 0 .../typeArguments.kt.after | 0 .../unacceptableVararg1.kt | 0 .../unacceptableVararg2.kt | 0 .../validNamedArgument.kt | 0 .../validNamedArgument.kt.after | 0 .../replaceGetIntention/.intention | 1 + .../replaceGetIntention/acceptableVararg.kt | 0 .../acceptableVararg.kt.after | 0 .../argumentAndFunction.kt | 0 .../argumentAndFunction.kt.after | 0 .../replaceGetIntention/duplicateArguments.kt | 0 .../replaceGetIntention/extensionFunction.kt | 0 .../extensionFunction.kt.after | 0 .../replaceGetIntention/functionalArgument.kt | 0 .../functionalArgument.kt.after | 0 .../inspectionData/expected.xml | 0 .../inspectionData/inspections.test | 0 .../replaceGetIntention/invalidArgument.kt | 0 .../missingDefaultArgument.kt | 0 .../replaceGetIntention/multiArgument.kt | 0 .../multiArgument.kt.after | 0 .../replaceGetIntention/noArgument.kt | 0 .../replaceGetIntention/sanityCheck.kt | 0 .../replaceGetIntention/singleArgument.kt | 0 .../singleArgument.kt.after | 0 .../replaceGetIntention/unacceptableVararg.kt | 0 .../replaceGetIntention/unnamedAndNamed.kt | 0 .../replaceInvokeIntention/.intention | 1 + .../expressionReceiver.kt | 0 .../expressionReceiver.kt.after | 0 .../extensionFunction.kt | 0 .../extensionFunction.kt.after | 0 .../functionLiteralInvoke.kt | 0 .../functionLiteralInvoke.kt.after | 0 .../invokeInExpression.kt | 0 .../invokeInExpression.kt.after | 0 .../namedArgumentInvoke.kt | 0 .../namedArgumentInvoke.kt.after | 0 .../noArgumentInvoke.kt | 0 .../noArgumentInvoke.kt.after | 0 .../typeAndValueArgument.kt | 0 .../typeAndValueArgument.kt.after | 0 .../typeArgumentAndFunctionLiteral.kt | 0 .../typeArgumentAndFunctionLiteral.kt.after | 0 .../valueAndFunctionLiteralInvoke.kt | 0 .../valueAndFunctionLiteralInvoke.kt.after | 0 .../valueArgumentInvoke.kt | 0 .../valueArgumentInvoke.kt.after | 0 .../replaceInvokeIntention/varargInvoke.kt | 0 .../varargInvoke.kt.after | 0 .../replaceUnaryPrefixIntention/.intention | 1 + .../acceptableVararg.kt | 0 .../acceptableVararg.kt.after | 0 .../complexPlus.kt | 0 .../complexPlus.kt.after | 0 .../defaultArgument.kt | 0 .../defaultArgument.kt.after | 0 .../extensionFunction.kt | 0 .../extensionFunction.kt.after | 0 .../functionLiteralArgument.kt | 0 .../minusSanityTest.kt | 0 .../minusSanityTest.kt.after | 0 .../namedValueArgument.kt | 0 .../notSanityTest.kt | 0 .../notSanityTest.kt.after | 0 .../replaceUnaryPrefixIntention/plusPlus.kt | 0 .../plusPlus.kt.after | 0 .../plusSanityTest.kt | 0 .../plusSanityTest.kt.after | 0 .../typeArguments.kt | 0 .../unacceptableVararg.kt | 0 .../valueArgument.kt | 0 .../JetInspectionTestGenerated.java | 12 +- .../intentions/IntentionTestGenerated.java | 974 +++++++++--------- 142 files changed, 509 insertions(+), 509 deletions(-) rename idea/src/org/jetbrains/kotlin/idea/intentions/{attributeCallReplacements => conventionNameCalls}/ReplaceBinaryInfixIntention.kt (97%) rename idea/src/org/jetbrains/kotlin/idea/intentions/{attributeCallReplacements => conventionNameCalls}/ReplaceContainsIntention.kt (97%) rename idea/src/org/jetbrains/kotlin/idea/intentions/{attributeCallReplacements => conventionNameCalls}/ReplaceGetIntention.kt (96%) rename idea/src/org/jetbrains/kotlin/idea/intentions/{attributeCallReplacements => conventionNameCalls}/ReplaceInvokeIntention.kt (95%) rename idea/src/org/jetbrains/kotlin/idea/intentions/{attributeCallReplacements => conventionNameCalls}/ReplaceUnaryPrefixIntention.kt (96%) delete mode 100644 idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/.intention delete mode 100644 idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/.intention delete mode 100644 idea/testData/intentions/attributeCallReplacements/replaceGetIntention/.intention delete mode 100644 idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/.intention delete mode 100644 idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/.intention create mode 100644 idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/.intention rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/acceptableVararg1.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/acceptableVararg1.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/acceptableVararg2.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/acceptableVararg2.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/allowableDefaultArgument.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/allowableDefaultArgument.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/divSanityTest.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/divSanityTest.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/extensionFunction.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/extensionFunction.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/functionLiteralArgument.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/functionLiteralArgument.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/minusSanityTest.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/minusSanityTest.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/missingDefaultArgument.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/modSanityTest.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/modSanityTest.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/multipleArguments.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/plusSanityTest.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/plusSanityTest.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/rangeToSanityTest.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/rangeToSanityTest.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/timesSanityTest.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/timesSanityTest.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/typeArguments.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/unacceptableVararg1.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/unacceptableVararg2.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/validNamedArgument.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceBinaryInfixIntention/validNamedArgument.kt.after (100%) create mode 100644 idea/testData/intentions/conventionNameCalls/replaceContainsIntention/.intention rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/acceptableVararg.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/acceptableVararg.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/acceptableVararg2.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/acceptableVararg2.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/allowableDefaultArgument.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/allowableDefaultArgument.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/containsInExpression.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/containsInExpression.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/extensionFunction.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/extensionFunction.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/functionLiteralArgument.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/functionLiteralArgument.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/functionLiteralArgumentAfterSemicolon.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/functionLiteralArgumentAfterSemicolon.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/functionLiteralArgumentAtStartOfBlock.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/functionLiteralArgumentAtStartOfBlock.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/functionLiteralArgumentInExpression.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/functionLiteralArgumentInExpression.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/invalidArgument.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/missingArgument.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/missingDefaultArgument.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/multipleArguments.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/simpleArgument.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/simpleArgument.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/typeArguments.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/typeArguments.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/unacceptableVararg1.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/unacceptableVararg2.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/validNamedArgument.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceContainsIntention/validNamedArgument.kt.after (100%) create mode 100644 idea/testData/intentions/conventionNameCalls/replaceGetIntention/.intention rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceGetIntention/acceptableVararg.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceGetIntention/acceptableVararg.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceGetIntention/argumentAndFunction.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceGetIntention/argumentAndFunction.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceGetIntention/duplicateArguments.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceGetIntention/extensionFunction.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceGetIntention/extensionFunction.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceGetIntention/functionalArgument.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceGetIntention/functionalArgument.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceGetIntention/inspectionData/expected.xml (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceGetIntention/inspectionData/inspections.test (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceGetIntention/invalidArgument.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceGetIntention/missingDefaultArgument.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceGetIntention/multiArgument.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceGetIntention/multiArgument.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceGetIntention/noArgument.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceGetIntention/sanityCheck.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceGetIntention/singleArgument.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceGetIntention/singleArgument.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceGetIntention/unacceptableVararg.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceGetIntention/unnamedAndNamed.kt (100%) create mode 100644 idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/.intention rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/expressionReceiver.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/expressionReceiver.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/extensionFunction.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/extensionFunction.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/functionLiteralInvoke.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/functionLiteralInvoke.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/invokeInExpression.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/invokeInExpression.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/namedArgumentInvoke.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/namedArgumentInvoke.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/noArgumentInvoke.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/noArgumentInvoke.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/typeAndValueArgument.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/typeAndValueArgument.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/typeArgumentAndFunctionLiteral.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/typeArgumentAndFunctionLiteral.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/valueAndFunctionLiteralInvoke.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/valueAndFunctionLiteralInvoke.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/valueArgumentInvoke.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/valueArgumentInvoke.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/varargInvoke.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceInvokeIntention/varargInvoke.kt.after (100%) create mode 100644 idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/.intention rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceUnaryPrefixIntention/acceptableVararg.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceUnaryPrefixIntention/acceptableVararg.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceUnaryPrefixIntention/complexPlus.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceUnaryPrefixIntention/complexPlus.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceUnaryPrefixIntention/defaultArgument.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceUnaryPrefixIntention/defaultArgument.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceUnaryPrefixIntention/extensionFunction.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceUnaryPrefixIntention/extensionFunction.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceUnaryPrefixIntention/functionLiteralArgument.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceUnaryPrefixIntention/minusSanityTest.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceUnaryPrefixIntention/minusSanityTest.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceUnaryPrefixIntention/namedValueArgument.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceUnaryPrefixIntention/notSanityTest.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceUnaryPrefixIntention/notSanityTest.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceUnaryPrefixIntention/plusPlus.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceUnaryPrefixIntention/plusPlus.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceUnaryPrefixIntention/plusSanityTest.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceUnaryPrefixIntention/plusSanityTest.kt.after (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceUnaryPrefixIntention/typeArguments.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceUnaryPrefixIntention/unacceptableVararg.kt (100%) rename idea/testData/intentions/{attributeCallReplacements => conventionNameCalls}/replaceUnaryPrefixIntention/valueArgument.kt (100%) diff --git a/idea/src/META-INF/plugin.xml b/idea/src/META-INF/plugin.xml index c148b697138..0c092f23647 100644 --- a/idea/src/META-INF/plugin.xml +++ b/idea/src/META-INF/plugin.xml @@ -536,27 +536,27 @@ - org.jetbrains.kotlin.idea.intentions.attributeCallReplacements.ReplaceGetIntention + org.jetbrains.kotlin.idea.intentions.conventionNameCalls.ReplaceGetIntention Kotlin - org.jetbrains.kotlin.idea.intentions.attributeCallReplacements.ReplaceContainsIntention + org.jetbrains.kotlin.idea.intentions.conventionNameCalls.ReplaceContainsIntention Kotlin - org.jetbrains.kotlin.idea.intentions.attributeCallReplacements.ReplaceInvokeIntention + org.jetbrains.kotlin.idea.intentions.conventionNameCalls.ReplaceInvokeIntention Kotlin - org.jetbrains.kotlin.idea.intentions.attributeCallReplacements.ReplaceUnaryPrefixIntention + org.jetbrains.kotlin.idea.intentions.conventionNameCalls.ReplaceUnaryPrefixIntention Kotlin - org.jetbrains.kotlin.idea.intentions.attributeCallReplacements.ReplaceBinaryInfixIntention + org.jetbrains.kotlin.idea.intentions.conventionNameCalls.ReplaceBinaryInfixIntention Kotlin diff --git a/idea/src/org/jetbrains/kotlin/idea/intentions/attributeCallReplacements/ReplaceBinaryInfixIntention.kt b/idea/src/org/jetbrains/kotlin/idea/intentions/conventionNameCalls/ReplaceBinaryInfixIntention.kt similarity index 97% rename from idea/src/org/jetbrains/kotlin/idea/intentions/attributeCallReplacements/ReplaceBinaryInfixIntention.kt rename to idea/src/org/jetbrains/kotlin/idea/intentions/conventionNameCalls/ReplaceBinaryInfixIntention.kt index 5b0d322941d..4c97bc4e600 100644 --- a/idea/src/org/jetbrains/kotlin/idea/intentions/attributeCallReplacements/ReplaceBinaryInfixIntention.kt +++ b/idea/src/org/jetbrains/kotlin/idea/intentions/conventionNameCalls/ReplaceBinaryInfixIntention.kt @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.jetbrains.kotlin.idea.intentions.attributeCallReplacements +package org.jetbrains.kotlin.idea.intentions.conventionNameCalls import com.intellij.openapi.editor.Editor import org.jetbrains.kotlin.idea.intentions.JetSelfTargetingOffsetIndependentIntention diff --git a/idea/src/org/jetbrains/kotlin/idea/intentions/attributeCallReplacements/ReplaceContainsIntention.kt b/idea/src/org/jetbrains/kotlin/idea/intentions/conventionNameCalls/ReplaceContainsIntention.kt similarity index 97% rename from idea/src/org/jetbrains/kotlin/idea/intentions/attributeCallReplacements/ReplaceContainsIntention.kt rename to idea/src/org/jetbrains/kotlin/idea/intentions/conventionNameCalls/ReplaceContainsIntention.kt index 6cbd3b978c2..8b7fd5371c2 100644 --- a/idea/src/org/jetbrains/kotlin/idea/intentions/attributeCallReplacements/ReplaceContainsIntention.kt +++ b/idea/src/org/jetbrains/kotlin/idea/intentions/conventionNameCalls/ReplaceContainsIntention.kt @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.jetbrains.kotlin.idea.intentions.attributeCallReplacements +package org.jetbrains.kotlin.idea.intentions.conventionNameCalls import com.intellij.openapi.editor.Editor import org.jetbrains.kotlin.idea.intentions.JetSelfTargetingOffsetIndependentIntention diff --git a/idea/src/org/jetbrains/kotlin/idea/intentions/attributeCallReplacements/ReplaceGetIntention.kt b/idea/src/org/jetbrains/kotlin/idea/intentions/conventionNameCalls/ReplaceGetIntention.kt similarity index 96% rename from idea/src/org/jetbrains/kotlin/idea/intentions/attributeCallReplacements/ReplaceGetIntention.kt rename to idea/src/org/jetbrains/kotlin/idea/intentions/conventionNameCalls/ReplaceGetIntention.kt index 4e7e9a7f70c..1de67312b27 100644 --- a/idea/src/org/jetbrains/kotlin/idea/intentions/attributeCallReplacements/ReplaceGetIntention.kt +++ b/idea/src/org/jetbrains/kotlin/idea/intentions/conventionNameCalls/ReplaceGetIntention.kt @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.jetbrains.kotlin.idea.intentions.attributeCallReplacements +package org.jetbrains.kotlin.idea.intentions.conventionNameCalls import com.intellij.openapi.editor.Editor import org.jetbrains.kotlin.idea.intentions.JetSelfTargetingOffsetIndependentIntention diff --git a/idea/src/org/jetbrains/kotlin/idea/intentions/attributeCallReplacements/ReplaceInvokeIntention.kt b/idea/src/org/jetbrains/kotlin/idea/intentions/conventionNameCalls/ReplaceInvokeIntention.kt similarity index 95% rename from idea/src/org/jetbrains/kotlin/idea/intentions/attributeCallReplacements/ReplaceInvokeIntention.kt rename to idea/src/org/jetbrains/kotlin/idea/intentions/conventionNameCalls/ReplaceInvokeIntention.kt index 7ddbe70e13b..0fdc9df1da4 100644 --- a/idea/src/org/jetbrains/kotlin/idea/intentions/attributeCallReplacements/ReplaceInvokeIntention.kt +++ b/idea/src/org/jetbrains/kotlin/idea/intentions/conventionNameCalls/ReplaceInvokeIntention.kt @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.jetbrains.kotlin.idea.intentions.attributeCallReplacements +package org.jetbrains.kotlin.idea.intentions.conventionNameCalls import com.intellij.openapi.editor.Editor import org.jetbrains.kotlin.idea.intentions.JetSelfTargetingOffsetIndependentIntention diff --git a/idea/src/org/jetbrains/kotlin/idea/intentions/attributeCallReplacements/ReplaceUnaryPrefixIntention.kt b/idea/src/org/jetbrains/kotlin/idea/intentions/conventionNameCalls/ReplaceUnaryPrefixIntention.kt similarity index 96% rename from idea/src/org/jetbrains/kotlin/idea/intentions/attributeCallReplacements/ReplaceUnaryPrefixIntention.kt rename to idea/src/org/jetbrains/kotlin/idea/intentions/conventionNameCalls/ReplaceUnaryPrefixIntention.kt index 2f1925db378..e7b914a0b2b 100644 --- a/idea/src/org/jetbrains/kotlin/idea/intentions/attributeCallReplacements/ReplaceUnaryPrefixIntention.kt +++ b/idea/src/org/jetbrains/kotlin/idea/intentions/conventionNameCalls/ReplaceUnaryPrefixIntention.kt @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.jetbrains.kotlin.idea.intentions.attributeCallReplacements +package org.jetbrains.kotlin.idea.intentions.conventionNameCalls import com.intellij.openapi.editor.Editor import org.jetbrains.kotlin.idea.intentions.JetSelfTargetingOffsetIndependentIntention diff --git a/idea/src/org/jetbrains/kotlin/idea/intentions/inspections.kt b/idea/src/org/jetbrains/kotlin/idea/intentions/inspections.kt index 4e4df91286d..5e16b686033 100644 --- a/idea/src/org/jetbrains/kotlin/idea/intentions/inspections.kt +++ b/idea/src/org/jetbrains/kotlin/idea/intentions/inspections.kt @@ -18,7 +18,7 @@ package org.jetbrains.kotlin.idea.intentions import com.intellij.codeInspection.ProblemHighlightType import org.jetbrains.kotlin.idea.inspections.IntentionBasedInspection -import org.jetbrains.kotlin.idea.intentions.attributeCallReplacements.ReplaceGetIntention +import org.jetbrains.kotlin.idea.intentions.conventionNameCalls.ReplaceGetIntention import org.jetbrains.kotlin.idea.intentions.branchedTransformations.intentions.IfThenToElvisIntention import org.jetbrains.kotlin.idea.intentions.branchedTransformations.intentions.IfThenToSafeAccessIntention import org.jetbrains.kotlin.idea.intentions.branchedTransformations.intentions.IntroduceWhenSubjectIntention diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/.intention b/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/.intention deleted file mode 100644 index f3775b2cb33..00000000000 --- a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/.intention +++ /dev/null @@ -1 +0,0 @@ -org.jetbrains.kotlin.idea.intentions.attributeCallReplacements.ReplaceBinaryInfixIntention diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/.intention b/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/.intention deleted file mode 100644 index ff0a202579b..00000000000 --- a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/.intention +++ /dev/null @@ -1 +0,0 @@ -org.jetbrains.kotlin.idea.intentions.attributeCallReplacements.ReplaceContainsIntention diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/.intention b/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/.intention deleted file mode 100644 index f3429fda20d..00000000000 --- a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/.intention +++ /dev/null @@ -1 +0,0 @@ -org.jetbrains.kotlin.idea.intentions.attributeCallReplacements.ReplaceGetIntention diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/.intention b/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/.intention deleted file mode 100644 index 356a056cad2..00000000000 --- a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/.intention +++ /dev/null @@ -1 +0,0 @@ -org.jetbrains.kotlin.idea.intentions.attributeCallReplacements.ReplaceInvokeIntention diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/.intention b/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/.intention deleted file mode 100644 index 5f14587eb83..00000000000 --- a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/.intention +++ /dev/null @@ -1 +0,0 @@ -org.jetbrains.kotlin.idea.intentions.attributeCallReplacements.ReplaceUnaryPrefixIntention diff --git a/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/.intention b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/.intention new file mode 100644 index 00000000000..16bd9dc4655 --- /dev/null +++ b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/.intention @@ -0,0 +1 @@ +org.jetbrains.kotlin.idea.intentions.conventionNameCalls.ReplaceBinaryInfixIntention diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/acceptableVararg1.kt b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/acceptableVararg1.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/acceptableVararg1.kt rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/acceptableVararg1.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/acceptableVararg1.kt.after b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/acceptableVararg1.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/acceptableVararg1.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/acceptableVararg1.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/acceptableVararg2.kt b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/acceptableVararg2.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/acceptableVararg2.kt rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/acceptableVararg2.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/acceptableVararg2.kt.after b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/acceptableVararg2.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/acceptableVararg2.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/acceptableVararg2.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/allowableDefaultArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/allowableDefaultArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/allowableDefaultArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/allowableDefaultArgument.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/allowableDefaultArgument.kt.after b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/allowableDefaultArgument.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/allowableDefaultArgument.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/allowableDefaultArgument.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/divSanityTest.kt b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/divSanityTest.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/divSanityTest.kt rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/divSanityTest.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/divSanityTest.kt.after b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/divSanityTest.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/divSanityTest.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/divSanityTest.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/extensionFunction.kt b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/extensionFunction.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/extensionFunction.kt rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/extensionFunction.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/extensionFunction.kt.after b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/extensionFunction.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/extensionFunction.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/extensionFunction.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/functionLiteralArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/functionLiteralArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/functionLiteralArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/functionLiteralArgument.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/functionLiteralArgument.kt.after b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/functionLiteralArgument.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/functionLiteralArgument.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/functionLiteralArgument.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/minusSanityTest.kt b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/minusSanityTest.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/minusSanityTest.kt rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/minusSanityTest.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/minusSanityTest.kt.after b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/minusSanityTest.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/minusSanityTest.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/minusSanityTest.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/missingDefaultArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/missingDefaultArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/missingDefaultArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/missingDefaultArgument.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/modSanityTest.kt b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/modSanityTest.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/modSanityTest.kt rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/modSanityTest.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/modSanityTest.kt.after b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/modSanityTest.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/modSanityTest.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/modSanityTest.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/multipleArguments.kt b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/multipleArguments.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/multipleArguments.kt rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/multipleArguments.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/plusSanityTest.kt b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/plusSanityTest.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/plusSanityTest.kt rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/plusSanityTest.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/plusSanityTest.kt.after b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/plusSanityTest.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/plusSanityTest.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/plusSanityTest.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/rangeToSanityTest.kt b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/rangeToSanityTest.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/rangeToSanityTest.kt rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/rangeToSanityTest.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/rangeToSanityTest.kt.after b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/rangeToSanityTest.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/rangeToSanityTest.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/rangeToSanityTest.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/timesSanityTest.kt b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/timesSanityTest.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/timesSanityTest.kt rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/timesSanityTest.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/timesSanityTest.kt.after b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/timesSanityTest.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/timesSanityTest.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/timesSanityTest.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/typeArguments.kt b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/typeArguments.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/typeArguments.kt rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/typeArguments.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/unacceptableVararg1.kt b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/unacceptableVararg1.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/unacceptableVararg1.kt rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/unacceptableVararg1.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/unacceptableVararg2.kt b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/unacceptableVararg2.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/unacceptableVararg2.kt rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/unacceptableVararg2.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/validNamedArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/validNamedArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/validNamedArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/validNamedArgument.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/validNamedArgument.kt.after b/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/validNamedArgument.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/validNamedArgument.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/validNamedArgument.kt.after diff --git a/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/.intention b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/.intention new file mode 100644 index 00000000000..aa7bfecd7fb --- /dev/null +++ b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/.intention @@ -0,0 +1 @@ +org.jetbrains.kotlin.idea.intentions.conventionNameCalls.ReplaceContainsIntention diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/acceptableVararg.kt b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/acceptableVararg.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/acceptableVararg.kt rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/acceptableVararg.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/acceptableVararg.kt.after b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/acceptableVararg.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/acceptableVararg.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/acceptableVararg.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/acceptableVararg2.kt b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/acceptableVararg2.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/acceptableVararg2.kt rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/acceptableVararg2.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/acceptableVararg2.kt.after b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/acceptableVararg2.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/acceptableVararg2.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/acceptableVararg2.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/allowableDefaultArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/allowableDefaultArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/allowableDefaultArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/allowableDefaultArgument.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/allowableDefaultArgument.kt.after b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/allowableDefaultArgument.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/allowableDefaultArgument.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/allowableDefaultArgument.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/containsInExpression.kt b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/containsInExpression.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/containsInExpression.kt rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/containsInExpression.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/containsInExpression.kt.after b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/containsInExpression.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/containsInExpression.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/containsInExpression.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/extensionFunction.kt b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/extensionFunction.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/extensionFunction.kt rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/extensionFunction.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/extensionFunction.kt.after b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/extensionFunction.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/extensionFunction.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/extensionFunction.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/functionLiteralArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/functionLiteralArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/functionLiteralArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/functionLiteralArgument.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/functionLiteralArgument.kt.after b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/functionLiteralArgument.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/functionLiteralArgument.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/functionLiteralArgument.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/functionLiteralArgumentAfterSemicolon.kt b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/functionLiteralArgumentAfterSemicolon.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/functionLiteralArgumentAfterSemicolon.kt rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/functionLiteralArgumentAfterSemicolon.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/functionLiteralArgumentAfterSemicolon.kt.after b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/functionLiteralArgumentAfterSemicolon.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/functionLiteralArgumentAfterSemicolon.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/functionLiteralArgumentAfterSemicolon.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/functionLiteralArgumentAtStartOfBlock.kt b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/functionLiteralArgumentAtStartOfBlock.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/functionLiteralArgumentAtStartOfBlock.kt rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/functionLiteralArgumentAtStartOfBlock.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/functionLiteralArgumentAtStartOfBlock.kt.after b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/functionLiteralArgumentAtStartOfBlock.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/functionLiteralArgumentAtStartOfBlock.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/functionLiteralArgumentAtStartOfBlock.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/functionLiteralArgumentInExpression.kt b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/functionLiteralArgumentInExpression.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/functionLiteralArgumentInExpression.kt rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/functionLiteralArgumentInExpression.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/functionLiteralArgumentInExpression.kt.after b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/functionLiteralArgumentInExpression.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/functionLiteralArgumentInExpression.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/functionLiteralArgumentInExpression.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/invalidArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/invalidArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/invalidArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/invalidArgument.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/missingArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/missingArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/missingArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/missingArgument.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/missingDefaultArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/missingDefaultArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/missingDefaultArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/missingDefaultArgument.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/multipleArguments.kt b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/multipleArguments.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/multipleArguments.kt rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/multipleArguments.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/simpleArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/simpleArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/simpleArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/simpleArgument.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/simpleArgument.kt.after b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/simpleArgument.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/simpleArgument.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/simpleArgument.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/typeArguments.kt b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/typeArguments.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/typeArguments.kt rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/typeArguments.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/typeArguments.kt.after b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/typeArguments.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/typeArguments.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/typeArguments.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/unacceptableVararg1.kt b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/unacceptableVararg1.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/unacceptableVararg1.kt rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/unacceptableVararg1.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/unacceptableVararg2.kt b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/unacceptableVararg2.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/unacceptableVararg2.kt rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/unacceptableVararg2.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/validNamedArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/validNamedArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/validNamedArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/validNamedArgument.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/validNamedArgument.kt.after b/idea/testData/intentions/conventionNameCalls/replaceContainsIntention/validNamedArgument.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/validNamedArgument.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceContainsIntention/validNamedArgument.kt.after diff --git a/idea/testData/intentions/conventionNameCalls/replaceGetIntention/.intention b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/.intention new file mode 100644 index 00000000000..9d0a87bb7ed --- /dev/null +++ b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/.intention @@ -0,0 +1 @@ +org.jetbrains.kotlin.idea.intentions.conventionNameCalls.ReplaceGetIntention diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/acceptableVararg.kt b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/acceptableVararg.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceGetIntention/acceptableVararg.kt rename to idea/testData/intentions/conventionNameCalls/replaceGetIntention/acceptableVararg.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/acceptableVararg.kt.after b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/acceptableVararg.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceGetIntention/acceptableVararg.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceGetIntention/acceptableVararg.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/argumentAndFunction.kt b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/argumentAndFunction.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceGetIntention/argumentAndFunction.kt rename to idea/testData/intentions/conventionNameCalls/replaceGetIntention/argumentAndFunction.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/argumentAndFunction.kt.after b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/argumentAndFunction.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceGetIntention/argumentAndFunction.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceGetIntention/argumentAndFunction.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/duplicateArguments.kt b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/duplicateArguments.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceGetIntention/duplicateArguments.kt rename to idea/testData/intentions/conventionNameCalls/replaceGetIntention/duplicateArguments.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/extensionFunction.kt b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/extensionFunction.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceGetIntention/extensionFunction.kt rename to idea/testData/intentions/conventionNameCalls/replaceGetIntention/extensionFunction.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/extensionFunction.kt.after b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/extensionFunction.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceGetIntention/extensionFunction.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceGetIntention/extensionFunction.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/functionalArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/functionalArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceGetIntention/functionalArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceGetIntention/functionalArgument.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/functionalArgument.kt.after b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/functionalArgument.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceGetIntention/functionalArgument.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceGetIntention/functionalArgument.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/inspectionData/expected.xml b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/inspectionData/expected.xml similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceGetIntention/inspectionData/expected.xml rename to idea/testData/intentions/conventionNameCalls/replaceGetIntention/inspectionData/expected.xml diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/inspectionData/inspections.test b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/inspectionData/inspections.test similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceGetIntention/inspectionData/inspections.test rename to idea/testData/intentions/conventionNameCalls/replaceGetIntention/inspectionData/inspections.test diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/invalidArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/invalidArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceGetIntention/invalidArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceGetIntention/invalidArgument.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/missingDefaultArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/missingDefaultArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceGetIntention/missingDefaultArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceGetIntention/missingDefaultArgument.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/multiArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/multiArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceGetIntention/multiArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceGetIntention/multiArgument.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/multiArgument.kt.after b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/multiArgument.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceGetIntention/multiArgument.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceGetIntention/multiArgument.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/noArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/noArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceGetIntention/noArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceGetIntention/noArgument.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/sanityCheck.kt b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/sanityCheck.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceGetIntention/sanityCheck.kt rename to idea/testData/intentions/conventionNameCalls/replaceGetIntention/sanityCheck.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/singleArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/singleArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceGetIntention/singleArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceGetIntention/singleArgument.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/singleArgument.kt.after b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/singleArgument.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceGetIntention/singleArgument.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceGetIntention/singleArgument.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/unacceptableVararg.kt b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/unacceptableVararg.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceGetIntention/unacceptableVararg.kt rename to idea/testData/intentions/conventionNameCalls/replaceGetIntention/unacceptableVararg.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceGetIntention/unnamedAndNamed.kt b/idea/testData/intentions/conventionNameCalls/replaceGetIntention/unnamedAndNamed.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceGetIntention/unnamedAndNamed.kt rename to idea/testData/intentions/conventionNameCalls/replaceGetIntention/unnamedAndNamed.kt diff --git a/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/.intention b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/.intention new file mode 100644 index 00000000000..7bc34f0c805 --- /dev/null +++ b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/.intention @@ -0,0 +1 @@ +org.jetbrains.kotlin.idea.intentions.conventionNameCalls.ReplaceInvokeIntention diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/expressionReceiver.kt b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/expressionReceiver.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/expressionReceiver.kt rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/expressionReceiver.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/expressionReceiver.kt.after b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/expressionReceiver.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/expressionReceiver.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/expressionReceiver.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/extensionFunction.kt b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/extensionFunction.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/extensionFunction.kt rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/extensionFunction.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/extensionFunction.kt.after b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/extensionFunction.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/extensionFunction.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/extensionFunction.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/functionLiteralInvoke.kt b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/functionLiteralInvoke.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/functionLiteralInvoke.kt rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/functionLiteralInvoke.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/functionLiteralInvoke.kt.after b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/functionLiteralInvoke.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/functionLiteralInvoke.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/functionLiteralInvoke.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/invokeInExpression.kt b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/invokeInExpression.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/invokeInExpression.kt rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/invokeInExpression.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/invokeInExpression.kt.after b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/invokeInExpression.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/invokeInExpression.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/invokeInExpression.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/namedArgumentInvoke.kt b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/namedArgumentInvoke.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/namedArgumentInvoke.kt rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/namedArgumentInvoke.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/namedArgumentInvoke.kt.after b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/namedArgumentInvoke.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/namedArgumentInvoke.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/namedArgumentInvoke.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/noArgumentInvoke.kt b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/noArgumentInvoke.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/noArgumentInvoke.kt rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/noArgumentInvoke.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/noArgumentInvoke.kt.after b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/noArgumentInvoke.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/noArgumentInvoke.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/noArgumentInvoke.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/typeAndValueArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/typeAndValueArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/typeAndValueArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/typeAndValueArgument.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/typeAndValueArgument.kt.after b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/typeAndValueArgument.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/typeAndValueArgument.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/typeAndValueArgument.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/typeArgumentAndFunctionLiteral.kt b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/typeArgumentAndFunctionLiteral.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/typeArgumentAndFunctionLiteral.kt rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/typeArgumentAndFunctionLiteral.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/typeArgumentAndFunctionLiteral.kt.after b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/typeArgumentAndFunctionLiteral.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/typeArgumentAndFunctionLiteral.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/typeArgumentAndFunctionLiteral.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/valueAndFunctionLiteralInvoke.kt b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/valueAndFunctionLiteralInvoke.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/valueAndFunctionLiteralInvoke.kt rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/valueAndFunctionLiteralInvoke.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/valueAndFunctionLiteralInvoke.kt.after b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/valueAndFunctionLiteralInvoke.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/valueAndFunctionLiteralInvoke.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/valueAndFunctionLiteralInvoke.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/valueArgumentInvoke.kt b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/valueArgumentInvoke.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/valueArgumentInvoke.kt rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/valueArgumentInvoke.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/valueArgumentInvoke.kt.after b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/valueArgumentInvoke.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/valueArgumentInvoke.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/valueArgumentInvoke.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/varargInvoke.kt b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/varargInvoke.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/varargInvoke.kt rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/varargInvoke.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/varargInvoke.kt.after b/idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/varargInvoke.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/varargInvoke.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/varargInvoke.kt.after diff --git a/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/.intention b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/.intention new file mode 100644 index 00000000000..994d3134d7c --- /dev/null +++ b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/.intention @@ -0,0 +1 @@ +org.jetbrains.kotlin.idea.intentions.conventionNameCalls.ReplaceUnaryPrefixIntention diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/acceptableVararg.kt b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/acceptableVararg.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/acceptableVararg.kt rename to idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/acceptableVararg.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/acceptableVararg.kt.after b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/acceptableVararg.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/acceptableVararg.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/acceptableVararg.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/complexPlus.kt b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/complexPlus.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/complexPlus.kt rename to idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/complexPlus.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/complexPlus.kt.after b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/complexPlus.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/complexPlus.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/complexPlus.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/defaultArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/defaultArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/defaultArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/defaultArgument.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/defaultArgument.kt.after b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/defaultArgument.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/defaultArgument.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/defaultArgument.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/extensionFunction.kt b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/extensionFunction.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/extensionFunction.kt rename to idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/extensionFunction.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/extensionFunction.kt.after b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/extensionFunction.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/extensionFunction.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/extensionFunction.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/functionLiteralArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/functionLiteralArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/functionLiteralArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/functionLiteralArgument.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/minusSanityTest.kt b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/minusSanityTest.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/minusSanityTest.kt rename to idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/minusSanityTest.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/minusSanityTest.kt.after b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/minusSanityTest.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/minusSanityTest.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/minusSanityTest.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/namedValueArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/namedValueArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/namedValueArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/namedValueArgument.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/notSanityTest.kt b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/notSanityTest.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/notSanityTest.kt rename to idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/notSanityTest.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/notSanityTest.kt.after b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/notSanityTest.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/notSanityTest.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/notSanityTest.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/plusPlus.kt b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/plusPlus.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/plusPlus.kt rename to idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/plusPlus.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/plusPlus.kt.after b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/plusPlus.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/plusPlus.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/plusPlus.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/plusSanityTest.kt b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/plusSanityTest.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/plusSanityTest.kt rename to idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/plusSanityTest.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/plusSanityTest.kt.after b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/plusSanityTest.kt.after similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/plusSanityTest.kt.after rename to idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/plusSanityTest.kt.after diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/typeArguments.kt b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/typeArguments.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/typeArguments.kt rename to idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/typeArguments.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/unacceptableVararg.kt b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/unacceptableVararg.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/unacceptableVararg.kt rename to idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/unacceptableVararg.kt diff --git a/idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/valueArgument.kt b/idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/valueArgument.kt similarity index 100% rename from idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/valueArgument.kt rename to idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/valueArgument.kt diff --git a/idea/tests/org/jetbrains/kotlin/idea/codeInsight/JetInspectionTestGenerated.java b/idea/tests/org/jetbrains/kotlin/idea/codeInsight/JetInspectionTestGenerated.java index 9d0d938387f..e37131ad899 100644 --- a/idea/tests/org/jetbrains/kotlin/idea/codeInsight/JetInspectionTestGenerated.java +++ b/idea/tests/org/jetbrains/kotlin/idea/codeInsight/JetInspectionTestGenerated.java @@ -37,12 +37,6 @@ public class JetInspectionTestGenerated extends AbstractJetInspectionTest { JetTestUtils.assertAllTestsPresentInSingleGeneratedClass(this.getClass(), new File("idea/testData/intentions"), Pattern.compile("^(inspections\\.test)$")); } - @TestMetadata("attributeCallReplacements/replaceGetIntention/inspectionData/inspections.test") - public void testAttributeCallReplacements_replaceGetIntention_inspectionData_Inspections_test() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceGetIntention/inspectionData/inspections.test"); - doTest(fileName); - } - @TestMetadata("branched/ifThenToElvis/inspectionData/inspections.test") public void testBranched_ifThenToElvis_inspectionData_Inspections_test() throws Exception { String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/branched/ifThenToElvis/inspectionData/inspections.test"); @@ -55,6 +49,12 @@ public class JetInspectionTestGenerated extends AbstractJetInspectionTest { doTest(fileName); } + @TestMetadata("conventionNameCalls/replaceGetIntention/inspectionData/inspections.test") + public void testConventionNameCalls_replaceGetIntention_inspectionData_Inspections_test() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceGetIntention/inspectionData/inspections.test"); + doTest(fileName); + } + @TestMetadata("removeExplicitTypeArguments/inspectionData/inspections.test") public void testRemoveExplicitTypeArguments_inspectionData_Inspections_test() throws Exception { String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/removeExplicitTypeArguments/inspectionData/inspections.test"); diff --git a/idea/tests/org/jetbrains/kotlin/idea/intentions/IntentionTestGenerated.java b/idea/tests/org/jetbrains/kotlin/idea/intentions/IntentionTestGenerated.java index 382508c65e9..233f09872bd 100644 --- a/idea/tests/org/jetbrains/kotlin/idea/intentions/IntentionTestGenerated.java +++ b/idea/tests/org/jetbrains/kotlin/idea/intentions/IntentionTestGenerated.java @@ -92,493 +92,6 @@ public class IntentionTestGenerated extends AbstractIntentionTest { } } - @TestMetadata("idea/testData/intentions/attributeCallReplacements") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class AttributeCallReplacements extends AbstractIntentionTest { - public void testAllFilesPresentInAttributeCallReplacements() throws Exception { - JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/intentions/attributeCallReplacements"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class ReplaceBinaryInfixIntention extends AbstractIntentionTest { - @TestMetadata("acceptableVararg1.kt") - public void testAcceptableVararg1() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/acceptableVararg1.kt"); - doTest(fileName); - } - - @TestMetadata("acceptableVararg2.kt") - public void testAcceptableVararg2() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/acceptableVararg2.kt"); - doTest(fileName); - } - - public void testAllFilesPresentInReplaceBinaryInfixIntention() throws Exception { - JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("allowableDefaultArgument.kt") - public void testAllowableDefaultArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/allowableDefaultArgument.kt"); - doTest(fileName); - } - - @TestMetadata("divSanityTest.kt") - public void testDivSanityTest() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/divSanityTest.kt"); - doTest(fileName); - } - - @TestMetadata("extensionFunction.kt") - public void testExtensionFunction() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/extensionFunction.kt"); - doTest(fileName); - } - - @TestMetadata("functionLiteralArgument.kt") - public void testFunctionLiteralArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/functionLiteralArgument.kt"); - doTest(fileName); - } - - @TestMetadata("minusSanityTest.kt") - public void testMinusSanityTest() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/minusSanityTest.kt"); - doTest(fileName); - } - - @TestMetadata("missingDefaultArgument.kt") - public void testMissingDefaultArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/missingDefaultArgument.kt"); - doTest(fileName); - } - - @TestMetadata("modSanityTest.kt") - public void testModSanityTest() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/modSanityTest.kt"); - doTest(fileName); - } - - @TestMetadata("multipleArguments.kt") - public void testMultipleArguments() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/multipleArguments.kt"); - doTest(fileName); - } - - @TestMetadata("plusSanityTest.kt") - public void testPlusSanityTest() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/plusSanityTest.kt"); - doTest(fileName); - } - - @TestMetadata("rangeToSanityTest.kt") - public void testRangeToSanityTest() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/rangeToSanityTest.kt"); - doTest(fileName); - } - - @TestMetadata("timesSanityTest.kt") - public void testTimesSanityTest() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/timesSanityTest.kt"); - doTest(fileName); - } - - @TestMetadata("typeArguments.kt") - public void testTypeArguments() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/typeArguments.kt"); - doTest(fileName); - } - - @TestMetadata("unacceptableVararg1.kt") - public void testUnacceptableVararg1() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/unacceptableVararg1.kt"); - doTest(fileName); - } - - @TestMetadata("unacceptableVararg2.kt") - public void testUnacceptableVararg2() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/unacceptableVararg2.kt"); - doTest(fileName); - } - - @TestMetadata("validNamedArgument.kt") - public void testValidNamedArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/validNamedArgument.kt"); - doTest(fileName); - } - } - - @TestMetadata("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class ReplaceContainsIntention extends AbstractIntentionTest { - @TestMetadata("acceptableVararg.kt") - public void testAcceptableVararg() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/acceptableVararg.kt"); - doTest(fileName); - } - - @TestMetadata("acceptableVararg2.kt") - public void testAcceptableVararg2() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/acceptableVararg2.kt"); - doTest(fileName); - } - - public void testAllFilesPresentInReplaceContainsIntention() throws Exception { - JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("allowableDefaultArgument.kt") - public void testAllowableDefaultArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/allowableDefaultArgument.kt"); - doTest(fileName); - } - - @TestMetadata("containsInExpression.kt") - public void testContainsInExpression() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/containsInExpression.kt"); - doTest(fileName); - } - - @TestMetadata("extensionFunction.kt") - public void testExtensionFunction() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/extensionFunction.kt"); - doTest(fileName); - } - - @TestMetadata("functionLiteralArgument.kt") - public void testFunctionLiteralArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/functionLiteralArgument.kt"); - doTest(fileName); - } - - @TestMetadata("functionLiteralArgumentAfterSemicolon.kt") - public void testFunctionLiteralArgumentAfterSemicolon() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/functionLiteralArgumentAfterSemicolon.kt"); - doTest(fileName); - } - - @TestMetadata("functionLiteralArgumentAtStartOfBlock.kt") - public void testFunctionLiteralArgumentAtStartOfBlock() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/functionLiteralArgumentAtStartOfBlock.kt"); - doTest(fileName); - } - - @TestMetadata("functionLiteralArgumentInExpression.kt") - public void testFunctionLiteralArgumentInExpression() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/functionLiteralArgumentInExpression.kt"); - doTest(fileName); - } - - @TestMetadata("invalidArgument.kt") - public void testInvalidArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/invalidArgument.kt"); - doTest(fileName); - } - - @TestMetadata("missingArgument.kt") - public void testMissingArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/missingArgument.kt"); - doTest(fileName); - } - - @TestMetadata("missingDefaultArgument.kt") - public void testMissingDefaultArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/missingDefaultArgument.kt"); - doTest(fileName); - } - - @TestMetadata("multipleArguments.kt") - public void testMultipleArguments() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/multipleArguments.kt"); - doTest(fileName); - } - - @TestMetadata("simpleArgument.kt") - public void testSimpleArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/simpleArgument.kt"); - doTest(fileName); - } - - @TestMetadata("typeArguments.kt") - public void testTypeArguments() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/typeArguments.kt"); - doTest(fileName); - } - - @TestMetadata("unacceptableVararg1.kt") - public void testUnacceptableVararg1() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/unacceptableVararg1.kt"); - doTest(fileName); - } - - @TestMetadata("unacceptableVararg2.kt") - public void testUnacceptableVararg2() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/unacceptableVararg2.kt"); - doTest(fileName); - } - - @TestMetadata("validNamedArgument.kt") - public void testValidNamedArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/validNamedArgument.kt"); - doTest(fileName); - } - } - - @TestMetadata("idea/testData/intentions/attributeCallReplacements/replaceGetIntention") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class ReplaceGetIntention extends AbstractIntentionTest { - @TestMetadata("acceptableVararg.kt") - public void testAcceptableVararg() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceGetIntention/acceptableVararg.kt"); - doTest(fileName); - } - - public void testAllFilesPresentInReplaceGetIntention() throws Exception { - JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/intentions/attributeCallReplacements/replaceGetIntention"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("argumentAndFunction.kt") - public void testArgumentAndFunction() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceGetIntention/argumentAndFunction.kt"); - doTest(fileName); - } - - @TestMetadata("duplicateArguments.kt") - public void testDuplicateArguments() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceGetIntention/duplicateArguments.kt"); - doTest(fileName); - } - - @TestMetadata("extensionFunction.kt") - public void testExtensionFunction() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceGetIntention/extensionFunction.kt"); - doTest(fileName); - } - - @TestMetadata("functionalArgument.kt") - public void testFunctionalArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceGetIntention/functionalArgument.kt"); - doTest(fileName); - } - - @TestMetadata("invalidArgument.kt") - public void testInvalidArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceGetIntention/invalidArgument.kt"); - doTest(fileName); - } - - @TestMetadata("missingDefaultArgument.kt") - public void testMissingDefaultArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceGetIntention/missingDefaultArgument.kt"); - doTest(fileName); - } - - @TestMetadata("multiArgument.kt") - public void testMultiArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceGetIntention/multiArgument.kt"); - doTest(fileName); - } - - @TestMetadata("noArgument.kt") - public void testNoArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceGetIntention/noArgument.kt"); - doTest(fileName); - } - - @TestMetadata("sanityCheck.kt") - public void testSanityCheck() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceGetIntention/sanityCheck.kt"); - doTest(fileName); - } - - @TestMetadata("singleArgument.kt") - public void testSingleArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceGetIntention/singleArgument.kt"); - doTest(fileName); - } - - @TestMetadata("unacceptableVararg.kt") - public void testUnacceptableVararg() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceGetIntention/unacceptableVararg.kt"); - doTest(fileName); - } - - @TestMetadata("unnamedAndNamed.kt") - public void testUnnamedAndNamed() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceGetIntention/unnamedAndNamed.kt"); - doTest(fileName); - } - - } - - @TestMetadata("idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class ReplaceInvokeIntention extends AbstractIntentionTest { - public void testAllFilesPresentInReplaceInvokeIntention() throws Exception { - JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("expressionReceiver.kt") - public void testExpressionReceiver() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/expressionReceiver.kt"); - doTest(fileName); - } - - @TestMetadata("extensionFunction.kt") - public void testExtensionFunction() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/extensionFunction.kt"); - doTest(fileName); - } - - @TestMetadata("functionLiteralInvoke.kt") - public void testFunctionLiteralInvoke() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/functionLiteralInvoke.kt"); - doTest(fileName); - } - - @TestMetadata("invokeInExpression.kt") - public void testInvokeInExpression() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/invokeInExpression.kt"); - doTest(fileName); - } - - @TestMetadata("namedArgumentInvoke.kt") - public void testNamedArgumentInvoke() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/namedArgumentInvoke.kt"); - doTest(fileName); - } - - @TestMetadata("noArgumentInvoke.kt") - public void testNoArgumentInvoke() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/noArgumentInvoke.kt"); - doTest(fileName); - } - - @TestMetadata("typeAndValueArgument.kt") - public void testTypeAndValueArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/typeAndValueArgument.kt"); - doTest(fileName); - } - - @TestMetadata("typeArgumentAndFunctionLiteral.kt") - public void testTypeArgumentAndFunctionLiteral() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/typeArgumentAndFunctionLiteral.kt"); - doTest(fileName); - } - - @TestMetadata("valueAndFunctionLiteralInvoke.kt") - public void testValueAndFunctionLiteralInvoke() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/valueAndFunctionLiteralInvoke.kt"); - doTest(fileName); - } - - @TestMetadata("valueArgumentInvoke.kt") - public void testValueArgumentInvoke() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/valueArgumentInvoke.kt"); - doTest(fileName); - } - - @TestMetadata("varargInvoke.kt") - public void testVarargInvoke() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/varargInvoke.kt"); - doTest(fileName); - } - } - - @TestMetadata("idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class ReplaceUnaryPrefixIntention extends AbstractIntentionTest { - @TestMetadata("acceptableVararg.kt") - public void testAcceptableVararg() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/acceptableVararg.kt"); - doTest(fileName); - } - - public void testAllFilesPresentInReplaceUnaryPrefixIntention() throws Exception { - JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("complexPlus.kt") - public void testComplexPlus() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/complexPlus.kt"); - doTest(fileName); - } - - @TestMetadata("defaultArgument.kt") - public void testDefaultArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/defaultArgument.kt"); - doTest(fileName); - } - - @TestMetadata("extensionFunction.kt") - public void testExtensionFunction() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/extensionFunction.kt"); - doTest(fileName); - } - - @TestMetadata("functionLiteralArgument.kt") - public void testFunctionLiteralArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/functionLiteralArgument.kt"); - doTest(fileName); - } - - @TestMetadata("minusSanityTest.kt") - public void testMinusSanityTest() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/minusSanityTest.kt"); - doTest(fileName); - } - - @TestMetadata("namedValueArgument.kt") - public void testNamedValueArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/namedValueArgument.kt"); - doTest(fileName); - } - - @TestMetadata("notSanityTest.kt") - public void testNotSanityTest() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/notSanityTest.kt"); - doTest(fileName); - } - - @TestMetadata("plusPlus.kt") - public void testPlusPlus() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/plusPlus.kt"); - doTest(fileName); - } - - @TestMetadata("plusSanityTest.kt") - public void testPlusSanityTest() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/plusSanityTest.kt"); - doTest(fileName); - } - - @TestMetadata("typeArguments.kt") - public void testTypeArguments() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/typeArguments.kt"); - doTest(fileName); - } - - @TestMetadata("unacceptableVararg.kt") - public void testUnacceptableVararg() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/unacceptableVararg.kt"); - doTest(fileName); - } - - @TestMetadata("valueArgument.kt") - public void testValueArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/valueArgument.kt"); - doTest(fileName); - } - } - } - @TestMetadata("idea/testData/intentions/branched") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) @@ -2417,6 +1930,493 @@ public class IntentionTestGenerated extends AbstractIntentionTest { } } + @TestMetadata("idea/testData/intentions/conventionNameCalls") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ConventionNameCalls extends AbstractIntentionTest { + public void testAllFilesPresentInConventionNameCalls() throws Exception { + JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/intentions/conventionNameCalls"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ReplaceBinaryInfixIntention extends AbstractIntentionTest { + @TestMetadata("acceptableVararg1.kt") + public void testAcceptableVararg1() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/acceptableVararg1.kt"); + doTest(fileName); + } + + @TestMetadata("acceptableVararg2.kt") + public void testAcceptableVararg2() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/acceptableVararg2.kt"); + doTest(fileName); + } + + public void testAllFilesPresentInReplaceBinaryInfixIntention() throws Exception { + JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("allowableDefaultArgument.kt") + public void testAllowableDefaultArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/allowableDefaultArgument.kt"); + doTest(fileName); + } + + @TestMetadata("divSanityTest.kt") + public void testDivSanityTest() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/divSanityTest.kt"); + doTest(fileName); + } + + @TestMetadata("extensionFunction.kt") + public void testExtensionFunction() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/extensionFunction.kt"); + doTest(fileName); + } + + @TestMetadata("functionLiteralArgument.kt") + public void testFunctionLiteralArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/functionLiteralArgument.kt"); + doTest(fileName); + } + + @TestMetadata("minusSanityTest.kt") + public void testMinusSanityTest() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/minusSanityTest.kt"); + doTest(fileName); + } + + @TestMetadata("missingDefaultArgument.kt") + public void testMissingDefaultArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/missingDefaultArgument.kt"); + doTest(fileName); + } + + @TestMetadata("modSanityTest.kt") + public void testModSanityTest() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/modSanityTest.kt"); + doTest(fileName); + } + + @TestMetadata("multipleArguments.kt") + public void testMultipleArguments() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/multipleArguments.kt"); + doTest(fileName); + } + + @TestMetadata("plusSanityTest.kt") + public void testPlusSanityTest() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/plusSanityTest.kt"); + doTest(fileName); + } + + @TestMetadata("rangeToSanityTest.kt") + public void testRangeToSanityTest() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/rangeToSanityTest.kt"); + doTest(fileName); + } + + @TestMetadata("timesSanityTest.kt") + public void testTimesSanityTest() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/timesSanityTest.kt"); + doTest(fileName); + } + + @TestMetadata("typeArguments.kt") + public void testTypeArguments() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/typeArguments.kt"); + doTest(fileName); + } + + @TestMetadata("unacceptableVararg1.kt") + public void testUnacceptableVararg1() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/unacceptableVararg1.kt"); + doTest(fileName); + } + + @TestMetadata("unacceptableVararg2.kt") + public void testUnacceptableVararg2() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/unacceptableVararg2.kt"); + doTest(fileName); + } + + @TestMetadata("validNamedArgument.kt") + public void testValidNamedArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/validNamedArgument.kt"); + doTest(fileName); + } + } + + @TestMetadata("idea/testData/intentions/conventionNameCalls/replaceContainsIntention") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ReplaceContainsIntention extends AbstractIntentionTest { + @TestMetadata("acceptableVararg.kt") + public void testAcceptableVararg() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceContainsIntention/acceptableVararg.kt"); + doTest(fileName); + } + + @TestMetadata("acceptableVararg2.kt") + public void testAcceptableVararg2() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceContainsIntention/acceptableVararg2.kt"); + doTest(fileName); + } + + public void testAllFilesPresentInReplaceContainsIntention() throws Exception { + JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/intentions/conventionNameCalls/replaceContainsIntention"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("allowableDefaultArgument.kt") + public void testAllowableDefaultArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceContainsIntention/allowableDefaultArgument.kt"); + doTest(fileName); + } + + @TestMetadata("containsInExpression.kt") + public void testContainsInExpression() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceContainsIntention/containsInExpression.kt"); + doTest(fileName); + } + + @TestMetadata("extensionFunction.kt") + public void testExtensionFunction() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceContainsIntention/extensionFunction.kt"); + doTest(fileName); + } + + @TestMetadata("functionLiteralArgument.kt") + public void testFunctionLiteralArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceContainsIntention/functionLiteralArgument.kt"); + doTest(fileName); + } + + @TestMetadata("functionLiteralArgumentAfterSemicolon.kt") + public void testFunctionLiteralArgumentAfterSemicolon() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceContainsIntention/functionLiteralArgumentAfterSemicolon.kt"); + doTest(fileName); + } + + @TestMetadata("functionLiteralArgumentAtStartOfBlock.kt") + public void testFunctionLiteralArgumentAtStartOfBlock() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceContainsIntention/functionLiteralArgumentAtStartOfBlock.kt"); + doTest(fileName); + } + + @TestMetadata("functionLiteralArgumentInExpression.kt") + public void testFunctionLiteralArgumentInExpression() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceContainsIntention/functionLiteralArgumentInExpression.kt"); + doTest(fileName); + } + + @TestMetadata("invalidArgument.kt") + public void testInvalidArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceContainsIntention/invalidArgument.kt"); + doTest(fileName); + } + + @TestMetadata("missingArgument.kt") + public void testMissingArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceContainsIntention/missingArgument.kt"); + doTest(fileName); + } + + @TestMetadata("missingDefaultArgument.kt") + public void testMissingDefaultArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceContainsIntention/missingDefaultArgument.kt"); + doTest(fileName); + } + + @TestMetadata("multipleArguments.kt") + public void testMultipleArguments() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceContainsIntention/multipleArguments.kt"); + doTest(fileName); + } + + @TestMetadata("simpleArgument.kt") + public void testSimpleArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceContainsIntention/simpleArgument.kt"); + doTest(fileName); + } + + @TestMetadata("typeArguments.kt") + public void testTypeArguments() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceContainsIntention/typeArguments.kt"); + doTest(fileName); + } + + @TestMetadata("unacceptableVararg1.kt") + public void testUnacceptableVararg1() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceContainsIntention/unacceptableVararg1.kt"); + doTest(fileName); + } + + @TestMetadata("unacceptableVararg2.kt") + public void testUnacceptableVararg2() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceContainsIntention/unacceptableVararg2.kt"); + doTest(fileName); + } + + @TestMetadata("validNamedArgument.kt") + public void testValidNamedArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceContainsIntention/validNamedArgument.kt"); + doTest(fileName); + } + } + + @TestMetadata("idea/testData/intentions/conventionNameCalls/replaceGetIntention") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ReplaceGetIntention extends AbstractIntentionTest { + @TestMetadata("acceptableVararg.kt") + public void testAcceptableVararg() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceGetIntention/acceptableVararg.kt"); + doTest(fileName); + } + + public void testAllFilesPresentInReplaceGetIntention() throws Exception { + JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/intentions/conventionNameCalls/replaceGetIntention"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("argumentAndFunction.kt") + public void testArgumentAndFunction() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceGetIntention/argumentAndFunction.kt"); + doTest(fileName); + } + + @TestMetadata("duplicateArguments.kt") + public void testDuplicateArguments() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceGetIntention/duplicateArguments.kt"); + doTest(fileName); + } + + @TestMetadata("extensionFunction.kt") + public void testExtensionFunction() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceGetIntention/extensionFunction.kt"); + doTest(fileName); + } + + @TestMetadata("functionalArgument.kt") + public void testFunctionalArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceGetIntention/functionalArgument.kt"); + doTest(fileName); + } + + @TestMetadata("invalidArgument.kt") + public void testInvalidArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceGetIntention/invalidArgument.kt"); + doTest(fileName); + } + + @TestMetadata("missingDefaultArgument.kt") + public void testMissingDefaultArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceGetIntention/missingDefaultArgument.kt"); + doTest(fileName); + } + + @TestMetadata("multiArgument.kt") + public void testMultiArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceGetIntention/multiArgument.kt"); + doTest(fileName); + } + + @TestMetadata("noArgument.kt") + public void testNoArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceGetIntention/noArgument.kt"); + doTest(fileName); + } + + @TestMetadata("sanityCheck.kt") + public void testSanityCheck() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceGetIntention/sanityCheck.kt"); + doTest(fileName); + } + + @TestMetadata("singleArgument.kt") + public void testSingleArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceGetIntention/singleArgument.kt"); + doTest(fileName); + } + + @TestMetadata("unacceptableVararg.kt") + public void testUnacceptableVararg() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceGetIntention/unacceptableVararg.kt"); + doTest(fileName); + } + + @TestMetadata("unnamedAndNamed.kt") + public void testUnnamedAndNamed() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceGetIntention/unnamedAndNamed.kt"); + doTest(fileName); + } + + } + + @TestMetadata("idea/testData/intentions/conventionNameCalls/replaceInvokeIntention") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ReplaceInvokeIntention extends AbstractIntentionTest { + public void testAllFilesPresentInReplaceInvokeIntention() throws Exception { + JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/intentions/conventionNameCalls/replaceInvokeIntention"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("expressionReceiver.kt") + public void testExpressionReceiver() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/expressionReceiver.kt"); + doTest(fileName); + } + + @TestMetadata("extensionFunction.kt") + public void testExtensionFunction() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/extensionFunction.kt"); + doTest(fileName); + } + + @TestMetadata("functionLiteralInvoke.kt") + public void testFunctionLiteralInvoke() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/functionLiteralInvoke.kt"); + doTest(fileName); + } + + @TestMetadata("invokeInExpression.kt") + public void testInvokeInExpression() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/invokeInExpression.kt"); + doTest(fileName); + } + + @TestMetadata("namedArgumentInvoke.kt") + public void testNamedArgumentInvoke() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/namedArgumentInvoke.kt"); + doTest(fileName); + } + + @TestMetadata("noArgumentInvoke.kt") + public void testNoArgumentInvoke() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/noArgumentInvoke.kt"); + doTest(fileName); + } + + @TestMetadata("typeAndValueArgument.kt") + public void testTypeAndValueArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/typeAndValueArgument.kt"); + doTest(fileName); + } + + @TestMetadata("typeArgumentAndFunctionLiteral.kt") + public void testTypeArgumentAndFunctionLiteral() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/typeArgumentAndFunctionLiteral.kt"); + doTest(fileName); + } + + @TestMetadata("valueAndFunctionLiteralInvoke.kt") + public void testValueAndFunctionLiteralInvoke() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/valueAndFunctionLiteralInvoke.kt"); + doTest(fileName); + } + + @TestMetadata("valueArgumentInvoke.kt") + public void testValueArgumentInvoke() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/valueArgumentInvoke.kt"); + doTest(fileName); + } + + @TestMetadata("varargInvoke.kt") + public void testVarargInvoke() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceInvokeIntention/varargInvoke.kt"); + doTest(fileName); + } + } + + @TestMetadata("idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ReplaceUnaryPrefixIntention extends AbstractIntentionTest { + @TestMetadata("acceptableVararg.kt") + public void testAcceptableVararg() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/acceptableVararg.kt"); + doTest(fileName); + } + + public void testAllFilesPresentInReplaceUnaryPrefixIntention() throws Exception { + JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("complexPlus.kt") + public void testComplexPlus() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/complexPlus.kt"); + doTest(fileName); + } + + @TestMetadata("defaultArgument.kt") + public void testDefaultArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/defaultArgument.kt"); + doTest(fileName); + } + + @TestMetadata("extensionFunction.kt") + public void testExtensionFunction() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/extensionFunction.kt"); + doTest(fileName); + } + + @TestMetadata("functionLiteralArgument.kt") + public void testFunctionLiteralArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/functionLiteralArgument.kt"); + doTest(fileName); + } + + @TestMetadata("minusSanityTest.kt") + public void testMinusSanityTest() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/minusSanityTest.kt"); + doTest(fileName); + } + + @TestMetadata("namedValueArgument.kt") + public void testNamedValueArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/namedValueArgument.kt"); + doTest(fileName); + } + + @TestMetadata("notSanityTest.kt") + public void testNotSanityTest() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/notSanityTest.kt"); + doTest(fileName); + } + + @TestMetadata("plusPlus.kt") + public void testPlusPlus() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/plusPlus.kt"); + doTest(fileName); + } + + @TestMetadata("plusSanityTest.kt") + public void testPlusSanityTest() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/plusSanityTest.kt"); + doTest(fileName); + } + + @TestMetadata("typeArguments.kt") + public void testTypeArguments() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/typeArguments.kt"); + doTest(fileName); + } + + @TestMetadata("unacceptableVararg.kt") + public void testUnacceptableVararg() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/unacceptableVararg.kt"); + doTest(fileName); + } + + @TestMetadata("valueArgument.kt") + public void testValueArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceUnaryPrefixIntention/valueArgument.kt"); + doTest(fileName); + } + } + } + @TestMetadata("idea/testData/intentions/convertAssertToIf") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class)