From 7546efb83afa39770be5c7b9df72edc115e59a5b Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Thu, 9 Feb 2023 03:15:52 +0100 Subject: Remove old test data (#2824) --- core/testdata/functions/annotatedFunction.kt | 2 -- .../functions/annotatedFunctionWithAnnotationParameters.kt | 7 ------- core/testdata/functions/function.kt | 5 ----- core/testdata/functions/functionWithAnnotatedParam.kt | 7 ------- core/testdata/functions/functionWithDefaultParameter.kt | 1 - core/testdata/functions/functionWithNoinlineParam.kt | 2 -- .../testdata/functions/functionWithNotDocumentedAnnotation.kt | 2 -- core/testdata/functions/functionWithParams.kt | 8 -------- core/testdata/functions/functionWithReceiver.kt | 11 ----------- core/testdata/functions/genericFunction.kt | 5 ----- core/testdata/functions/genericFunctionWithConstraints.kt | 6 ------ core/testdata/functions/inlineFunction.kt | 2 -- core/testdata/functions/inlineSuspendFunction.kt | 2 -- core/testdata/functions/sinceKotlin.kt | 5 ----- core/testdata/functions/suspendFunction.kt | 2 -- core/testdata/functions/suspendInlineFunction.kt | 2 -- 16 files changed, 69 deletions(-) delete mode 100644 core/testdata/functions/annotatedFunction.kt delete mode 100644 core/testdata/functions/annotatedFunctionWithAnnotationParameters.kt delete mode 100644 core/testdata/functions/function.kt delete mode 100644 core/testdata/functions/functionWithAnnotatedParam.kt delete mode 100644 core/testdata/functions/functionWithDefaultParameter.kt delete mode 100644 core/testdata/functions/functionWithNoinlineParam.kt delete mode 100644 core/testdata/functions/functionWithNotDocumentedAnnotation.kt delete mode 100644 core/testdata/functions/functionWithParams.kt delete mode 100644 core/testdata/functions/functionWithReceiver.kt delete mode 100644 core/testdata/functions/genericFunction.kt delete mode 100644 core/testdata/functions/genericFunctionWithConstraints.kt delete mode 100644 core/testdata/functions/inlineFunction.kt delete mode 100644 core/testdata/functions/inlineSuspendFunction.kt delete mode 100644 core/testdata/functions/sinceKotlin.kt delete mode 100644 core/testdata/functions/suspendFunction.kt delete mode 100644 core/testdata/functions/suspendInlineFunction.kt (limited to 'core/testdata/functions') diff --git a/core/testdata/functions/annotatedFunction.kt b/core/testdata/functions/annotatedFunction.kt deleted file mode 100644 index f7abbf6c..00000000 --- a/core/testdata/functions/annotatedFunction.kt +++ /dev/null @@ -1,2 +0,0 @@ -@Strictfp fun f() { -} diff --git a/core/testdata/functions/annotatedFunctionWithAnnotationParameters.kt b/core/testdata/functions/annotatedFunctionWithAnnotationParameters.kt deleted file mode 100644 index e559713a..00000000 --- a/core/testdata/functions/annotatedFunctionWithAnnotationParameters.kt +++ /dev/null @@ -1,7 +0,0 @@ -@Target(AnnotationTarget.VALUE_PARAMETER) -@Retention(AnnotationRetention.SOURCE) -@MustBeDocumented -public annotation class Fancy(val size: Int) - - -@Fancy(1) fun f() {} diff --git a/core/testdata/functions/function.kt b/core/testdata/functions/function.kt deleted file mode 100644 index 3ed81dfa..00000000 --- a/core/testdata/functions/function.kt +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Function fn - */ -fun fn() { -} \ No newline at end of file diff --git a/core/testdata/functions/functionWithAnnotatedParam.kt b/core/testdata/functions/functionWithAnnotatedParam.kt deleted file mode 100644 index f858e671..00000000 --- a/core/testdata/functions/functionWithAnnotatedParam.kt +++ /dev/null @@ -1,7 +0,0 @@ -@Target(AnnotationTarget.VALUE_PARAMETER) -@Retention(AnnotationRetention.SOURCE) -@MustBeDocumented -public annotation class Fancy - -fun function(@Fancy notInlined: () -> Unit) { -} diff --git a/core/testdata/functions/functionWithDefaultParameter.kt b/core/testdata/functions/functionWithDefaultParameter.kt deleted file mode 100644 index 3a3a102f..00000000 --- a/core/testdata/functions/functionWithDefaultParameter.kt +++ /dev/null @@ -1 +0,0 @@ -fun f(x: String = "") {} diff --git a/core/testdata/functions/functionWithNoinlineParam.kt b/core/testdata/functions/functionWithNoinlineParam.kt deleted file mode 100644 index 640bec83..00000000 --- a/core/testdata/functions/functionWithNoinlineParam.kt +++ /dev/null @@ -1,2 +0,0 @@ -fun function(noinline notInlined: () -> Unit) { -} diff --git a/core/testdata/functions/functionWithNotDocumentedAnnotation.kt b/core/testdata/functions/functionWithNotDocumentedAnnotation.kt deleted file mode 100644 index 3c7e2ff9..00000000 --- a/core/testdata/functions/functionWithNotDocumentedAnnotation.kt +++ /dev/null @@ -1,2 +0,0 @@ -@Suppress("FOO") fun f() { -} diff --git a/core/testdata/functions/functionWithParams.kt b/core/testdata/functions/functionWithParams.kt deleted file mode 100644 index 85c49368..00000000 --- a/core/testdata/functions/functionWithParams.kt +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Multiline - * - * Function - * Documentation - */ -fun function(/** parameter */ x: Int) { -} \ No newline at end of file diff --git a/core/testdata/functions/functionWithReceiver.kt b/core/testdata/functions/functionWithReceiver.kt deleted file mode 100644 index c8473251..00000000 --- a/core/testdata/functions/functionWithReceiver.kt +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Function with receiver - */ -fun String.fn() { -} - -/** - * Function with receiver - */ -fun String.fn(x: Int) { -} diff --git a/core/testdata/functions/genericFunction.kt b/core/testdata/functions/genericFunction.kt deleted file mode 100644 index 05a65070..00000000 --- a/core/testdata/functions/genericFunction.kt +++ /dev/null @@ -1,5 +0,0 @@ - -/** - * generic function - */ -private fun generic() {} \ No newline at end of file diff --git a/core/testdata/functions/genericFunctionWithConstraints.kt b/core/testdata/functions/genericFunctionWithConstraints.kt deleted file mode 100644 index 5f22f8c5..00000000 --- a/core/testdata/functions/genericFunctionWithConstraints.kt +++ /dev/null @@ -1,6 +0,0 @@ - -/** - * generic function - */ -public fun generic() { -} \ No newline at end of file diff --git a/core/testdata/functions/inlineFunction.kt b/core/testdata/functions/inlineFunction.kt deleted file mode 100644 index 64a617a4..00000000 --- a/core/testdata/functions/inlineFunction.kt +++ /dev/null @@ -1,2 +0,0 @@ -inline fun f(a: () -> String) { -} diff --git a/core/testdata/functions/inlineSuspendFunction.kt b/core/testdata/functions/inlineSuspendFunction.kt deleted file mode 100644 index 5f376267..00000000 --- a/core/testdata/functions/inlineSuspendFunction.kt +++ /dev/null @@ -1,2 +0,0 @@ -inline suspend fun f(a: () -> String) { -} diff --git a/core/testdata/functions/sinceKotlin.kt b/core/testdata/functions/sinceKotlin.kt deleted file mode 100644 index cdcd3357..00000000 --- a/core/testdata/functions/sinceKotlin.kt +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Quite useful [String] - */ -@SinceKotlin("1.1") -fun `availableSince1.1`(): String = "1.1 rulezz" \ No newline at end of file diff --git a/core/testdata/functions/suspendFunction.kt b/core/testdata/functions/suspendFunction.kt deleted file mode 100644 index 49ecca2a..00000000 --- a/core/testdata/functions/suspendFunction.kt +++ /dev/null @@ -1,2 +0,0 @@ -suspend fun f() { -} diff --git a/core/testdata/functions/suspendInlineFunction.kt b/core/testdata/functions/suspendInlineFunction.kt deleted file mode 100644 index 54f65658..00000000 --- a/core/testdata/functions/suspendInlineFunction.kt +++ /dev/null @@ -1,2 +0,0 @@ -suspend inline fun f(a: () -> String) { -} -- cgit