diff --git a/idea/resources/intentionDescriptions/ReplaceWithInfixFunctionCallIntention/after.kt.template b/idea/resources/intentionDescriptions/ToInfixCallIntention/after.kt.template similarity index 100% rename from idea/resources/intentionDescriptions/ReplaceWithInfixFunctionCallIntention/after.kt.template rename to idea/resources/intentionDescriptions/ToInfixCallIntention/after.kt.template diff --git a/idea/resources/intentionDescriptions/ReplaceWithInfixFunctionCallIntention/before.kt.template b/idea/resources/intentionDescriptions/ToInfixCallIntention/before.kt.template similarity index 100% rename from idea/resources/intentionDescriptions/ReplaceWithInfixFunctionCallIntention/before.kt.template rename to idea/resources/intentionDescriptions/ToInfixCallIntention/before.kt.template diff --git a/idea/resources/intentionDescriptions/ReplaceWithInfixFunctionCallIntention/description.html b/idea/resources/intentionDescriptions/ToInfixCallIntention/description.html similarity index 100% rename from idea/resources/intentionDescriptions/ReplaceWithInfixFunctionCallIntention/description.html rename to idea/resources/intentionDescriptions/ToInfixCallIntention/description.html diff --git a/idea/src/META-INF/plugin.xml b/idea/src/META-INF/plugin.xml index e7b985cc5c7..4eb86c0279c 100644 --- a/idea/src/META-INF/plugin.xml +++ b/idea/src/META-INF/plugin.xml @@ -724,7 +724,7 @@ - org.jetbrains.kotlin.idea.intentions.ReplaceWithInfixFunctionCallIntention + org.jetbrains.kotlin.idea.intentions.ToInfixCallIntention Kotlin diff --git a/idea/src/org/jetbrains/kotlin/idea/intentions/ReplaceWithInfixFunctionCallIntention.kt b/idea/src/org/jetbrains/kotlin/idea/intentions/ToInfixCallIntention.kt similarity index 93% rename from idea/src/org/jetbrains/kotlin/idea/intentions/ReplaceWithInfixFunctionCallIntention.kt rename to idea/src/org/jetbrains/kotlin/idea/intentions/ToInfixCallIntention.kt index 34efd2aa9d7..9043294289f 100644 --- a/idea/src/org/jetbrains/kotlin/idea/intentions/ReplaceWithInfixFunctionCallIntention.kt +++ b/idea/src/org/jetbrains/kotlin/idea/intentions/ToInfixCallIntention.kt @@ -23,7 +23,7 @@ import org.jetbrains.kotlin.psi.JetCallExpression import org.jetbrains.kotlin.psi.JetDotQualifiedExpression import org.jetbrains.kotlin.psi.JetPsiFactory -public class ReplaceWithInfixFunctionCallIntention : JetSelfTargetingIntention(javaClass(), "Replace with infix function call") { +public class ToInfixCallIntention : JetSelfTargetingIntention(javaClass(), "Replace with infix function call") { override fun isApplicableTo(element: JetCallExpression, caretOffset: Int): Boolean { val calleeExpr = element.getCalleeExpression() ?: return false if (!calleeExpr.getTextRange().containsOffset(caretOffset)) return false diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/.intention b/idea/testData/intentions/replaceWithInfixFunctionCall/.intention deleted file mode 100644 index b8aaae1c0b3..00000000000 --- a/idea/testData/intentions/replaceWithInfixFunctionCall/.intention +++ /dev/null @@ -1 +0,0 @@ -org.jetbrains.kotlin.idea.intentions.ReplaceWithInfixFunctionCallIntention diff --git a/idea/testData/intentions/toInfixCall/.intention b/idea/testData/intentions/toInfixCall/.intention new file mode 100644 index 00000000000..be5335908a5 --- /dev/null +++ b/idea/testData/intentions/toInfixCall/.intention @@ -0,0 +1 @@ +org.jetbrains.kotlin.idea.intentions.ToInfixCallIntention diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/binaryExpressionArgument.kt b/idea/testData/intentions/toInfixCall/binaryExpressionArgument.kt similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/binaryExpressionArgument.kt rename to idea/testData/intentions/toInfixCall/binaryExpressionArgument.kt diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/binaryExpressionArgument.kt.after b/idea/testData/intentions/toInfixCall/binaryExpressionArgument.kt.after similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/binaryExpressionArgument.kt.after rename to idea/testData/intentions/toInfixCall/binaryExpressionArgument.kt.after diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/caretInsideCalleeExpr.kt b/idea/testData/intentions/toInfixCall/caretInsideCalleeExpr.kt similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/caretInsideCalleeExpr.kt rename to idea/testData/intentions/toInfixCall/caretInsideCalleeExpr.kt diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/caretInsideCalleeExpr.kt.after b/idea/testData/intentions/toInfixCall/caretInsideCalleeExpr.kt.after similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/caretInsideCalleeExpr.kt.after rename to idea/testData/intentions/toInfixCall/caretInsideCalleeExpr.kt.after diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/caretInsideReceiverExpr.kt b/idea/testData/intentions/toInfixCall/caretInsideReceiverExpr.kt similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/caretInsideReceiverExpr.kt rename to idea/testData/intentions/toInfixCall/caretInsideReceiverExpr.kt diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/doubleFunctionCall.kt b/idea/testData/intentions/toInfixCall/doubleFunctionCall.kt similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/doubleFunctionCall.kt rename to idea/testData/intentions/toInfixCall/doubleFunctionCall.kt diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/doubleFunctionCall.kt.after b/idea/testData/intentions/toInfixCall/doubleFunctionCall.kt.after similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/doubleFunctionCall.kt.after rename to idea/testData/intentions/toInfixCall/doubleFunctionCall.kt.after diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/doubleFunctionCallWithoutParentheses.kt b/idea/testData/intentions/toInfixCall/doubleFunctionCallWithoutParentheses.kt similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/doubleFunctionCallWithoutParentheses.kt rename to idea/testData/intentions/toInfixCall/doubleFunctionCallWithoutParentheses.kt diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/doubleFunctionCallWithoutParentheses.kt.after b/idea/testData/intentions/toInfixCall/doubleFunctionCallWithoutParentheses.kt.after similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/doubleFunctionCallWithoutParentheses.kt.after rename to idea/testData/intentions/toInfixCall/doubleFunctionCallWithoutParentheses.kt.after diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/functionLiteralArgument.kt b/idea/testData/intentions/toInfixCall/functionLiteralArgument.kt similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/functionLiteralArgument.kt rename to idea/testData/intentions/toInfixCall/functionLiteralArgument.kt diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/functionLiteralArgument.kt.after b/idea/testData/intentions/toInfixCall/functionLiteralArgument.kt.after similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/functionLiteralArgument.kt.after rename to idea/testData/intentions/toInfixCall/functionLiteralArgument.kt.after diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/functionSafeCall.kt b/idea/testData/intentions/toInfixCall/functionSafeCall.kt similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/functionSafeCall.kt rename to idea/testData/intentions/toInfixCall/functionSafeCall.kt diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/inapplicableCaretPosition.kt b/idea/testData/intentions/toInfixCall/inapplicableCaretPosition.kt similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/inapplicableCaretPosition.kt rename to idea/testData/intentions/toInfixCall/inapplicableCaretPosition.kt diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/multipleArguments.kt b/idea/testData/intentions/toInfixCall/multipleArguments.kt similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/multipleArguments.kt rename to idea/testData/intentions/toInfixCall/multipleArguments.kt diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/namedArgument.kt b/idea/testData/intentions/toInfixCall/namedArgument.kt similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/namedArgument.kt rename to idea/testData/intentions/toInfixCall/namedArgument.kt diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/nullAssertedReceiver.kt b/idea/testData/intentions/toInfixCall/nullAssertedReceiver.kt similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/nullAssertedReceiver.kt rename to idea/testData/intentions/toInfixCall/nullAssertedReceiver.kt diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/nullAssertedReceiver.kt.after b/idea/testData/intentions/toInfixCall/nullAssertedReceiver.kt.after similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/nullAssertedReceiver.kt.after rename to idea/testData/intentions/toInfixCall/nullAssertedReceiver.kt.after diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/packageFunctionCall.kt b/idea/testData/intentions/toInfixCall/packageFunctionCall.kt similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/packageFunctionCall.kt rename to idea/testData/intentions/toInfixCall/packageFunctionCall.kt diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/propertyAccess.kt b/idea/testData/intentions/toInfixCall/propertyAccess.kt similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/propertyAccess.kt rename to idea/testData/intentions/toInfixCall/propertyAccess.kt diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/secondParameterLabeled.kt b/idea/testData/intentions/toInfixCall/secondParameterLabeled.kt similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/secondParameterLabeled.kt rename to idea/testData/intentions/toInfixCall/secondParameterLabeled.kt diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/simpleArgumentAndFunctionLiteralArgument.kt b/idea/testData/intentions/toInfixCall/simpleArgumentAndFunctionLiteralArgument.kt similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/simpleArgumentAndFunctionLiteralArgument.kt rename to idea/testData/intentions/toInfixCall/simpleArgumentAndFunctionLiteralArgument.kt diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/simpleMethodCall.kt b/idea/testData/intentions/toInfixCall/simpleMethodCall.kt similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/simpleMethodCall.kt rename to idea/testData/intentions/toInfixCall/simpleMethodCall.kt diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/simpleMethodCall.kt.after b/idea/testData/intentions/toInfixCall/simpleMethodCall.kt.after similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/simpleMethodCall.kt.after rename to idea/testData/intentions/toInfixCall/simpleMethodCall.kt.after diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/singlePackageFunctionCall.kt b/idea/testData/intentions/toInfixCall/singlePackageFunctionCall.kt similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/singlePackageFunctionCall.kt rename to idea/testData/intentions/toInfixCall/singlePackageFunctionCall.kt diff --git a/idea/testData/intentions/replaceWithInfixFunctionCall/zeroArguments.kt b/idea/testData/intentions/toInfixCall/zeroArguments.kt similarity index 100% rename from idea/testData/intentions/replaceWithInfixFunctionCall/zeroArguments.kt rename to idea/testData/intentions/toInfixCall/zeroArguments.kt diff --git a/idea/tests/org/jetbrains/kotlin/idea/intentions/IntentionTestGenerated.java b/idea/tests/org/jetbrains/kotlin/idea/intentions/IntentionTestGenerated.java index 90cde1a0883..896112aea45 100644 --- a/idea/tests/org/jetbrains/kotlin/idea/intentions/IntentionTestGenerated.java +++ b/idea/tests/org/jetbrains/kotlin/idea/intentions/IntentionTestGenerated.java @@ -5355,123 +5355,6 @@ public class IntentionTestGenerated extends AbstractIntentionTest { } } - @TestMetadata("idea/testData/intentions/replaceWithInfixFunctionCall") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class ReplaceWithInfixFunctionCall extends AbstractIntentionTest { - public void testAllFilesPresentInReplaceWithInfixFunctionCall() throws Exception { - JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/intentions/replaceWithInfixFunctionCall"), Pattern.compile("^(.+)\\.kt$"), true); - } - - @TestMetadata("binaryExpressionArgument.kt") - public void testBinaryExpressionArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/replaceWithInfixFunctionCall/binaryExpressionArgument.kt"); - doTest(fileName); - } - - @TestMetadata("caretInsideCalleeExpr.kt") - public void testCaretInsideCalleeExpr() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/replaceWithInfixFunctionCall/caretInsideCalleeExpr.kt"); - doTest(fileName); - } - - @TestMetadata("caretInsideReceiverExpr.kt") - public void testCaretInsideReceiverExpr() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/replaceWithInfixFunctionCall/caretInsideReceiverExpr.kt"); - doTest(fileName); - } - - @TestMetadata("doubleFunctionCall.kt") - public void testDoubleFunctionCall() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/replaceWithInfixFunctionCall/doubleFunctionCall.kt"); - doTest(fileName); - } - - @TestMetadata("doubleFunctionCallWithoutParentheses.kt") - public void testDoubleFunctionCallWithoutParentheses() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/replaceWithInfixFunctionCall/doubleFunctionCallWithoutParentheses.kt"); - doTest(fileName); - } - - @TestMetadata("functionLiteralArgument.kt") - public void testFunctionLiteralArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/replaceWithInfixFunctionCall/functionLiteralArgument.kt"); - doTest(fileName); - } - - @TestMetadata("functionSafeCall.kt") - public void testFunctionSafeCall() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/replaceWithInfixFunctionCall/functionSafeCall.kt"); - doTest(fileName); - } - - @TestMetadata("inapplicableCaretPosition.kt") - public void testInapplicableCaretPosition() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/replaceWithInfixFunctionCall/inapplicableCaretPosition.kt"); - doTest(fileName); - } - - @TestMetadata("multipleArguments.kt") - public void testMultipleArguments() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/replaceWithInfixFunctionCall/multipleArguments.kt"); - doTest(fileName); - } - - @TestMetadata("namedArgument.kt") - public void testNamedArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/replaceWithInfixFunctionCall/namedArgument.kt"); - doTest(fileName); - } - - @TestMetadata("nullAssertedReceiver.kt") - public void testNullAssertedReceiver() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/replaceWithInfixFunctionCall/nullAssertedReceiver.kt"); - doTest(fileName); - } - - @TestMetadata("packageFunctionCall.kt") - public void testPackageFunctionCall() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/replaceWithInfixFunctionCall/packageFunctionCall.kt"); - doTest(fileName); - } - - @TestMetadata("propertyAccess.kt") - public void testPropertyAccess() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/replaceWithInfixFunctionCall/propertyAccess.kt"); - doTest(fileName); - } - - @TestMetadata("secondParameterLabeled.kt") - public void testSecondParameterLabeled() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/replaceWithInfixFunctionCall/secondParameterLabeled.kt"); - doTest(fileName); - } - - @TestMetadata("simpleArgumentAndFunctionLiteralArgument.kt") - public void testSimpleArgumentAndFunctionLiteralArgument() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/replaceWithInfixFunctionCall/simpleArgumentAndFunctionLiteralArgument.kt"); - doTest(fileName); - } - - @TestMetadata("simpleMethodCall.kt") - public void testSimpleMethodCall() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/replaceWithInfixFunctionCall/simpleMethodCall.kt"); - doTest(fileName); - } - - @TestMetadata("singlePackageFunctionCall.kt") - public void testSinglePackageFunctionCall() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/replaceWithInfixFunctionCall/singlePackageFunctionCall.kt"); - doTest(fileName); - } - - @TestMetadata("zeroArguments.kt") - public void testZeroArguments() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/replaceWithInfixFunctionCall/zeroArguments.kt"); - doTest(fileName); - } - } - @TestMetadata("idea/testData/intentions/replaceWithOperatorAssign") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) @@ -6414,4 +6297,121 @@ public class IntentionTestGenerated extends AbstractIntentionTest { doTest(fileName); } } + + @TestMetadata("idea/testData/intentions/toInfixCall") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ToInfixCall extends AbstractIntentionTest { + public void testAllFilesPresentInToInfixCall() throws Exception { + JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/intentions/toInfixCall"), Pattern.compile("^(.+)\\.kt$"), true); + } + + @TestMetadata("binaryExpressionArgument.kt") + public void testBinaryExpressionArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/toInfixCall/binaryExpressionArgument.kt"); + doTest(fileName); + } + + @TestMetadata("caretInsideCalleeExpr.kt") + public void testCaretInsideCalleeExpr() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/toInfixCall/caretInsideCalleeExpr.kt"); + doTest(fileName); + } + + @TestMetadata("caretInsideReceiverExpr.kt") + public void testCaretInsideReceiverExpr() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/toInfixCall/caretInsideReceiverExpr.kt"); + doTest(fileName); + } + + @TestMetadata("doubleFunctionCall.kt") + public void testDoubleFunctionCall() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/toInfixCall/doubleFunctionCall.kt"); + doTest(fileName); + } + + @TestMetadata("doubleFunctionCallWithoutParentheses.kt") + public void testDoubleFunctionCallWithoutParentheses() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/toInfixCall/doubleFunctionCallWithoutParentheses.kt"); + doTest(fileName); + } + + @TestMetadata("functionLiteralArgument.kt") + public void testFunctionLiteralArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/toInfixCall/functionLiteralArgument.kt"); + doTest(fileName); + } + + @TestMetadata("functionSafeCall.kt") + public void testFunctionSafeCall() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/toInfixCall/functionSafeCall.kt"); + doTest(fileName); + } + + @TestMetadata("inapplicableCaretPosition.kt") + public void testInapplicableCaretPosition() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/toInfixCall/inapplicableCaretPosition.kt"); + doTest(fileName); + } + + @TestMetadata("multipleArguments.kt") + public void testMultipleArguments() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/toInfixCall/multipleArguments.kt"); + doTest(fileName); + } + + @TestMetadata("namedArgument.kt") + public void testNamedArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/toInfixCall/namedArgument.kt"); + doTest(fileName); + } + + @TestMetadata("nullAssertedReceiver.kt") + public void testNullAssertedReceiver() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/toInfixCall/nullAssertedReceiver.kt"); + doTest(fileName); + } + + @TestMetadata("packageFunctionCall.kt") + public void testPackageFunctionCall() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/toInfixCall/packageFunctionCall.kt"); + doTest(fileName); + } + + @TestMetadata("propertyAccess.kt") + public void testPropertyAccess() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/toInfixCall/propertyAccess.kt"); + doTest(fileName); + } + + @TestMetadata("secondParameterLabeled.kt") + public void testSecondParameterLabeled() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/toInfixCall/secondParameterLabeled.kt"); + doTest(fileName); + } + + @TestMetadata("simpleArgumentAndFunctionLiteralArgument.kt") + public void testSimpleArgumentAndFunctionLiteralArgument() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/toInfixCall/simpleArgumentAndFunctionLiteralArgument.kt"); + doTest(fileName); + } + + @TestMetadata("simpleMethodCall.kt") + public void testSimpleMethodCall() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/toInfixCall/simpleMethodCall.kt"); + doTest(fileName); + } + + @TestMetadata("singlePackageFunctionCall.kt") + public void testSinglePackageFunctionCall() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/toInfixCall/singlePackageFunctionCall.kt"); + doTest(fileName); + } + + @TestMetadata("zeroArguments.kt") + public void testZeroArguments() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/toInfixCall/zeroArguments.kt"); + doTest(fileName); + } + } }