diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-08-24 14:02:07 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-08-25 16:21:32 +0200 |
commit | 7196323582dce7ca3f9b07262a1f94ecd8514539 (patch) | |
tree | 0c326aee84d4727d5cd5bc5c8198b992d5b58de6 /test/playground.kt | |
parent | 219e2c98f5d03fc8581fd6ce9dd870919523be44 (diff) | |
download | dokka-7196323582dce7ca3f9b07262a1f94ecd8514539.tar.gz dokka-7196323582dce7ca3f9b07262a1f94ecd8514539.tar.bz2 dokka-7196323582dce7ca3f9b07262a1f94ecd8514539.zip |
- Move `test` projects into semantic parent projects
- Implement new `:test-utils` project
- Resolve requirement for Android SDK installation
Diffstat (limited to 'test/playground.kt')
-rw-r--r-- | test/playground.kt | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/test/playground.kt b/test/playground.kt deleted file mode 100644 index 5206e10e..00000000 --- a/test/playground.kt +++ /dev/null @@ -1,99 +0,0 @@ -// this file is not included in sources or tests, you can play with it for debug purposes -// Console run configuration will analyse it and provide lots of debug output -package dokka.playground - -fun topLevelFunction() { -} - -val topLevelConstantValue = "Hello" - -val topLevelValue: String - get() = "Bye bye" - -var topLevelVariable: String - get() = "Modify me!" - set(value) { - } - -/** - * This is a class - */ -class Class { - fun memberFunction() { - } - - val memberValue = "Member" -} - -/** - * This is a class with constructor and space after doc - */ - -class ClassWithConstructor( - /** Doc at parameter */ val name: Class) - -/** - * This is data class with constructor and two properties - * Also look at [Employee] - * - * $name Person's name - * $age Person's age - * - */ -data class Person(val name: ClassWithConstructor, val age: Int) {} - -data class Employee(val name: ClassWithConstructor, val age: Int) {} - -object Object { - throws(javaClass<IllegalArgumentException>()) - fun objectFunction() { - } - - val objectValue: String - /** one line getter doc */ - get() = "Member" - - public val String.valueWithReceiver: Int - get() = 1 - -} - -enum class Color(r: Int, g: Int, b: Int) { - Red : Color(100,0,0) - Green : Color(0,100,0) - Blue : Color(0,0,100) -} - -class OuterClass { - - /** - * $T type of the item - */ - class NestedClass<T> { - fun nestedClassFunction(item: T) { - } - - fun String.functionWithReceiver(): Int = 1 - - } - - inner class InnerClass { - open fun innerClassFunction< - /** doc for R1 type param */ - R1, - /** doc for R2 type param */ - R2 - >() { - } - } - - object NestedObject { - protected open fun nestedObjectFunction() { - } - } -} - -trait Interface { - fun worker() - val extra: String -}
\ No newline at end of file |