diff --git a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/CantResolveTarget.kt b/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/CantResolveTarget.kt deleted file mode 100644 index 737e011fe325..000000000000 --- a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/CantResolveTarget.kt +++ /dev/null @@ -1,11 +0,0 @@ -package test - -import org.junit.jupiter.params.ParameterizedTest -import org.junit.jupiter.params.provider.MethodSource - -object PrivateClassRule { - @ParameterizedTest - @MethodSource("unknown") - fun unknownMethodSource() { - } -} \ No newline at end of file diff --git a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/EnumResolve.kt b/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/EnumResolve.kt deleted file mode 100644 index 5385d8bb95c2..000000000000 --- a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/EnumResolve.kt +++ /dev/null @@ -1,21 +0,0 @@ -package test; - - -import org.junit.jupiter.params.ParameterizedTest -import org.junit.jupiter.params.provider.EnumSource - -public class Clazz { - - private enum class Dupl {A, B, C} - private enum class Empty {} - - @ParameterizedTest - @EnumSource(value = Dupl::class, names = ["A", "A"]) - fun duplicateEnum() { - } - - @ParameterizedTest - @EnumSource(value = Empty::class, names = ["S"]) - fun emptyEnum() { - } -} diff --git a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/ExactlyOneType.kt b/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/ExactlyOneType.kt deleted file mode 100644 index d6cd63c16e23..000000000000 --- a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/ExactlyOneType.kt +++ /dev/null @@ -1,15 +0,0 @@ -package test - -import org.junit.jupiter.params.ParameterizedTest - -object PrivateRule { - @ParameterizedTest - @ValueSource(ints = [1], strings = ["str"]) - fun testWithMultipleValues() { - } - - @ParameterizedTest - @ValueSource() - fun testWithNoValues() { - } -} \ No newline at end of file diff --git a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/KtMethodSourceUsage.java b/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/KtMethodSourceUsage.java deleted file mode 100644 index 800c274bc165..000000000000 --- a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/KtMethodSourceUsage.java +++ /dev/null @@ -1,8 +0,0 @@ -import org.junit.jupiter.params.ParameterizedTest; -import org.junit.jupiter.params.provider.MethodSource; - -class KtMethodSourceUsage { - @ParameterizedTest - @MethodSource("SampleTest#squares") - void testSquares(int input, int expected) {} -} diff --git a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/MalformedParameterizedCollectionKt.kt b/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/MalformedParameterizedCollectionKt.kt deleted file mode 100644 index 4f6e7109d032..000000000000 --- a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/MalformedParameterizedCollectionKt.kt +++ /dev/null @@ -1,16 +0,0 @@ -import org.junit.jupiter.params.ParameterizedTest -import org.junit.jupiter.params.provider.EmptySource - -object MalformedParameterizedCollectionKt { - @ParameterizedTest - @EmptySource - fun testFooSet(input: Set?) {} - - @ParameterizedTest - @EmptySource - fun testFooList(input: List?) {} - - @ParameterizedTest - @EmptySource - fun testFooMap(input: Map?) {} -} diff --git a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/NoParams.kt b/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/NoParams.kt deleted file mode 100644 index 9ae1590ba722..000000000000 --- a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/NoParams.kt +++ /dev/null @@ -1,18 +0,0 @@ -package test - -import org.junit.jupiter.params.ParameterizedTest -import org.junit.jupiter.params.provider.MethodSource - -class NoParamsClazz { - @ParameterizedTest - @MethodSource("b") - fun testWithParams() { - } - - companion object { - @kotlin.jvm.JvmStatic - fun b(i: Int): Array { - return arrayOf("a", "b") - } - } -} \ No newline at end of file diff --git a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/NoSourcesProvided.kt b/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/NoSourcesProvided.kt deleted file mode 100644 index 8241f1d3409b..000000000000 --- a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/NoSourcesProvided.kt +++ /dev/null @@ -1,6 +0,0 @@ -package test - -object PrivateRule { - @ParameterizedTest - fun testWithParamsNoSource() {} -} \ No newline at end of file diff --git a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/ReturnType.kt b/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/ReturnType.kt deleted file mode 100644 index 825235d9094c..000000000000 --- a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/ReturnType.kt +++ /dev/null @@ -1,17 +0,0 @@ -package test - -import org.junit.jupiter.api.TestInstance -import org.junit.jupiter.params.ParameterizedTest -import org.junit.jupiter.params.provider.MethodSource - -@TestInstance(TestInstance.Lifecycle.PER_CLASS) -object PrivateRule { - @ParameterizedTest - @MethodSource("squares") - fun foo() {} - - - fun squares(): String { - return "aa" - } -} \ No newline at end of file diff --git a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/StaticMethodSourceClass.after.kt b/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/StaticMethodSourceClass.after.kt deleted file mode 100644 index 7e2fb21cfd78..000000000000 --- a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/StaticMethodSourceClass.after.kt +++ /dev/null @@ -1,20 +0,0 @@ -package test - -import org.junit.jupiter.api.TestInstance -import org.junit.jupiter.params.ParameterizedTest -import org.junit.jupiter.params.provider.MethodSource -import java.util.stream.Stream - -@TestInstance(TestInstance.Lifecycle.PER_CLASS) -class PrivateClassRule { - @ParameterizedTest - @MethodSource("squares") - fun foo() {} - - companion object { - @JvmStatic - fun squares(): Stream? { - return null - } - } -} \ No newline at end of file diff --git a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/StaticMethodSourceClass.kt b/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/StaticMethodSourceClass.kt deleted file mode 100644 index 2a5d8db357fe..000000000000 --- a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/StaticMethodSourceClass.kt +++ /dev/null @@ -1,15 +0,0 @@ -package test - -import org.junit.jupiter.params.ParameterizedTest -import org.junit.jupiter.params.provider.MethodSource -import java.util.stream.Stream - -class PrivateClassRule { - @ParameterizedTest - @MethodSource("squares") - fun foo() {} - - fun squares(): Stream? { - return null - } -} \ No newline at end of file diff --git a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/StaticMethodSourceObject.after.kt b/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/StaticMethodSourceObject.after.kt deleted file mode 100644 index 890ad143f971..000000000000 --- a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/StaticMethodSourceObject.after.kt +++ /dev/null @@ -1,20 +0,0 @@ -package test - -import org.junit.jupiter.api.TestInstance -import org.junit.jupiter.params.ParameterizedTest -import org.junit.jupiter.params.provider.MethodSource -import java.util.stream.Stream - -@TestInstance(TestInstance.Lifecycle.PER_CLASS) -object PrivateClassRule { - @ParameterizedTest - @MethodSource("squares") - fun foo() {} - - object { - @JvmStatic - fun squares(): Stream? { - return null - } - } -} \ No newline at end of file diff --git a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/StaticMethodSourceObject.kt b/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/StaticMethodSourceObject.kt deleted file mode 100644 index 59497111b1dc..000000000000 --- a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/StaticMethodSourceObject.kt +++ /dev/null @@ -1,17 +0,0 @@ -package test - -import org.junit.jupiter.params.ParameterizedTest -import org.junit.jupiter.params.provider.MethodSource -import java.util.stream.Stream - -object PrivateClassRule { - @ParameterizedTest - @MethodSource("squares") - fun foo() {} - - companion object { - fun squares(): Stream? { - return null - } - } -} \ No newline at end of file diff --git a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/SuspCombFix.after.kt b/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/SuspCombFix.after.kt deleted file mode 100644 index ccbeb2314d2a..000000000000 --- a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/SuspCombFix.after.kt +++ /dev/null @@ -1,17 +0,0 @@ -package test - -import org.junit.jupiter.api.Test -import org.junit.jupiter.params.provider.MethodSource -import org.junit.jupiter.params.provider.ValueSource - -object PrivateClassRule { - @MethodSource("parmeters") - @Test - fun testWithTestAnnotation() {} - - - - @ValueSource() - @Test - fun testWithTestAnnotationNoParameterized() {} -} \ No newline at end of file diff --git a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/SuspCombFix.kt b/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/SuspCombFix.kt deleted file mode 100644 index eb83dfbaea14..000000000000 --- a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/SuspCombFix.kt +++ /dev/null @@ -1,19 +0,0 @@ -package test - -import org.junit.jupiter.api.Test -import org.junit.jupiter.params.ParameterizedTest -import org.junit.jupiter.params.provider.MethodSource -import org.junit.jupiter.params.provider.ValueSource - -object PrivateClassRule { - @ParameterizedTest - @MethodSource("parmeters") - @Test - fun testWithTestAnnotation() {} - - - - @ValueSource() - @Test - fun testWithTestAnnotationNoParameterized() {} -} \ No newline at end of file diff --git a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/SuspiciousCombination.kt b/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/SuspiciousCombination.kt deleted file mode 100644 index e6cbd0670d9c..000000000000 --- a/jvm/jvm-analysis-kotlin-tests-shared/testData/codeInspection/junit5MalformedParameterized/SuspiciousCombination.kt +++ /dev/null @@ -1,22 +0,0 @@ -package test - -import org.junit.jupiter.params.ParameterizedTest -import org.junit.jupiter.params.provider.MethodSource -import org.junit.jupiter.params.provider.ValueSource - -class ParamT { - @ParameterizedTest - @MethodSource("parmeters") - @Test - fun testWithTestAnnotation(a : Int) {} - - - - @ValueSource() - @Test - fun testWithTestAnnotationNoParameterized() {} - - fun parameters(): Array { - return arrayOf("a", "b") - } -} \ No newline at end of file