aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDoug Sigelbaum <sigelbaum@google.com>2018-06-18 18:02:34 -0400
committerDoug Sigelbaum <sigelbaum@google.com>2018-06-19 14:29:00 -0400
commitdd8a2a20e28e30444e735b16b140c0be7d695c55 (patch)
tree55fa01ce1eb95cf0cfe672c4ce4cf944f0dbc9ad /test
parent244f97fc9ec5745b377e594e54b2f465489fef8b (diff)
downloaddokka-dd8a2a20e28e30444e735b16b140c0be7d695c55.tar.gz
Replace Dokka source with a Dokka maven repo (see ./maven).
Artifacts pulled from https://teamcity.jetbrains.com/viewLog.html?tab=artifacts&buildId=1485600. Bug: 72394196 Change-Id: I36ba18127bec9a2c393a9a7740623b98500f2d73
Diffstat (limited to 'test')
-rw-r--r--test/playground.kt99
1 files changed, 0 insertions, 99 deletions
diff --git a/test/playground.kt b/test/playground.kt
deleted file mode 100644
index 5206e10e3..000000000
--- 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