aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-integration-tests/testData/multiProjectSingleOut/subA/src/main/kotlin
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-06-16 22:47:52 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-06-20 16:15:48 +0300
commit60858d8697231674c055bd30b34950d9859a6f32 (patch)
tree225117ac760bd952ac7e35125d596339158a7ecf /runners/gradle-integration-tests/testData/multiProjectSingleOut/subA/src/main/kotlin
parent558c6b67fafb73c97db9ce1eeadfd4fcbb911134 (diff)
downloaddokka-60858d8697231674c055bd30b34950d9859a6f32.tar.gz
dokka-60858d8697231674c055bd30b34950d9859a6f32.tar.bz2
dokka-60858d8697231674c055bd30b34950d9859a6f32.zip
Add gradle integration tests
Diffstat (limited to 'runners/gradle-integration-tests/testData/multiProjectSingleOut/subA/src/main/kotlin')
-rw-r--r--runners/gradle-integration-tests/testData/multiProjectSingleOut/subA/src/main/kotlin/module.kt31
1 files changed, 31 insertions, 0 deletions
diff --git a/runners/gradle-integration-tests/testData/multiProjectSingleOut/subA/src/main/kotlin/module.kt b/runners/gradle-integration-tests/testData/multiProjectSingleOut/subA/src/main/kotlin/module.kt
new file mode 100644
index 00000000..126d7f3e
--- /dev/null
+++ b/runners/gradle-integration-tests/testData/multiProjectSingleOut/subA/src/main/kotlin/module.kt
@@ -0,0 +1,31 @@
+package s1
+
+/**
+ * Coolest one
+ */
+fun someCoolThing(s: String) = s.repeat(2)
+
+/**
+ * Just a class
+ */
+class MyClass {
+ /**
+ * Ultimate answer to all questions
+ */
+ fun otherworks(): Int = 42
+}
+
+/**
+ * Just a SUPER class
+ */
+open class Super {
+ /**
+ * Same as [MyClass.otherworks]
+ */
+ fun foo(i: Int = 21) = i * 2
+
+ /**
+ * magic
+ */
+ open fun bar() = foo()
+} \ No newline at end of file