diff options
Diffstat (limited to 'plugins/javadoc8/testdata')
21 files changed, 0 insertions, 245 deletions
diff --git a/plugins/javadoc8/testdata/javadoc/argumentReference.kt b/plugins/javadoc8/testdata/javadoc/argumentReference.kt deleted file mode 100644 index ac3104e9..00000000 --- a/plugins/javadoc8/testdata/javadoc/argumentReference.kt +++ /dev/null @@ -1,4 +0,0 @@ -/** - * [error] - */ -fun argNamedError(error: String) {}
\ No newline at end of file diff --git a/plugins/javadoc8/testdata/javadoc/blankLineInsideCodeBlock.kt b/plugins/javadoc8/testdata/javadoc/blankLineInsideCodeBlock.kt deleted file mode 100644 index 9430f4d5..00000000 --- a/plugins/javadoc8/testdata/javadoc/blankLineInsideCodeBlock.kt +++ /dev/null @@ -1,12 +0,0 @@ -/** - * ``` - * This is a test - * of Dokka's code blocks. - * Here is a blank line. - * - * The previous line was blank. - * ``` - */ -fun u() { - -}
\ No newline at end of file diff --git a/plugins/javadoc8/testdata/javadoc/bytearr.kt b/plugins/javadoc8/testdata/javadoc/bytearr.kt deleted file mode 100644 index 84be1a70..00000000 --- a/plugins/javadoc8/testdata/javadoc/bytearr.kt +++ /dev/null @@ -1,7 +0,0 @@ -package foo - -class ByteArray { - fun foo(): IntArray { - return intArrayOf() - } -}
\ No newline at end of file diff --git a/plugins/javadoc8/testdata/javadoc/companionMethodReference.kt b/plugins/javadoc8/testdata/javadoc/companionMethodReference.kt deleted file mode 100644 index 499e4492..00000000 --- a/plugins/javadoc8/testdata/javadoc/companionMethodReference.kt +++ /dev/null @@ -1,13 +0,0 @@ -package foo - - -/** - * Linking to [test] - */ -class TestClass { - - companion object { - - @JvmStatic fun test(arg: String) {} - } -}
\ No newline at end of file diff --git a/plugins/javadoc8/testdata/javadoc/constructorParameters.kt b/plugins/javadoc8/testdata/javadoc/constructorParameters.kt deleted file mode 100644 index c29ae912..00000000 --- a/plugins/javadoc8/testdata/javadoc/constructorParameters.kt +++ /dev/null @@ -1,14 +0,0 @@ -package bar - -/** - * Just a fruit - * - * @param weight in grams - * @param ranking quality from 0 to 10, where 10 is best - * @param color yellow is default - */ -class Banana ( - private val weight: Double, - private val ranking: Int, - color: String = "yellow" -)
\ No newline at end of file diff --git a/plugins/javadoc8/testdata/javadoc/defaultNoArgConstructor.kt b/plugins/javadoc8/testdata/javadoc/defaultNoArgConstructor.kt deleted file mode 100644 index 3a6d04a5..00000000 --- a/plugins/javadoc8/testdata/javadoc/defaultNoArgConstructor.kt +++ /dev/null @@ -1,12 +0,0 @@ -package foo - -/** - * Description - * - * @constructor print peach - */ -class Peach { - init { - println("peach") - } -}
\ No newline at end of file diff --git a/plugins/javadoc8/testdata/javadoc/deprecated.java b/plugins/javadoc8/testdata/javadoc/deprecated.java deleted file mode 100644 index 5a6cdd77..00000000 --- a/plugins/javadoc8/testdata/javadoc/deprecated.java +++ /dev/null @@ -1,28 +0,0 @@ -package bar; - -/** - * Just a fruit - */ -public class Banana { - private Double weight; - - /** - * Returns weight - * - * @return weight - * @deprecated - */ - public Double getWeight() { - return weight; - } - - /** - * Sets weight - * - * @param weight in grams - * @deprecated with message - */ - public void setWeight(Double weight) { - this.weight = weight; - } -}
\ No newline at end of file diff --git a/plugins/javadoc8/testdata/javadoc/exception.kt b/plugins/javadoc8/testdata/javadoc/exception.kt deleted file mode 100644 index ec0a5bbb..00000000 --- a/plugins/javadoc8/testdata/javadoc/exception.kt +++ /dev/null @@ -1,5 +0,0 @@ -package foo - -class MyException : Exception { - fun foo() = "" -} diff --git a/plugins/javadoc8/testdata/javadoc/functionParameters.java b/plugins/javadoc8/testdata/javadoc/functionParameters.java deleted file mode 100644 index 8d5f5143..00000000 --- a/plugins/javadoc8/testdata/javadoc/functionParameters.java +++ /dev/null @@ -1,17 +0,0 @@ -package bar; - -/** - * Foo - */ - -public class Foo { - - /** perfom request - * - * @param name user name - * @param password user password - */ - public void request(String name, String password) { - - } -}
\ No newline at end of file diff --git a/plugins/javadoc8/testdata/javadoc/internal.kt b/plugins/javadoc8/testdata/javadoc/internal.kt deleted file mode 100644 index a57ea3b4..00000000 --- a/plugins/javadoc8/testdata/javadoc/internal.kt +++ /dev/null @@ -1,8 +0,0 @@ -package foo - -data class Person internal constructor( - val name: String = "", - val age: Int = 0 -) { - constructor(age: Int): this("", age) -} diff --git a/plugins/javadoc8/testdata/javadoc/jvmname.kt b/plugins/javadoc8/testdata/javadoc/jvmname.kt deleted file mode 100644 index e4774cd6..00000000 --- a/plugins/javadoc8/testdata/javadoc/jvmname.kt +++ /dev/null @@ -1,6 +0,0 @@ -package foo - -class Apple { - @get:JvmName("_tree") - internal val source: Tree -} diff --git a/plugins/javadoc8/testdata/javadoc/kdocKeywordsOnMethod.kt b/plugins/javadoc8/testdata/javadoc/kdocKeywordsOnMethod.kt deleted file mode 100644 index df5bbbe0..00000000 --- a/plugins/javadoc8/testdata/javadoc/kdocKeywordsOnMethod.kt +++ /dev/null @@ -1,12 +0,0 @@ -class FireException : Exception - - -/** - * COMM - * @param a Some string - * @return value of a - * @throws FireException in case of fire - */ -@Throws(FireException::class) -fun my(a: String): String = a - diff --git a/plugins/javadoc8/testdata/javadoc/noArgConstructor.kt b/plugins/javadoc8/testdata/javadoc/noArgConstructor.kt deleted file mode 100644 index 25e5548c..00000000 --- a/plugins/javadoc8/testdata/javadoc/noArgConstructor.kt +++ /dev/null @@ -1,12 +0,0 @@ -package foo - -/** - * Description - * - * @constructor print plum - */ -class Plum() { - init { - println("plum") - } -}
\ No newline at end of file diff --git a/plugins/javadoc8/testdata/javadoc/obj.kt b/plugins/javadoc8/testdata/javadoc/obj.kt deleted file mode 100644 index 1d10a422..00000000 --- a/plugins/javadoc8/testdata/javadoc/obj.kt +++ /dev/null @@ -1,7 +0,0 @@ -package foo - -class O { - companion object { - - } -} diff --git a/plugins/javadoc8/testdata/javadoc/paramlink.kt b/plugins/javadoc8/testdata/javadoc/paramlink.kt deleted file mode 100644 index 48972a22..00000000 --- a/plugins/javadoc8/testdata/javadoc/paramlink.kt +++ /dev/null @@ -1,10 +0,0 @@ -package demo - -/** - * You can [eat] it or cut it into slices using [cutIntoPieces] - */ -interface Apple { - fun eat() - - fun cutIntoPieces(pieces: Int) -} diff --git a/plugins/javadoc8/testdata/javadoc/stringarr.kt b/plugins/javadoc8/testdata/javadoc/stringarr.kt deleted file mode 100644 index d6cd9dea..00000000 --- a/plugins/javadoc8/testdata/javadoc/stringarr.kt +++ /dev/null @@ -1,8 +0,0 @@ -package foo - -class Foo { - companion object { - @JvmStatic fun main(args: Array<String>) { - } - } -}
\ No newline at end of file diff --git a/plugins/javadoc8/testdata/javadoc/suppress.kt b/plugins/javadoc8/testdata/javadoc/suppress.kt deleted file mode 100644 index 90f6c131..00000000 --- a/plugins/javadoc8/testdata/javadoc/suppress.kt +++ /dev/null @@ -1,37 +0,0 @@ -/** - * @suppress - */ -class Some { - -} - - -/** - * @suppress - * @author me - * @see other - */ -class SomeAgain { - -} - -class Same { - /** - * @suppress - */ - fun privateApi() { - - } - - /** - * @suppress - */ - val privateForSomeReason = "" -} - -/** - * @suppress - */ -interface Interface { - -}
\ No newline at end of file diff --git a/plugins/javadoc8/testdata/javadoc/typealiases.kt b/plugins/javadoc8/testdata/javadoc/typealiases.kt deleted file mode 100644 index bb09bfad..00000000 --- a/plugins/javadoc8/testdata/javadoc/typealiases.kt +++ /dev/null @@ -1,11 +0,0 @@ -class A - -typealias B = A - -class C : B - -typealias D = (A) -> C - -fun some(d: D) { - -}
\ No newline at end of file diff --git a/plugins/javadoc8/testdata/javadoc/types.kt b/plugins/javadoc8/testdata/javadoc/types.kt deleted file mode 100644 index 55be6058..00000000 --- a/plugins/javadoc8/testdata/javadoc/types.kt +++ /dev/null @@ -1,4 +0,0 @@ -package foo - -fun foo(x: Int, o: Any): String { -} diff --git a/plugins/javadoc8/testdata/javadoc/vararg.kt b/plugins/javadoc8/testdata/javadoc/vararg.kt deleted file mode 100644 index aa6c26d7..00000000 --- a/plugins/javadoc8/testdata/javadoc/vararg.kt +++ /dev/null @@ -1,3 +0,0 @@ -fun vararg(a: String, vararg b: Int) {} - -fun varargInMiddle(a: String, vararg b: Int, c: Short) {}
\ No newline at end of file diff --git a/plugins/javadoc8/testdata/javadoc/visibilityModifiers.kt b/plugins/javadoc8/testdata/javadoc/visibilityModifiers.kt deleted file mode 100644 index e48e7f62..00000000 --- a/plugins/javadoc8/testdata/javadoc/visibilityModifiers.kt +++ /dev/null @@ -1,15 +0,0 @@ -package foo - -abstract class Apple { - protected var name: String = "foo" - internal var weight: Int = 180 - var rating: Int = 10 - private var color: String = "red" - - companion object { - @JvmStatic - val code : Int = 123456 - } - - -}
\ No newline at end of file |