diff options
author | Ignat Beresnev <ignat.beresnev@jetbrains.com> | 2023-02-09 03:15:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-09 03:15:52 +0100 |
commit | 7546efb83afa39770be5c7b9df72edc115e59a5b (patch) | |
tree | 0066c2b9e833e7dd7fd8cfafc3a1d05d15f40000 /core/testdata/functions | |
parent | 683f6bb418bada9c90d2ffbd5040b3968e1c3522 (diff) | |
download | dokka-7546efb83afa39770be5c7b9df72edc115e59a5b.tar.gz dokka-7546efb83afa39770be5c7b9df72edc115e59a5b.tar.bz2 dokka-7546efb83afa39770be5c7b9df72edc115e59a5b.zip |
Remove old test data (#2824)
Diffstat (limited to 'core/testdata/functions')
16 files changed, 0 insertions, 69 deletions
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 <T> 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 <T : R, R> 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) { -} |