From 7196323582dce7ca3f9b07262a1f94ecd8514539 Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Mon, 24 Aug 2020 14:02:07 +0200 Subject: - Move `test` projects into semantic parent projects - Implement new `:test-utils` project - Resolve requirement for Android SDK installation --- test/playground.kt | 99 ------------------------------------------------------ 1 file changed, 99 deletions(-) delete mode 100644 test/playground.kt (limited to 'test') 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()) - 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 { - 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 -- cgit