From a6ba3a569d7f3e45300333074334ba4155c427f0 Mon Sep 17 00:00:00 2001 From: Alexey Sedunov Date: Mon, 29 Sep 2014 16:36:57 +0400 Subject: [PATCH] Create From Usage: Move "Create function"-related tests to separate directory --- .../afterCustomOperationOnUserType.kt | 0 .../afterGreaterOrEqualOnUserType.kt | 0 .../binaryOperations/afterInOnUserType.kt | 0 .../binaryOperations/afterLessOnUserType.kt | 0 .../binaryOperations/afterNotInOnUserType.kt | 0 .../afterPlusAssignOnUserType.kt | 0 .../binaryOperations/afterPlusExtraArgs.kt | 0 .../afterPlusForAssignmentOnUserType.kt | 0 .../binaryOperations/afterPlusMissingArgs.kt | 0 .../binaryOperations/afterPlusOnLibType.kt | 0 .../binaryOperations/afterPlusOnUserType.kt | 0 .../afterPlusOnUserTypeWithTypeParams.kt | 0 .../binaryOperations/afterWhenInOnUserType.kt | 0 .../afterWhenNotInOnUserType.kt | 0 .../beforeCustomOperationOnUserType.kt | 0 .../beforeGreaterOrEqualOnUserType.kt | 0 .../binaryOperations/beforeInOnUserType.kt | 0 .../binaryOperations/beforeLessOnUserType.kt | 0 .../binaryOperations/beforeNotInOnUserType.kt | 0 .../beforePlusAssignOnUserType.kt | 0 .../binaryOperations/beforePlusExtraArgs.kt | 0 .../beforePlusForAssignmentOnUserType.kt | 0 .../binaryOperations/beforePlusMissingArgs.kt | 0 .../binaryOperations/beforePlusOnLibType.kt | 0 .../binaryOperations/beforePlusOnUserType.kt | 0 .../beforePlusOnUserTypeWithTypeParams.kt | 0 .../beforeWhenInOnUserType.kt | 0 .../beforeWhenNotInOnUserType.kt | 0 .../call/afterCallWithLambdaArg.kt | 0 .../call/afterCallWithLambdaArgOnly.kt | 0 .../call/afterFunExtraArgs.kt | 0 .../call/afterFunMissingArgs.kt | 0 .../call/afterFunOnClassObject.kt | 0 .../call/afterFunOnLibObject.kt | 0 .../call/afterFunOnLibType.kt | 0 .../call/afterFunOnUserObject.kt | 0 .../call/afterFunOnUserType.kt | 0 .../call/afterFunOnUserTypeWithTypeParams.kt | 0 ...fterFunWithExplicitParamNamesOnUserType.kt | 0 .../call/afterInconsistentTypes.kt | 0 .../call/afterLocalFunNoReceiver.kt | 0 .../call/afterMemberFunNoReceiver.kt | 0 .../call/afterObjectMemberFunNoReceiver.kt | 0 .../call/afterThisInClass.kt | 0 .../call/afterThisInExtension.kt | 0 .../call/afterThisInNestedClass1.kt | 0 .../call/afterThisInNestedClass2.kt | 0 .../call/afterTopLevelFunNoReceiver.kt | 0 .../call/afterUnknownType.kt | 0 .../call/beforeCallWithLambdaArg.kt | 0 .../call/beforeCallWithLambdaArgOnly.kt | 0 .../call/beforeFunExtraArgs.kt | 0 .../call/beforeFunMissingArgs.kt | 0 .../call/beforeFunOnClassObject.kt | 0 .../call/beforeFunOnLibObject.kt | 0 .../call/beforeFunOnLibType.kt | 0 .../call/beforeFunOnUserObject.kt | 0 .../call/beforeFunOnUserType.kt | 0 .../call/beforeFunOnUserTypeWithTypeParams.kt | 0 ...foreFunWithExplicitParamNamesOnUserType.kt | 0 .../call/beforeInconsistentTypes.kt | 0 .../call/beforeLocalFunNoReceiver.kt | 0 .../call/beforeMemberFunNoReceiver.kt | 0 .../call/beforeObjectMemberFunNoReceiver.kt | 0 .../call/beforeThisInClass.kt | 0 .../call/beforeThisInExtension.kt | 0 .../call/beforeThisInNestedClass1.kt | 0 .../call/beforeThisInNestedClass2.kt | 0 .../call/beforeTopLevelFunNoReceiver.kt | 0 .../call/beforeUnknownType.kt | 0 .../afterCreateComponentFromUsage1.kt | 0 .../afterCreateComponentFromUsage2.kt | 0 .../afterCreateComponentFromUsage3.kt | 0 .../beforeCreateComponentFromUsage1.kt | 0 .../beforeCreateComponentFromUsage2.kt | 0 .../beforeCreateComponentFromUsage3.kt | 0 .../get/afterCreateGetFromUsage1.kt | 0 .../get/afterCreateGetFromUsage10.kt | 0 .../get/afterCreateGetFromUsage11.kt | 0 .../get/afterCreateGetFromUsage12.kt | 0 .../get/afterCreateGetFromUsage13.kt | 0 .../get/afterCreateGetFromUsage2.kt | 0 .../get/afterCreateGetFromUsage3.kt | 0 .../get/afterCreateGetFromUsage4.kt | 0 .../get/afterCreateGetFromUsage5.kt | 0 .../get/afterCreateGetFromUsage7.kt | 0 .../get/afterCreateGetFromUsage8.kt | 0 .../get/afterCreateGetFromUsage9.kt | 0 .../get/beforeCreateGetFromUsage1.kt | 0 .../get/beforeCreateGetFromUsage10.kt | 0 .../get/beforeCreateGetFromUsage11.kt | 0 .../get/beforeCreateGetFromUsage12.kt | 0 .../get/beforeCreateGetFromUsage13.kt | 0 .../get/beforeCreateGetFromUsage2.kt | 0 .../get/beforeCreateGetFromUsage3.kt | 0 .../get/beforeCreateGetFromUsage4.kt | 0 .../get/beforeCreateGetFromUsage5.kt | 0 .../get/beforeCreateGetFromUsage7.kt | 0 .../get/beforeCreateGetFromUsage8.kt | 0 .../get/beforeCreateGetFromUsage9.kt | 0 .../hasNext/afterCreateHasNextFromUsage1.kt | 0 .../hasNext/afterCreateHasNextFromUsage2.kt | 0 .../hasNext/beforeCreateHasNextFromUsage1.kt | 0 .../hasNext/beforeCreateHasNextFromUsage2.kt | 0 .../invoke/afterInvokeOnLibType.kt | 0 .../invoke/afterInvokeOnUserType.kt | 0 .../afterInvokeOnUserTypeWithTypeParams.kt | 0 ...rInvokeWithExplicitParamNamesOnUserType.kt | 0 .../invoke/beforeInvokeOnLibType.kt | 0 .../invoke/beforeInvokeOnUserType.kt | 0 .../beforeInvokeOnUserTypeWithTypeParams.kt | 0 ...eInvokeWithExplicitParamNamesOnUserType.kt | 0 .../iterator/afterCreateIteratorFromUsage1.kt | 0 .../iterator/afterCreateIteratorFromUsage2.kt | 0 .../iterator/afterCreateIteratorFromUsage3.kt | 0 .../beforeCreateIteratorFromUsage1.kt | 0 .../beforeCreateIteratorFromUsage2.kt | 0 .../beforeCreateIteratorFromUsage3.kt | 0 .../next/afterCreateNextFromUsage1.kt | 0 .../next/afterCreateNextFromUsage2.kt | 0 .../next/beforeCreateNextFromUsage1.kt | 0 .../next/beforeCreateNextFromUsage2.kt | 0 .../set/afterCreateSetFromUsage1.kt | 0 .../set/afterCreateSetFromUsage2.kt | 0 .../set/beforeCreateSetFromUsage1.kt | 0 .../set/beforeCreateSetFromUsage2.kt | 0 .../unaryOperations/afterIncOnUserType.kt | 0 .../unaryOperations/afterMinusMissingArgs.kt | 0 .../unaryOperations/afterMinusOnLibType.kt | 0 .../unaryOperations/afterMinusOnUserType.kt | 0 .../afterMinusOnUserTypeWithTypeParams.kt | 0 .../unaryOperations/beforeIncOnUserType.kt | 0 .../unaryOperations/beforeMinusMissingArgs.kt | 0 .../unaryOperations/beforeMinusOnLibType.kt | 0 .../unaryOperations/beforeMinusOnUserType.kt | 0 .../beforeMinusOnUserTypeWithTypeParams.kt | 0 .../QuickFixMultiFileTestGenerated.java | 13 +- .../quickfix/QuickFixTestGenerated.java | 1017 +++++++++-------- 138 files changed, 526 insertions(+), 504 deletions(-) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/afterCustomOperationOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/afterGreaterOrEqualOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/afterInOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/afterLessOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/afterNotInOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/afterPlusAssignOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/afterPlusExtraArgs.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/afterPlusForAssignmentOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/afterPlusMissingArgs.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/afterPlusOnLibType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/afterPlusOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/afterPlusOnUserTypeWithTypeParams.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/afterWhenInOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/afterWhenNotInOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/beforeCustomOperationOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/beforeGreaterOrEqualOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/beforeInOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/beforeLessOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/beforeNotInOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/beforePlusAssignOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/beforePlusExtraArgs.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/beforePlusForAssignmentOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/beforePlusMissingArgs.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/beforePlusOnLibType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/beforePlusOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/beforePlusOnUserTypeWithTypeParams.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/beforeWhenInOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/binaryOperations/beforeWhenNotInOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/afterCallWithLambdaArg.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/afterCallWithLambdaArgOnly.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/afterFunExtraArgs.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/afterFunMissingArgs.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/afterFunOnClassObject.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/afterFunOnLibObject.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/afterFunOnLibType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/afterFunOnUserObject.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/afterFunOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/afterFunOnUserTypeWithTypeParams.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/afterFunWithExplicitParamNamesOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/afterInconsistentTypes.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/afterLocalFunNoReceiver.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/afterMemberFunNoReceiver.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/afterObjectMemberFunNoReceiver.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/afterThisInClass.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/afterThisInExtension.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/afterThisInNestedClass1.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/afterThisInNestedClass2.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/afterTopLevelFunNoReceiver.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/afterUnknownType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/beforeCallWithLambdaArg.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/beforeCallWithLambdaArgOnly.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/beforeFunExtraArgs.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/beforeFunMissingArgs.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/beforeFunOnClassObject.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/beforeFunOnLibObject.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/beforeFunOnLibType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/beforeFunOnUserObject.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/beforeFunOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/beforeFunOnUserTypeWithTypeParams.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/beforeFunWithExplicitParamNamesOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/beforeInconsistentTypes.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/beforeLocalFunNoReceiver.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/beforeMemberFunNoReceiver.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/beforeObjectMemberFunNoReceiver.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/beforeThisInClass.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/beforeThisInExtension.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/beforeThisInNestedClass1.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/beforeThisInNestedClass2.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/beforeTopLevelFunNoReceiver.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/call/beforeUnknownType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/component/afterCreateComponentFromUsage1.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/component/afterCreateComponentFromUsage2.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/component/afterCreateComponentFromUsage3.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/component/beforeCreateComponentFromUsage1.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/component/beforeCreateComponentFromUsage2.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/component/beforeCreateComponentFromUsage3.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/afterCreateGetFromUsage1.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/afterCreateGetFromUsage10.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/afterCreateGetFromUsage11.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/afterCreateGetFromUsage12.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/afterCreateGetFromUsage13.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/afterCreateGetFromUsage2.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/afterCreateGetFromUsage3.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/afterCreateGetFromUsage4.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/afterCreateGetFromUsage5.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/afterCreateGetFromUsage7.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/afterCreateGetFromUsage8.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/afterCreateGetFromUsage9.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/beforeCreateGetFromUsage1.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/beforeCreateGetFromUsage10.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/beforeCreateGetFromUsage11.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/beforeCreateGetFromUsage12.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/beforeCreateGetFromUsage13.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/beforeCreateGetFromUsage2.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/beforeCreateGetFromUsage3.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/beforeCreateGetFromUsage4.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/beforeCreateGetFromUsage5.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/beforeCreateGetFromUsage7.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/beforeCreateGetFromUsage8.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/get/beforeCreateGetFromUsage9.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/hasNext/afterCreateHasNextFromUsage1.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/hasNext/afterCreateHasNextFromUsage2.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/hasNext/beforeCreateHasNextFromUsage1.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/hasNext/beforeCreateHasNextFromUsage2.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/invoke/afterInvokeOnLibType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/invoke/afterInvokeOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/invoke/afterInvokeOnUserTypeWithTypeParams.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/invoke/afterInvokeWithExplicitParamNamesOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/invoke/beforeInvokeOnLibType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/invoke/beforeInvokeOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/invoke/beforeInvokeOnUserTypeWithTypeParams.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/invoke/beforeInvokeWithExplicitParamNamesOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/iterator/afterCreateIteratorFromUsage1.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/iterator/afterCreateIteratorFromUsage2.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/iterator/afterCreateIteratorFromUsage3.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/iterator/beforeCreateIteratorFromUsage1.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/iterator/beforeCreateIteratorFromUsage2.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/iterator/beforeCreateIteratorFromUsage3.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/next/afterCreateNextFromUsage1.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/next/afterCreateNextFromUsage2.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/next/beforeCreateNextFromUsage1.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/next/beforeCreateNextFromUsage2.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/set/afterCreateSetFromUsage1.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/set/afterCreateSetFromUsage2.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/set/beforeCreateSetFromUsage1.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/set/beforeCreateSetFromUsage2.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/unaryOperations/afterIncOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/unaryOperations/afterMinusMissingArgs.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/unaryOperations/afterMinusOnLibType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/unaryOperations/afterMinusOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/unaryOperations/afterMinusOnUserTypeWithTypeParams.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/unaryOperations/beforeIncOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/unaryOperations/beforeMinusMissingArgs.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/unaryOperations/beforeMinusOnLibType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/unaryOperations/beforeMinusOnUserType.kt (100%) rename idea/testData/quickfix/createFromUsage/{ => createFunction}/unaryOperations/beforeMinusOnUserTypeWithTypeParams.kt (100%) diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/afterCustomOperationOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterCustomOperationOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/afterCustomOperationOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterCustomOperationOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/afterGreaterOrEqualOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterGreaterOrEqualOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/afterGreaterOrEqualOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterGreaterOrEqualOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/afterInOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterInOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/afterInOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterInOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/afterLessOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterLessOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/afterLessOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterLessOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/afterNotInOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterNotInOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/afterNotInOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterNotInOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/afterPlusAssignOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusAssignOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/afterPlusAssignOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusAssignOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/afterPlusExtraArgs.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusExtraArgs.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/afterPlusExtraArgs.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusExtraArgs.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/afterPlusForAssignmentOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusForAssignmentOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/afterPlusForAssignmentOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusForAssignmentOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/afterPlusMissingArgs.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusMissingArgs.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/afterPlusMissingArgs.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusMissingArgs.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/afterPlusOnLibType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusOnLibType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/afterPlusOnLibType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusOnLibType.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/afterPlusOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/afterPlusOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/afterPlusOnUserTypeWithTypeParams.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusOnUserTypeWithTypeParams.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/afterPlusOnUserTypeWithTypeParams.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusOnUserTypeWithTypeParams.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/afterWhenInOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterWhenInOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/afterWhenInOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterWhenInOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/afterWhenNotInOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterWhenNotInOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/afterWhenNotInOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterWhenNotInOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/beforeCustomOperationOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeCustomOperationOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/beforeCustomOperationOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeCustomOperationOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/beforeGreaterOrEqualOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeGreaterOrEqualOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/beforeGreaterOrEqualOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeGreaterOrEqualOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/beforeInOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeInOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/beforeInOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeInOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/beforeLessOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeLessOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/beforeLessOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeLessOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/beforeNotInOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeNotInOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/beforeNotInOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeNotInOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/beforePlusAssignOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusAssignOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/beforePlusAssignOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusAssignOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/beforePlusExtraArgs.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusExtraArgs.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/beforePlusExtraArgs.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusExtraArgs.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/beforePlusForAssignmentOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusForAssignmentOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/beforePlusForAssignmentOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusForAssignmentOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/beforePlusMissingArgs.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusMissingArgs.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/beforePlusMissingArgs.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusMissingArgs.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/beforePlusOnLibType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusOnLibType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/beforePlusOnLibType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusOnLibType.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/beforePlusOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/beforePlusOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/beforePlusOnUserTypeWithTypeParams.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusOnUserTypeWithTypeParams.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/beforePlusOnUserTypeWithTypeParams.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusOnUserTypeWithTypeParams.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/beforeWhenInOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeWhenInOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/beforeWhenInOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeWhenInOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/binaryOperations/beforeWhenNotInOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeWhenNotInOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/binaryOperations/beforeWhenNotInOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeWhenNotInOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/call/afterCallWithLambdaArg.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/afterCallWithLambdaArg.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/afterCallWithLambdaArg.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/afterCallWithLambdaArg.kt diff --git a/idea/testData/quickfix/createFromUsage/call/afterCallWithLambdaArgOnly.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/afterCallWithLambdaArgOnly.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/afterCallWithLambdaArgOnly.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/afterCallWithLambdaArgOnly.kt diff --git a/idea/testData/quickfix/createFromUsage/call/afterFunExtraArgs.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/afterFunExtraArgs.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/afterFunExtraArgs.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/afterFunExtraArgs.kt diff --git a/idea/testData/quickfix/createFromUsage/call/afterFunMissingArgs.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/afterFunMissingArgs.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/afterFunMissingArgs.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/afterFunMissingArgs.kt diff --git a/idea/testData/quickfix/createFromUsage/call/afterFunOnClassObject.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/afterFunOnClassObject.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/afterFunOnClassObject.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/afterFunOnClassObject.kt diff --git a/idea/testData/quickfix/createFromUsage/call/afterFunOnLibObject.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/afterFunOnLibObject.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/afterFunOnLibObject.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/afterFunOnLibObject.kt diff --git a/idea/testData/quickfix/createFromUsage/call/afterFunOnLibType.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/afterFunOnLibType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/afterFunOnLibType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/afterFunOnLibType.kt diff --git a/idea/testData/quickfix/createFromUsage/call/afterFunOnUserObject.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserObject.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/afterFunOnUserObject.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserObject.kt diff --git a/idea/testData/quickfix/createFromUsage/call/afterFunOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/afterFunOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/call/afterFunOnUserTypeWithTypeParams.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserTypeWithTypeParams.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/afterFunOnUserTypeWithTypeParams.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserTypeWithTypeParams.kt diff --git a/idea/testData/quickfix/createFromUsage/call/afterFunWithExplicitParamNamesOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/afterFunWithExplicitParamNamesOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/afterFunWithExplicitParamNamesOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/afterFunWithExplicitParamNamesOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/call/afterInconsistentTypes.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/afterInconsistentTypes.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/afterInconsistentTypes.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/afterInconsistentTypes.kt diff --git a/idea/testData/quickfix/createFromUsage/call/afterLocalFunNoReceiver.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/afterLocalFunNoReceiver.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/afterLocalFunNoReceiver.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/afterLocalFunNoReceiver.kt diff --git a/idea/testData/quickfix/createFromUsage/call/afterMemberFunNoReceiver.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/afterMemberFunNoReceiver.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/afterMemberFunNoReceiver.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/afterMemberFunNoReceiver.kt diff --git a/idea/testData/quickfix/createFromUsage/call/afterObjectMemberFunNoReceiver.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/afterObjectMemberFunNoReceiver.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/afterObjectMemberFunNoReceiver.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/afterObjectMemberFunNoReceiver.kt diff --git a/idea/testData/quickfix/createFromUsage/call/afterThisInClass.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/afterThisInClass.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/afterThisInClass.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/afterThisInClass.kt diff --git a/idea/testData/quickfix/createFromUsage/call/afterThisInExtension.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/afterThisInExtension.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/afterThisInExtension.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/afterThisInExtension.kt diff --git a/idea/testData/quickfix/createFromUsage/call/afterThisInNestedClass1.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/afterThisInNestedClass1.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/afterThisInNestedClass1.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/afterThisInNestedClass1.kt diff --git a/idea/testData/quickfix/createFromUsage/call/afterThisInNestedClass2.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/afterThisInNestedClass2.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/afterThisInNestedClass2.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/afterThisInNestedClass2.kt diff --git a/idea/testData/quickfix/createFromUsage/call/afterTopLevelFunNoReceiver.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/afterTopLevelFunNoReceiver.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/afterTopLevelFunNoReceiver.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/afterTopLevelFunNoReceiver.kt diff --git a/idea/testData/quickfix/createFromUsage/call/afterUnknownType.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/afterUnknownType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/afterUnknownType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/afterUnknownType.kt diff --git a/idea/testData/quickfix/createFromUsage/call/beforeCallWithLambdaArg.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/beforeCallWithLambdaArg.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/beforeCallWithLambdaArg.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/beforeCallWithLambdaArg.kt diff --git a/idea/testData/quickfix/createFromUsage/call/beforeCallWithLambdaArgOnly.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/beforeCallWithLambdaArgOnly.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/beforeCallWithLambdaArgOnly.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/beforeCallWithLambdaArgOnly.kt diff --git a/idea/testData/quickfix/createFromUsage/call/beforeFunExtraArgs.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunExtraArgs.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/beforeFunExtraArgs.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunExtraArgs.kt diff --git a/idea/testData/quickfix/createFromUsage/call/beforeFunMissingArgs.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunMissingArgs.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/beforeFunMissingArgs.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunMissingArgs.kt diff --git a/idea/testData/quickfix/createFromUsage/call/beforeFunOnClassObject.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnClassObject.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/beforeFunOnClassObject.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnClassObject.kt diff --git a/idea/testData/quickfix/createFromUsage/call/beforeFunOnLibObject.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnLibObject.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/beforeFunOnLibObject.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnLibObject.kt diff --git a/idea/testData/quickfix/createFromUsage/call/beforeFunOnLibType.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnLibType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/beforeFunOnLibType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnLibType.kt diff --git a/idea/testData/quickfix/createFromUsage/call/beforeFunOnUserObject.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserObject.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/beforeFunOnUserObject.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserObject.kt diff --git a/idea/testData/quickfix/createFromUsage/call/beforeFunOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/beforeFunOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/call/beforeFunOnUserTypeWithTypeParams.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserTypeWithTypeParams.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/beforeFunOnUserTypeWithTypeParams.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserTypeWithTypeParams.kt diff --git a/idea/testData/quickfix/createFromUsage/call/beforeFunWithExplicitParamNamesOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithExplicitParamNamesOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/beforeFunWithExplicitParamNamesOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithExplicitParamNamesOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/call/beforeInconsistentTypes.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/beforeInconsistentTypes.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/beforeInconsistentTypes.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/beforeInconsistentTypes.kt diff --git a/idea/testData/quickfix/createFromUsage/call/beforeLocalFunNoReceiver.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/beforeLocalFunNoReceiver.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/beforeLocalFunNoReceiver.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/beforeLocalFunNoReceiver.kt diff --git a/idea/testData/quickfix/createFromUsage/call/beforeMemberFunNoReceiver.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/beforeMemberFunNoReceiver.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/beforeMemberFunNoReceiver.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/beforeMemberFunNoReceiver.kt diff --git a/idea/testData/quickfix/createFromUsage/call/beforeObjectMemberFunNoReceiver.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/beforeObjectMemberFunNoReceiver.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/beforeObjectMemberFunNoReceiver.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/beforeObjectMemberFunNoReceiver.kt diff --git a/idea/testData/quickfix/createFromUsage/call/beforeThisInClass.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/beforeThisInClass.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/beforeThisInClass.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/beforeThisInClass.kt diff --git a/idea/testData/quickfix/createFromUsage/call/beforeThisInExtension.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/beforeThisInExtension.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/beforeThisInExtension.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/beforeThisInExtension.kt diff --git a/idea/testData/quickfix/createFromUsage/call/beforeThisInNestedClass1.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/beforeThisInNestedClass1.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/beforeThisInNestedClass1.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/beforeThisInNestedClass1.kt diff --git a/idea/testData/quickfix/createFromUsage/call/beforeThisInNestedClass2.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/beforeThisInNestedClass2.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/beforeThisInNestedClass2.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/beforeThisInNestedClass2.kt diff --git a/idea/testData/quickfix/createFromUsage/call/beforeTopLevelFunNoReceiver.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/beforeTopLevelFunNoReceiver.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/beforeTopLevelFunNoReceiver.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/beforeTopLevelFunNoReceiver.kt diff --git a/idea/testData/quickfix/createFromUsage/call/beforeUnknownType.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/beforeUnknownType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/call/beforeUnknownType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/call/beforeUnknownType.kt diff --git a/idea/testData/quickfix/createFromUsage/component/afterCreateComponentFromUsage1.kt b/idea/testData/quickfix/createFromUsage/createFunction/component/afterCreateComponentFromUsage1.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/component/afterCreateComponentFromUsage1.kt rename to idea/testData/quickfix/createFromUsage/createFunction/component/afterCreateComponentFromUsage1.kt diff --git a/idea/testData/quickfix/createFromUsage/component/afterCreateComponentFromUsage2.kt b/idea/testData/quickfix/createFromUsage/createFunction/component/afterCreateComponentFromUsage2.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/component/afterCreateComponentFromUsage2.kt rename to idea/testData/quickfix/createFromUsage/createFunction/component/afterCreateComponentFromUsage2.kt diff --git a/idea/testData/quickfix/createFromUsage/component/afterCreateComponentFromUsage3.kt b/idea/testData/quickfix/createFromUsage/createFunction/component/afterCreateComponentFromUsage3.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/component/afterCreateComponentFromUsage3.kt rename to idea/testData/quickfix/createFromUsage/createFunction/component/afterCreateComponentFromUsage3.kt diff --git a/idea/testData/quickfix/createFromUsage/component/beforeCreateComponentFromUsage1.kt b/idea/testData/quickfix/createFromUsage/createFunction/component/beforeCreateComponentFromUsage1.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/component/beforeCreateComponentFromUsage1.kt rename to idea/testData/quickfix/createFromUsage/createFunction/component/beforeCreateComponentFromUsage1.kt diff --git a/idea/testData/quickfix/createFromUsage/component/beforeCreateComponentFromUsage2.kt b/idea/testData/quickfix/createFromUsage/createFunction/component/beforeCreateComponentFromUsage2.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/component/beforeCreateComponentFromUsage2.kt rename to idea/testData/quickfix/createFromUsage/createFunction/component/beforeCreateComponentFromUsage2.kt diff --git a/idea/testData/quickfix/createFromUsage/component/beforeCreateComponentFromUsage3.kt b/idea/testData/quickfix/createFromUsage/createFunction/component/beforeCreateComponentFromUsage3.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/component/beforeCreateComponentFromUsage3.kt rename to idea/testData/quickfix/createFromUsage/createFunction/component/beforeCreateComponentFromUsage3.kt diff --git a/idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage1.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage1.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage1.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage1.kt diff --git a/idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage10.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage10.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage10.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage10.kt diff --git a/idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage11.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage11.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage11.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage11.kt diff --git a/idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage12.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage12.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage12.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage12.kt diff --git a/idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage13.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage13.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage13.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage13.kt diff --git a/idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage2.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage2.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage2.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage2.kt diff --git a/idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage3.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage3.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage3.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage3.kt diff --git a/idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage4.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage4.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage4.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage4.kt diff --git a/idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage5.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage5.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage5.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage5.kt diff --git a/idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage7.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage7.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage7.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage7.kt diff --git a/idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage8.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage8.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage8.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage8.kt diff --git a/idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage9.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage9.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage9.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage9.kt diff --git a/idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage1.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage1.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage1.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage1.kt diff --git a/idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage10.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage10.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage10.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage10.kt diff --git a/idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage11.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage11.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage11.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage11.kt diff --git a/idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage12.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage12.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage12.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage12.kt diff --git a/idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage13.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage13.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage13.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage13.kt diff --git a/idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage2.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage2.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage2.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage2.kt diff --git a/idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage3.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage3.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage3.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage3.kt diff --git a/idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage4.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage4.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage4.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage4.kt diff --git a/idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage5.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage5.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage5.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage5.kt diff --git a/idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage7.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage7.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage7.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage7.kt diff --git a/idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage8.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage8.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage8.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage8.kt diff --git a/idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage9.kt b/idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage9.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage9.kt rename to idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage9.kt diff --git a/idea/testData/quickfix/createFromUsage/hasNext/afterCreateHasNextFromUsage1.kt b/idea/testData/quickfix/createFromUsage/createFunction/hasNext/afterCreateHasNextFromUsage1.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/hasNext/afterCreateHasNextFromUsage1.kt rename to idea/testData/quickfix/createFromUsage/createFunction/hasNext/afterCreateHasNextFromUsage1.kt diff --git a/idea/testData/quickfix/createFromUsage/hasNext/afterCreateHasNextFromUsage2.kt b/idea/testData/quickfix/createFromUsage/createFunction/hasNext/afterCreateHasNextFromUsage2.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/hasNext/afterCreateHasNextFromUsage2.kt rename to idea/testData/quickfix/createFromUsage/createFunction/hasNext/afterCreateHasNextFromUsage2.kt diff --git a/idea/testData/quickfix/createFromUsage/hasNext/beforeCreateHasNextFromUsage1.kt b/idea/testData/quickfix/createFromUsage/createFunction/hasNext/beforeCreateHasNextFromUsage1.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/hasNext/beforeCreateHasNextFromUsage1.kt rename to idea/testData/quickfix/createFromUsage/createFunction/hasNext/beforeCreateHasNextFromUsage1.kt diff --git a/idea/testData/quickfix/createFromUsage/hasNext/beforeCreateHasNextFromUsage2.kt b/idea/testData/quickfix/createFromUsage/createFunction/hasNext/beforeCreateHasNextFromUsage2.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/hasNext/beforeCreateHasNextFromUsage2.kt rename to idea/testData/quickfix/createFromUsage/createFunction/hasNext/beforeCreateHasNextFromUsage2.kt diff --git a/idea/testData/quickfix/createFromUsage/invoke/afterInvokeOnLibType.kt b/idea/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeOnLibType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/invoke/afterInvokeOnLibType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeOnLibType.kt diff --git a/idea/testData/quickfix/createFromUsage/invoke/afterInvokeOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/invoke/afterInvokeOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/invoke/afterInvokeOnUserTypeWithTypeParams.kt b/idea/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeOnUserTypeWithTypeParams.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/invoke/afterInvokeOnUserTypeWithTypeParams.kt rename to idea/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeOnUserTypeWithTypeParams.kt diff --git a/idea/testData/quickfix/createFromUsage/invoke/afterInvokeWithExplicitParamNamesOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeWithExplicitParamNamesOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/invoke/afterInvokeWithExplicitParamNamesOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeWithExplicitParamNamesOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/invoke/beforeInvokeOnLibType.kt b/idea/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeOnLibType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/invoke/beforeInvokeOnLibType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeOnLibType.kt diff --git a/idea/testData/quickfix/createFromUsage/invoke/beforeInvokeOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/invoke/beforeInvokeOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/invoke/beforeInvokeOnUserTypeWithTypeParams.kt b/idea/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeOnUserTypeWithTypeParams.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/invoke/beforeInvokeOnUserTypeWithTypeParams.kt rename to idea/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeOnUserTypeWithTypeParams.kt diff --git a/idea/testData/quickfix/createFromUsage/invoke/beforeInvokeWithExplicitParamNamesOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeWithExplicitParamNamesOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/invoke/beforeInvokeWithExplicitParamNamesOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeWithExplicitParamNamesOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/iterator/afterCreateIteratorFromUsage1.kt b/idea/testData/quickfix/createFromUsage/createFunction/iterator/afterCreateIteratorFromUsage1.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/iterator/afterCreateIteratorFromUsage1.kt rename to idea/testData/quickfix/createFromUsage/createFunction/iterator/afterCreateIteratorFromUsage1.kt diff --git a/idea/testData/quickfix/createFromUsage/iterator/afterCreateIteratorFromUsage2.kt b/idea/testData/quickfix/createFromUsage/createFunction/iterator/afterCreateIteratorFromUsage2.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/iterator/afterCreateIteratorFromUsage2.kt rename to idea/testData/quickfix/createFromUsage/createFunction/iterator/afterCreateIteratorFromUsage2.kt diff --git a/idea/testData/quickfix/createFromUsage/iterator/afterCreateIteratorFromUsage3.kt b/idea/testData/quickfix/createFromUsage/createFunction/iterator/afterCreateIteratorFromUsage3.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/iterator/afterCreateIteratorFromUsage3.kt rename to idea/testData/quickfix/createFromUsage/createFunction/iterator/afterCreateIteratorFromUsage3.kt diff --git a/idea/testData/quickfix/createFromUsage/iterator/beforeCreateIteratorFromUsage1.kt b/idea/testData/quickfix/createFromUsage/createFunction/iterator/beforeCreateIteratorFromUsage1.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/iterator/beforeCreateIteratorFromUsage1.kt rename to idea/testData/quickfix/createFromUsage/createFunction/iterator/beforeCreateIteratorFromUsage1.kt diff --git a/idea/testData/quickfix/createFromUsage/iterator/beforeCreateIteratorFromUsage2.kt b/idea/testData/quickfix/createFromUsage/createFunction/iterator/beforeCreateIteratorFromUsage2.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/iterator/beforeCreateIteratorFromUsage2.kt rename to idea/testData/quickfix/createFromUsage/createFunction/iterator/beforeCreateIteratorFromUsage2.kt diff --git a/idea/testData/quickfix/createFromUsage/iterator/beforeCreateIteratorFromUsage3.kt b/idea/testData/quickfix/createFromUsage/createFunction/iterator/beforeCreateIteratorFromUsage3.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/iterator/beforeCreateIteratorFromUsage3.kt rename to idea/testData/quickfix/createFromUsage/createFunction/iterator/beforeCreateIteratorFromUsage3.kt diff --git a/idea/testData/quickfix/createFromUsage/next/afterCreateNextFromUsage1.kt b/idea/testData/quickfix/createFromUsage/createFunction/next/afterCreateNextFromUsage1.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/next/afterCreateNextFromUsage1.kt rename to idea/testData/quickfix/createFromUsage/createFunction/next/afterCreateNextFromUsage1.kt diff --git a/idea/testData/quickfix/createFromUsage/next/afterCreateNextFromUsage2.kt b/idea/testData/quickfix/createFromUsage/createFunction/next/afterCreateNextFromUsage2.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/next/afterCreateNextFromUsage2.kt rename to idea/testData/quickfix/createFromUsage/createFunction/next/afterCreateNextFromUsage2.kt diff --git a/idea/testData/quickfix/createFromUsage/next/beforeCreateNextFromUsage1.kt b/idea/testData/quickfix/createFromUsage/createFunction/next/beforeCreateNextFromUsage1.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/next/beforeCreateNextFromUsage1.kt rename to idea/testData/quickfix/createFromUsage/createFunction/next/beforeCreateNextFromUsage1.kt diff --git a/idea/testData/quickfix/createFromUsage/next/beforeCreateNextFromUsage2.kt b/idea/testData/quickfix/createFromUsage/createFunction/next/beforeCreateNextFromUsage2.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/next/beforeCreateNextFromUsage2.kt rename to idea/testData/quickfix/createFromUsage/createFunction/next/beforeCreateNextFromUsage2.kt diff --git a/idea/testData/quickfix/createFromUsage/set/afterCreateSetFromUsage1.kt b/idea/testData/quickfix/createFromUsage/createFunction/set/afterCreateSetFromUsage1.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/set/afterCreateSetFromUsage1.kt rename to idea/testData/quickfix/createFromUsage/createFunction/set/afterCreateSetFromUsage1.kt diff --git a/idea/testData/quickfix/createFromUsage/set/afterCreateSetFromUsage2.kt b/idea/testData/quickfix/createFromUsage/createFunction/set/afterCreateSetFromUsage2.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/set/afterCreateSetFromUsage2.kt rename to idea/testData/quickfix/createFromUsage/createFunction/set/afterCreateSetFromUsage2.kt diff --git a/idea/testData/quickfix/createFromUsage/set/beforeCreateSetFromUsage1.kt b/idea/testData/quickfix/createFromUsage/createFunction/set/beforeCreateSetFromUsage1.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/set/beforeCreateSetFromUsage1.kt rename to idea/testData/quickfix/createFromUsage/createFunction/set/beforeCreateSetFromUsage1.kt diff --git a/idea/testData/quickfix/createFromUsage/set/beforeCreateSetFromUsage2.kt b/idea/testData/quickfix/createFromUsage/createFunction/set/beforeCreateSetFromUsage2.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/set/beforeCreateSetFromUsage2.kt rename to idea/testData/quickfix/createFromUsage/createFunction/set/beforeCreateSetFromUsage2.kt diff --git a/idea/testData/quickfix/createFromUsage/unaryOperations/afterIncOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterIncOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/unaryOperations/afterIncOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterIncOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/unaryOperations/afterMinusMissingArgs.kt b/idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusMissingArgs.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/unaryOperations/afterMinusMissingArgs.kt rename to idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusMissingArgs.kt diff --git a/idea/testData/quickfix/createFromUsage/unaryOperations/afterMinusOnLibType.kt b/idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusOnLibType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/unaryOperations/afterMinusOnLibType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusOnLibType.kt diff --git a/idea/testData/quickfix/createFromUsage/unaryOperations/afterMinusOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/unaryOperations/afterMinusOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/unaryOperations/afterMinusOnUserTypeWithTypeParams.kt b/idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusOnUserTypeWithTypeParams.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/unaryOperations/afterMinusOnUserTypeWithTypeParams.kt rename to idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusOnUserTypeWithTypeParams.kt diff --git a/idea/testData/quickfix/createFromUsage/unaryOperations/beforeIncOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeIncOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/unaryOperations/beforeIncOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeIncOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/unaryOperations/beforeMinusMissingArgs.kt b/idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusMissingArgs.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/unaryOperations/beforeMinusMissingArgs.kt rename to idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusMissingArgs.kt diff --git a/idea/testData/quickfix/createFromUsage/unaryOperations/beforeMinusOnLibType.kt b/idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusOnLibType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/unaryOperations/beforeMinusOnLibType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusOnLibType.kt diff --git a/idea/testData/quickfix/createFromUsage/unaryOperations/beforeMinusOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusOnUserType.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/unaryOperations/beforeMinusOnUserType.kt rename to idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusOnUserType.kt diff --git a/idea/testData/quickfix/createFromUsage/unaryOperations/beforeMinusOnUserTypeWithTypeParams.kt b/idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusOnUserTypeWithTypeParams.kt similarity index 100% rename from idea/testData/quickfix/createFromUsage/unaryOperations/beforeMinusOnUserTypeWithTypeParams.kt rename to idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusOnUserTypeWithTypeParams.kt diff --git a/idea/tests/org/jetbrains/jet/plugin/quickfix/QuickFixMultiFileTestGenerated.java b/idea/tests/org/jetbrains/jet/plugin/quickfix/QuickFixMultiFileTestGenerated.java index de88640dfac..b16d856a37e 100644 --- a/idea/tests/org/jetbrains/jet/plugin/quickfix/QuickFixMultiFileTestGenerated.java +++ b/idea/tests/org/jetbrains/jet/plugin/quickfix/QuickFixMultiFileTestGenerated.java @@ -218,13 +218,24 @@ public class QuickFixMultiFileTestGenerated extends AbstractQuickFixMultiFileTes @TestMetadata("idea/testData/quickfix/createFromUsage") @TestDataPath("$PROJECT_ROOT") - @InnerTestClasses({}) + @InnerTestClasses({CreateFromUsage.CreateFunction.class}) @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) public static class CreateFromUsage extends AbstractQuickFixMultiFileTest { public void testAllFilesPresentInCreateFromUsage() throws Exception { JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage"), Pattern.compile("^(\\w+)\\.before\\.Main\\.kt$"), true); } + @TestMetadata("idea/testData/quickfix/createFromUsage/createFunction") + @TestDataPath("$PROJECT_ROOT") + @InnerTestClasses({}) + @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) + public static class CreateFunction extends AbstractQuickFixMultiFileTest { + public void testAllFilesPresentInCreateFunction() throws Exception { + JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/createFunction"), Pattern.compile("^(\\w+)\\.before\\.Main\\.kt$"), true); + } + + } + } @TestMetadata("idea/testData/quickfix/modifiers") diff --git a/idea/tests/org/jetbrains/jet/plugin/quickfix/QuickFixTestGenerated.java b/idea/tests/org/jetbrains/jet/plugin/quickfix/QuickFixTestGenerated.java index 1746388b369..b98b84080d1 100644 --- a/idea/tests/org/jetbrains/jet/plugin/quickfix/QuickFixTestGenerated.java +++ b/idea/tests/org/jetbrains/jet/plugin/quickfix/QuickFixTestGenerated.java @@ -618,517 +618,528 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest { @TestMetadata("idea/testData/quickfix/createFromUsage") @TestDataPath("$PROJECT_ROOT") - @InnerTestClasses({CreateFromUsage.BinaryOperations.class, CreateFromUsage.Call.class, CreateFromUsage.Component.class, CreateFromUsage.Get.class, CreateFromUsage.HasNext.class, CreateFromUsage.Invoke.class, CreateFromUsage.Iterator.class, CreateFromUsage.Next.class, CreateFromUsage.Set.class, CreateFromUsage.UnaryOperations.class}) + @InnerTestClasses({CreateFromUsage.CreateFunction.class}) @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) public static class CreateFromUsage extends AbstractQuickFixTest { public void testAllFilesPresentInCreateFromUsage() throws Exception { JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage"), Pattern.compile("^before(\\w+)\\.kt$"), true); } - @TestMetadata("idea/testData/quickfix/createFromUsage/binaryOperations") + @TestMetadata("idea/testData/quickfix/createFromUsage/createFunction") @TestDataPath("$PROJECT_ROOT") + @InnerTestClasses({CreateFunction.BinaryOperations.class, CreateFunction.Call.class, CreateFunction.Component.class, CreateFunction.Get.class, CreateFunction.HasNext.class, CreateFunction.Invoke.class, CreateFunction.Iterator.class, CreateFunction.Next.class, CreateFunction.Set.class, CreateFunction.UnaryOperations.class}) @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) - public static class BinaryOperations extends AbstractQuickFixTest { - public void testAllFilesPresentInBinaryOperations() throws Exception { - JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/binaryOperations"), Pattern.compile("^before(\\w+)\\.kt$"), true); - } - - @TestMetadata("beforeCustomOperationOnUserType.kt") - public void testCustomOperationOnUserType() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/binaryOperations/beforeCustomOperationOnUserType.kt"); - doTest(fileName); - } - - @TestMetadata("beforeGreaterOrEqualOnUserType.kt") - public void testGreaterOrEqualOnUserType() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/binaryOperations/beforeGreaterOrEqualOnUserType.kt"); - doTest(fileName); - } - - @TestMetadata("beforeInOnUserType.kt") - public void testInOnUserType() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/binaryOperations/beforeInOnUserType.kt"); - doTest(fileName); - } - - @TestMetadata("beforeLessOnUserType.kt") - public void testLessOnUserType() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/binaryOperations/beforeLessOnUserType.kt"); - doTest(fileName); - } - - @TestMetadata("beforeNotInOnUserType.kt") - public void testNotInOnUserType() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/binaryOperations/beforeNotInOnUserType.kt"); - doTest(fileName); - } - - @TestMetadata("beforePlusAssignOnUserType.kt") - public void testPlusAssignOnUserType() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/binaryOperations/beforePlusAssignOnUserType.kt"); - doTest(fileName); - } - - @TestMetadata("beforePlusExtraArgs.kt") - public void testPlusExtraArgs() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/binaryOperations/beforePlusExtraArgs.kt"); - doTest(fileName); - } - - @TestMetadata("beforePlusForAssignmentOnUserType.kt") - public void testPlusForAssignmentOnUserType() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/binaryOperations/beforePlusForAssignmentOnUserType.kt"); - doTest(fileName); - } - - @TestMetadata("beforePlusMissingArgs.kt") - public void testPlusMissingArgs() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/binaryOperations/beforePlusMissingArgs.kt"); - doTest(fileName); - } - - @TestMetadata("beforePlusOnLibType.kt") - public void testPlusOnLibType() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/binaryOperations/beforePlusOnLibType.kt"); - doTest(fileName); - } - - @TestMetadata("beforePlusOnUserType.kt") - public void testPlusOnUserType() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/binaryOperations/beforePlusOnUserType.kt"); - doTest(fileName); - } - - @TestMetadata("beforePlusOnUserTypeWithTypeParams.kt") - public void testPlusOnUserTypeWithTypeParams() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/binaryOperations/beforePlusOnUserTypeWithTypeParams.kt"); - doTest(fileName); - } - - @TestMetadata("beforeWhenInOnUserType.kt") - public void testWhenInOnUserType() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/binaryOperations/beforeWhenInOnUserType.kt"); - doTest(fileName); - } - - @TestMetadata("beforeWhenNotInOnUserType.kt") - public void testWhenNotInOnUserType() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/binaryOperations/beforeWhenNotInOnUserType.kt"); - doTest(fileName); - } - - } - - @TestMetadata("idea/testData/quickfix/createFromUsage/call") - @TestDataPath("$PROJECT_ROOT") - @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) - public static class Call extends AbstractQuickFixTest { - public void testAllFilesPresentInCall() throws Exception { - JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/call"), Pattern.compile("^before(\\w+)\\.kt$"), true); - } - - @TestMetadata("beforeCallWithLambdaArg.kt") - public void testCallWithLambdaArg() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/call/beforeCallWithLambdaArg.kt"); - doTest(fileName); - } - - @TestMetadata("beforeCallWithLambdaArgOnly.kt") - public void testCallWithLambdaArgOnly() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/call/beforeCallWithLambdaArgOnly.kt"); - doTest(fileName); - } - - @TestMetadata("beforeFunExtraArgs.kt") - public void testFunExtraArgs() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/call/beforeFunExtraArgs.kt"); - doTest(fileName); - } - - @TestMetadata("beforeFunMissingArgs.kt") - public void testFunMissingArgs() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/call/beforeFunMissingArgs.kt"); - doTest(fileName); - } - - @TestMetadata("beforeFunOnClassObject.kt") - public void testFunOnClassObject() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/call/beforeFunOnClassObject.kt"); - doTest(fileName); - } - - @TestMetadata("beforeFunOnLibObject.kt") - public void testFunOnLibObject() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/call/beforeFunOnLibObject.kt"); - doTest(fileName); - } - - @TestMetadata("beforeFunOnLibType.kt") - public void testFunOnLibType() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/call/beforeFunOnLibType.kt"); - doTest(fileName); - } - - @TestMetadata("beforeFunOnUserObject.kt") - public void testFunOnUserObject() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/call/beforeFunOnUserObject.kt"); - doTest(fileName); - } - - @TestMetadata("beforeFunOnUserType.kt") - public void testFunOnUserType() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/call/beforeFunOnUserType.kt"); - doTest(fileName); - } - - @TestMetadata("beforeFunOnUserTypeWithTypeParams.kt") - public void testFunOnUserTypeWithTypeParams() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/call/beforeFunOnUserTypeWithTypeParams.kt"); - doTest(fileName); - } - - @TestMetadata("beforeFunWithExplicitParamNamesOnUserType.kt") - public void testFunWithExplicitParamNamesOnUserType() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/call/beforeFunWithExplicitParamNamesOnUserType.kt"); - doTest(fileName); - } - - @TestMetadata("beforeInconsistentTypes.kt") - public void testInconsistentTypes() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/call/beforeInconsistentTypes.kt"); - doTest(fileName); - } - - @TestMetadata("beforeLocalFunNoReceiver.kt") - public void testLocalFunNoReceiver() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/call/beforeLocalFunNoReceiver.kt"); - doTest(fileName); - } - - @TestMetadata("beforeMemberFunNoReceiver.kt") - public void testMemberFunNoReceiver() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/call/beforeMemberFunNoReceiver.kt"); - doTest(fileName); - } - - @TestMetadata("beforeObjectMemberFunNoReceiver.kt") - public void testObjectMemberFunNoReceiver() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/call/beforeObjectMemberFunNoReceiver.kt"); - doTest(fileName); - } - - @TestMetadata("beforeThisInClass.kt") - public void testThisInClass() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/call/beforeThisInClass.kt"); - doTest(fileName); - } - - @TestMetadata("beforeThisInExtension.kt") - public void testThisInExtension() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/call/beforeThisInExtension.kt"); - doTest(fileName); - } - - @TestMetadata("beforeThisInNestedClass1.kt") - public void testThisInNestedClass1() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/call/beforeThisInNestedClass1.kt"); - doTest(fileName); - } - - @TestMetadata("beforeThisInNestedClass2.kt") - public void testThisInNestedClass2() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/call/beforeThisInNestedClass2.kt"); - doTest(fileName); - } - - @TestMetadata("beforeTopLevelFunNoReceiver.kt") - public void testTopLevelFunNoReceiver() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/call/beforeTopLevelFunNoReceiver.kt"); - doTest(fileName); - } - - @TestMetadata("beforeUnknownType.kt") - public void testUnknownType() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/call/beforeUnknownType.kt"); - doTest(fileName); - } - - } - - @TestMetadata("idea/testData/quickfix/createFromUsage/component") - @TestDataPath("$PROJECT_ROOT") - @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) - public static class Component extends AbstractQuickFixTest { - public void testAllFilesPresentInComponent() throws Exception { - JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/component"), Pattern.compile("^before(\\w+)\\.kt$"), true); - } - - @TestMetadata("beforeCreateComponentFromUsage1.kt") - public void testCreateComponentFromUsage1() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/component/beforeCreateComponentFromUsage1.kt"); - doTest(fileName); - } - - @TestMetadata("beforeCreateComponentFromUsage2.kt") - public void testCreateComponentFromUsage2() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/component/beforeCreateComponentFromUsage2.kt"); - doTest(fileName); - } - - @TestMetadata("beforeCreateComponentFromUsage3.kt") - public void testCreateComponentFromUsage3() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/component/beforeCreateComponentFromUsage3.kt"); - doTest(fileName); - } - - } - - @TestMetadata("idea/testData/quickfix/createFromUsage/get") - @TestDataPath("$PROJECT_ROOT") - @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) - public static class Get extends AbstractQuickFixTest { - public void testAllFilesPresentInGet() throws Exception { - JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/get"), Pattern.compile("^before(\\w+)\\.kt$"), true); - } - - @TestMetadata("beforeCreateGetFromUsage1.kt") - public void testCreateGetFromUsage1() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage1.kt"); - doTest(fileName); - } - - @TestMetadata("beforeCreateGetFromUsage10.kt") - public void testCreateGetFromUsage10() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage10.kt"); - doTest(fileName); - } - - @TestMetadata("beforeCreateGetFromUsage11.kt") - public void testCreateGetFromUsage11() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage11.kt"); - doTest(fileName); - } - - @TestMetadata("beforeCreateGetFromUsage12.kt") - public void testCreateGetFromUsage12() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage12.kt"); - doTest(fileName); - } - - @TestMetadata("beforeCreateGetFromUsage13.kt") - public void testCreateGetFromUsage13() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage13.kt"); - doTest(fileName); - } - - @TestMetadata("beforeCreateGetFromUsage2.kt") - public void testCreateGetFromUsage2() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage2.kt"); - doTest(fileName); - } - - @TestMetadata("beforeCreateGetFromUsage3.kt") - public void testCreateGetFromUsage3() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage3.kt"); - doTest(fileName); - } - - @TestMetadata("beforeCreateGetFromUsage4.kt") - public void testCreateGetFromUsage4() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage4.kt"); - doTest(fileName); - } - - @TestMetadata("beforeCreateGetFromUsage5.kt") - public void testCreateGetFromUsage5() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage5.kt"); - doTest(fileName); - } - - @TestMetadata("beforeCreateGetFromUsage7.kt") - public void testCreateGetFromUsage7() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage7.kt"); - doTest(fileName); - } - - @TestMetadata("beforeCreateGetFromUsage8.kt") - public void testCreateGetFromUsage8() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage8.kt"); - doTest(fileName); - } - - @TestMetadata("beforeCreateGetFromUsage9.kt") - public void testCreateGetFromUsage9() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/get/beforeCreateGetFromUsage9.kt"); - doTest(fileName); - } - - } - - @TestMetadata("idea/testData/quickfix/createFromUsage/hasNext") - @TestDataPath("$PROJECT_ROOT") - @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) - public static class HasNext extends AbstractQuickFixTest { - public void testAllFilesPresentInHasNext() throws Exception { - JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/hasNext"), Pattern.compile("^before(\\w+)\\.kt$"), true); - } - - @TestMetadata("beforeCreateHasNextFromUsage1.kt") - public void testCreateHasNextFromUsage1() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/hasNext/beforeCreateHasNextFromUsage1.kt"); - doTest(fileName); - } - - @TestMetadata("beforeCreateHasNextFromUsage2.kt") - public void testCreateHasNextFromUsage2() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/hasNext/beforeCreateHasNextFromUsage2.kt"); - doTest(fileName); - } - - } - - @TestMetadata("idea/testData/quickfix/createFromUsage/invoke") - @TestDataPath("$PROJECT_ROOT") - @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) - public static class Invoke extends AbstractQuickFixTest { - public void testAllFilesPresentInInvoke() throws Exception { - JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/invoke"), Pattern.compile("^before(\\w+)\\.kt$"), true); - } - - @TestMetadata("beforeInvokeOnLibType.kt") - public void testInvokeOnLibType() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/invoke/beforeInvokeOnLibType.kt"); - doTest(fileName); - } - - @TestMetadata("beforeInvokeOnUserType.kt") - public void testInvokeOnUserType() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/invoke/beforeInvokeOnUserType.kt"); - doTest(fileName); - } - - @TestMetadata("beforeInvokeOnUserTypeWithTypeParams.kt") - public void testInvokeOnUserTypeWithTypeParams() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/invoke/beforeInvokeOnUserTypeWithTypeParams.kt"); - doTest(fileName); - } - - @TestMetadata("beforeInvokeWithExplicitParamNamesOnUserType.kt") - public void testInvokeWithExplicitParamNamesOnUserType() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/invoke/beforeInvokeWithExplicitParamNamesOnUserType.kt"); - doTest(fileName); - } - - } - - @TestMetadata("idea/testData/quickfix/createFromUsage/iterator") - @TestDataPath("$PROJECT_ROOT") - @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) - public static class Iterator extends AbstractQuickFixTest { - public void testAllFilesPresentInIterator() throws Exception { - JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/iterator"), Pattern.compile("^before(\\w+)\\.kt$"), true); - } - - @TestMetadata("beforeCreateIteratorFromUsage1.kt") - public void testCreateIteratorFromUsage1() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/iterator/beforeCreateIteratorFromUsage1.kt"); - doTest(fileName); - } - - @TestMetadata("beforeCreateIteratorFromUsage2.kt") - public void testCreateIteratorFromUsage2() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/iterator/beforeCreateIteratorFromUsage2.kt"); - doTest(fileName); - } - - @TestMetadata("beforeCreateIteratorFromUsage3.kt") - public void testCreateIteratorFromUsage3() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/iterator/beforeCreateIteratorFromUsage3.kt"); - doTest(fileName); - } - - } - - @TestMetadata("idea/testData/quickfix/createFromUsage/next") - @TestDataPath("$PROJECT_ROOT") - @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) - public static class Next extends AbstractQuickFixTest { - public void testAllFilesPresentInNext() throws Exception { - JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/next"), Pattern.compile("^before(\\w+)\\.kt$"), true); - } - - @TestMetadata("beforeCreateNextFromUsage1.kt") - public void testCreateNextFromUsage1() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/next/beforeCreateNextFromUsage1.kt"); - doTest(fileName); - } - - @TestMetadata("beforeCreateNextFromUsage2.kt") - public void testCreateNextFromUsage2() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/next/beforeCreateNextFromUsage2.kt"); - doTest(fileName); - } - - } - - @TestMetadata("idea/testData/quickfix/createFromUsage/set") - @TestDataPath("$PROJECT_ROOT") - @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) - public static class Set extends AbstractQuickFixTest { - public void testAllFilesPresentInSet() throws Exception { - JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/set"), Pattern.compile("^before(\\w+)\\.kt$"), true); - } - - @TestMetadata("beforeCreateSetFromUsage1.kt") - public void testCreateSetFromUsage1() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/set/beforeCreateSetFromUsage1.kt"); - doTest(fileName); - } - - @TestMetadata("beforeCreateSetFromUsage2.kt") - public void testCreateSetFromUsage2() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/set/beforeCreateSetFromUsage2.kt"); - doTest(fileName); - } - - } - - @TestMetadata("idea/testData/quickfix/createFromUsage/unaryOperations") - @TestDataPath("$PROJECT_ROOT") - @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) - public static class UnaryOperations extends AbstractQuickFixTest { - public void testAllFilesPresentInUnaryOperations() throws Exception { - JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/unaryOperations"), Pattern.compile("^before(\\w+)\\.kt$"), true); - } - - @TestMetadata("beforeIncOnUserType.kt") - public void testIncOnUserType() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/unaryOperations/beforeIncOnUserType.kt"); - doTest(fileName); - } - - @TestMetadata("beforeMinusMissingArgs.kt") - public void testMinusMissingArgs() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/unaryOperations/beforeMinusMissingArgs.kt"); - doTest(fileName); - } - - @TestMetadata("beforeMinusOnLibType.kt") - public void testMinusOnLibType() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/unaryOperations/beforeMinusOnLibType.kt"); - doTest(fileName); - } - - @TestMetadata("beforeMinusOnUserType.kt") - public void testMinusOnUserType() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/unaryOperations/beforeMinusOnUserType.kt"); - doTest(fileName); - } - - @TestMetadata("beforeMinusOnUserTypeWithTypeParams.kt") - public void testMinusOnUserTypeWithTypeParams() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/unaryOperations/beforeMinusOnUserTypeWithTypeParams.kt"); - doTest(fileName); + public static class CreateFunction extends AbstractQuickFixTest { + public void testAllFilesPresentInCreateFunction() throws Exception { + JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/createFunction"), Pattern.compile("^before(\\w+)\\.kt$"), true); + } + + @TestMetadata("idea/testData/quickfix/createFromUsage/createFunction/binaryOperations") + @TestDataPath("$PROJECT_ROOT") + @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) + public static class BinaryOperations extends AbstractQuickFixTest { + public void testAllFilesPresentInBinaryOperations() throws Exception { + JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/createFunction/binaryOperations"), Pattern.compile("^before(\\w+)\\.kt$"), true); + } + + @TestMetadata("beforeCustomOperationOnUserType.kt") + public void testCustomOperationOnUserType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeCustomOperationOnUserType.kt"); + doTest(fileName); + } + + @TestMetadata("beforeGreaterOrEqualOnUserType.kt") + public void testGreaterOrEqualOnUserType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeGreaterOrEqualOnUserType.kt"); + doTest(fileName); + } + + @TestMetadata("beforeInOnUserType.kt") + public void testInOnUserType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeInOnUserType.kt"); + doTest(fileName); + } + + @TestMetadata("beforeLessOnUserType.kt") + public void testLessOnUserType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeLessOnUserType.kt"); + doTest(fileName); + } + + @TestMetadata("beforeNotInOnUserType.kt") + public void testNotInOnUserType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeNotInOnUserType.kt"); + doTest(fileName); + } + + @TestMetadata("beforePlusAssignOnUserType.kt") + public void testPlusAssignOnUserType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusAssignOnUserType.kt"); + doTest(fileName); + } + + @TestMetadata("beforePlusExtraArgs.kt") + public void testPlusExtraArgs() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusExtraArgs.kt"); + doTest(fileName); + } + + @TestMetadata("beforePlusForAssignmentOnUserType.kt") + public void testPlusForAssignmentOnUserType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusForAssignmentOnUserType.kt"); + doTest(fileName); + } + + @TestMetadata("beforePlusMissingArgs.kt") + public void testPlusMissingArgs() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusMissingArgs.kt"); + doTest(fileName); + } + + @TestMetadata("beforePlusOnLibType.kt") + public void testPlusOnLibType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusOnLibType.kt"); + doTest(fileName); + } + + @TestMetadata("beforePlusOnUserType.kt") + public void testPlusOnUserType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusOnUserType.kt"); + doTest(fileName); + } + + @TestMetadata("beforePlusOnUserTypeWithTypeParams.kt") + public void testPlusOnUserTypeWithTypeParams() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusOnUserTypeWithTypeParams.kt"); + doTest(fileName); + } + + @TestMetadata("beforeWhenInOnUserType.kt") + public void testWhenInOnUserType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeWhenInOnUserType.kt"); + doTest(fileName); + } + + @TestMetadata("beforeWhenNotInOnUserType.kt") + public void testWhenNotInOnUserType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeWhenNotInOnUserType.kt"); + doTest(fileName); + } + + } + + @TestMetadata("idea/testData/quickfix/createFromUsage/createFunction/call") + @TestDataPath("$PROJECT_ROOT") + @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) + public static class Call extends AbstractQuickFixTest { + public void testAllFilesPresentInCall() throws Exception { + JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/createFunction/call"), Pattern.compile("^before(\\w+)\\.kt$"), true); + } + + @TestMetadata("beforeCallWithLambdaArg.kt") + public void testCallWithLambdaArg() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeCallWithLambdaArg.kt"); + doTest(fileName); + } + + @TestMetadata("beforeCallWithLambdaArgOnly.kt") + public void testCallWithLambdaArgOnly() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeCallWithLambdaArgOnly.kt"); + doTest(fileName); + } + + @TestMetadata("beforeFunExtraArgs.kt") + public void testFunExtraArgs() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunExtraArgs.kt"); + doTest(fileName); + } + + @TestMetadata("beforeFunMissingArgs.kt") + public void testFunMissingArgs() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunMissingArgs.kt"); + doTest(fileName); + } + + @TestMetadata("beforeFunOnClassObject.kt") + public void testFunOnClassObject() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnClassObject.kt"); + doTest(fileName); + } + + @TestMetadata("beforeFunOnLibObject.kt") + public void testFunOnLibObject() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnLibObject.kt"); + doTest(fileName); + } + + @TestMetadata("beforeFunOnLibType.kt") + public void testFunOnLibType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnLibType.kt"); + doTest(fileName); + } + + @TestMetadata("beforeFunOnUserObject.kt") + public void testFunOnUserObject() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserObject.kt"); + doTest(fileName); + } + + @TestMetadata("beforeFunOnUserType.kt") + public void testFunOnUserType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserType.kt"); + doTest(fileName); + } + + @TestMetadata("beforeFunOnUserTypeWithTypeParams.kt") + public void testFunOnUserTypeWithTypeParams() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserTypeWithTypeParams.kt"); + doTest(fileName); + } + + @TestMetadata("beforeFunWithExplicitParamNamesOnUserType.kt") + public void testFunWithExplicitParamNamesOnUserType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithExplicitParamNamesOnUserType.kt"); + doTest(fileName); + } + + @TestMetadata("beforeInconsistentTypes.kt") + public void testInconsistentTypes() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeInconsistentTypes.kt"); + doTest(fileName); + } + + @TestMetadata("beforeLocalFunNoReceiver.kt") + public void testLocalFunNoReceiver() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeLocalFunNoReceiver.kt"); + doTest(fileName); + } + + @TestMetadata("beforeMemberFunNoReceiver.kt") + public void testMemberFunNoReceiver() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeMemberFunNoReceiver.kt"); + doTest(fileName); + } + + @TestMetadata("beforeObjectMemberFunNoReceiver.kt") + public void testObjectMemberFunNoReceiver() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeObjectMemberFunNoReceiver.kt"); + doTest(fileName); + } + + @TestMetadata("beforeThisInClass.kt") + public void testThisInClass() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeThisInClass.kt"); + doTest(fileName); + } + + @TestMetadata("beforeThisInExtension.kt") + public void testThisInExtension() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeThisInExtension.kt"); + doTest(fileName); + } + + @TestMetadata("beforeThisInNestedClass1.kt") + public void testThisInNestedClass1() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeThisInNestedClass1.kt"); + doTest(fileName); + } + + @TestMetadata("beforeThisInNestedClass2.kt") + public void testThisInNestedClass2() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeThisInNestedClass2.kt"); + doTest(fileName); + } + + @TestMetadata("beforeTopLevelFunNoReceiver.kt") + public void testTopLevelFunNoReceiver() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeTopLevelFunNoReceiver.kt"); + doTest(fileName); + } + + @TestMetadata("beforeUnknownType.kt") + public void testUnknownType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/call/beforeUnknownType.kt"); + doTest(fileName); + } + + } + + @TestMetadata("idea/testData/quickfix/createFromUsage/createFunction/component") + @TestDataPath("$PROJECT_ROOT") + @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) + public static class Component extends AbstractQuickFixTest { + public void testAllFilesPresentInComponent() throws Exception { + JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/createFunction/component"), Pattern.compile("^before(\\w+)\\.kt$"), true); + } + + @TestMetadata("beforeCreateComponentFromUsage1.kt") + public void testCreateComponentFromUsage1() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/component/beforeCreateComponentFromUsage1.kt"); + doTest(fileName); + } + + @TestMetadata("beforeCreateComponentFromUsage2.kt") + public void testCreateComponentFromUsage2() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/component/beforeCreateComponentFromUsage2.kt"); + doTest(fileName); + } + + @TestMetadata("beforeCreateComponentFromUsage3.kt") + public void testCreateComponentFromUsage3() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/component/beforeCreateComponentFromUsage3.kt"); + doTest(fileName); + } + + } + + @TestMetadata("idea/testData/quickfix/createFromUsage/createFunction/get") + @TestDataPath("$PROJECT_ROOT") + @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) + public static class Get extends AbstractQuickFixTest { + public void testAllFilesPresentInGet() throws Exception { + JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/createFunction/get"), Pattern.compile("^before(\\w+)\\.kt$"), true); + } + + @TestMetadata("beforeCreateGetFromUsage1.kt") + public void testCreateGetFromUsage1() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage1.kt"); + doTest(fileName); + } + + @TestMetadata("beforeCreateGetFromUsage10.kt") + public void testCreateGetFromUsage10() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage10.kt"); + doTest(fileName); + } + + @TestMetadata("beforeCreateGetFromUsage11.kt") + public void testCreateGetFromUsage11() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage11.kt"); + doTest(fileName); + } + + @TestMetadata("beforeCreateGetFromUsage12.kt") + public void testCreateGetFromUsage12() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage12.kt"); + doTest(fileName); + } + + @TestMetadata("beforeCreateGetFromUsage13.kt") + public void testCreateGetFromUsage13() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage13.kt"); + doTest(fileName); + } + + @TestMetadata("beforeCreateGetFromUsage2.kt") + public void testCreateGetFromUsage2() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage2.kt"); + doTest(fileName); + } + + @TestMetadata("beforeCreateGetFromUsage3.kt") + public void testCreateGetFromUsage3() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage3.kt"); + doTest(fileName); + } + + @TestMetadata("beforeCreateGetFromUsage4.kt") + public void testCreateGetFromUsage4() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage4.kt"); + doTest(fileName); + } + + @TestMetadata("beforeCreateGetFromUsage5.kt") + public void testCreateGetFromUsage5() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage5.kt"); + doTest(fileName); + } + + @TestMetadata("beforeCreateGetFromUsage7.kt") + public void testCreateGetFromUsage7() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage7.kt"); + doTest(fileName); + } + + @TestMetadata("beforeCreateGetFromUsage8.kt") + public void testCreateGetFromUsage8() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage8.kt"); + doTest(fileName); + } + + @TestMetadata("beforeCreateGetFromUsage9.kt") + public void testCreateGetFromUsage9() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage9.kt"); + doTest(fileName); + } + + } + + @TestMetadata("idea/testData/quickfix/createFromUsage/createFunction/hasNext") + @TestDataPath("$PROJECT_ROOT") + @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) + public static class HasNext extends AbstractQuickFixTest { + public void testAllFilesPresentInHasNext() throws Exception { + JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/createFunction/hasNext"), Pattern.compile("^before(\\w+)\\.kt$"), true); + } + + @TestMetadata("beforeCreateHasNextFromUsage1.kt") + public void testCreateHasNextFromUsage1() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/hasNext/beforeCreateHasNextFromUsage1.kt"); + doTest(fileName); + } + + @TestMetadata("beforeCreateHasNextFromUsage2.kt") + public void testCreateHasNextFromUsage2() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/hasNext/beforeCreateHasNextFromUsage2.kt"); + doTest(fileName); + } + + } + + @TestMetadata("idea/testData/quickfix/createFromUsage/createFunction/invoke") + @TestDataPath("$PROJECT_ROOT") + @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) + public static class Invoke extends AbstractQuickFixTest { + public void testAllFilesPresentInInvoke() throws Exception { + JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/createFunction/invoke"), Pattern.compile("^before(\\w+)\\.kt$"), true); + } + + @TestMetadata("beforeInvokeOnLibType.kt") + public void testInvokeOnLibType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeOnLibType.kt"); + doTest(fileName); + } + + @TestMetadata("beforeInvokeOnUserType.kt") + public void testInvokeOnUserType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeOnUserType.kt"); + doTest(fileName); + } + + @TestMetadata("beforeInvokeOnUserTypeWithTypeParams.kt") + public void testInvokeOnUserTypeWithTypeParams() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeOnUserTypeWithTypeParams.kt"); + doTest(fileName); + } + + @TestMetadata("beforeInvokeWithExplicitParamNamesOnUserType.kt") + public void testInvokeWithExplicitParamNamesOnUserType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeWithExplicitParamNamesOnUserType.kt"); + doTest(fileName); + } + + } + + @TestMetadata("idea/testData/quickfix/createFromUsage/createFunction/iterator") + @TestDataPath("$PROJECT_ROOT") + @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) + public static class Iterator extends AbstractQuickFixTest { + public void testAllFilesPresentInIterator() throws Exception { + JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/createFunction/iterator"), Pattern.compile("^before(\\w+)\\.kt$"), true); + } + + @TestMetadata("beforeCreateIteratorFromUsage1.kt") + public void testCreateIteratorFromUsage1() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/iterator/beforeCreateIteratorFromUsage1.kt"); + doTest(fileName); + } + + @TestMetadata("beforeCreateIteratorFromUsage2.kt") + public void testCreateIteratorFromUsage2() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/iterator/beforeCreateIteratorFromUsage2.kt"); + doTest(fileName); + } + + @TestMetadata("beforeCreateIteratorFromUsage3.kt") + public void testCreateIteratorFromUsage3() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/iterator/beforeCreateIteratorFromUsage3.kt"); + doTest(fileName); + } + + } + + @TestMetadata("idea/testData/quickfix/createFromUsage/createFunction/next") + @TestDataPath("$PROJECT_ROOT") + @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) + public static class Next extends AbstractQuickFixTest { + public void testAllFilesPresentInNext() throws Exception { + JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/createFunction/next"), Pattern.compile("^before(\\w+)\\.kt$"), true); + } + + @TestMetadata("beforeCreateNextFromUsage1.kt") + public void testCreateNextFromUsage1() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/next/beforeCreateNextFromUsage1.kt"); + doTest(fileName); + } + + @TestMetadata("beforeCreateNextFromUsage2.kt") + public void testCreateNextFromUsage2() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/next/beforeCreateNextFromUsage2.kt"); + doTest(fileName); + } + + } + + @TestMetadata("idea/testData/quickfix/createFromUsage/createFunction/set") + @TestDataPath("$PROJECT_ROOT") + @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) + public static class Set extends AbstractQuickFixTest { + public void testAllFilesPresentInSet() throws Exception { + JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/createFunction/set"), Pattern.compile("^before(\\w+)\\.kt$"), true); + } + + @TestMetadata("beforeCreateSetFromUsage1.kt") + public void testCreateSetFromUsage1() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/set/beforeCreateSetFromUsage1.kt"); + doTest(fileName); + } + + @TestMetadata("beforeCreateSetFromUsage2.kt") + public void testCreateSetFromUsage2() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/set/beforeCreateSetFromUsage2.kt"); + doTest(fileName); + } + + } + + @TestMetadata("idea/testData/quickfix/createFromUsage/createFunction/unaryOperations") + @TestDataPath("$PROJECT_ROOT") + @RunWith(org.jetbrains.jet.JUnit3RunnerWithInners.class) + public static class UnaryOperations extends AbstractQuickFixTest { + public void testAllFilesPresentInUnaryOperations() throws Exception { + JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/createFromUsage/createFunction/unaryOperations"), Pattern.compile("^before(\\w+)\\.kt$"), true); + } + + @TestMetadata("beforeIncOnUserType.kt") + public void testIncOnUserType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeIncOnUserType.kt"); + doTest(fileName); + } + + @TestMetadata("beforeMinusMissingArgs.kt") + public void testMinusMissingArgs() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusMissingArgs.kt"); + doTest(fileName); + } + + @TestMetadata("beforeMinusOnLibType.kt") + public void testMinusOnLibType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusOnLibType.kt"); + doTest(fileName); + } + + @TestMetadata("beforeMinusOnUserType.kt") + public void testMinusOnUserType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusOnUserType.kt"); + doTest(fileName); + } + + @TestMetadata("beforeMinusOnUserTypeWithTypeParams.kt") + public void testMinusOnUserTypeWithTypeParams() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusOnUserTypeWithTypeParams.kt"); + doTest(fileName); + } + } }