aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/projects/it-basic/src
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-01 14:30:49 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-07-02 12:48:53 +0200
commitc0ce35627413103d64845ca3c56b9ceab0606b6b (patch)
tree5eef75366a143f27a4fc61aa6fa236889b01d718 /integration-tests/gradle/projects/it-basic/src
parent1bd0cba71db2330a5e827860c4fa8c5b7eda12b4 (diff)
downloaddokka-c0ce35627413103d64845ca3c56b9ceab0606b6b.tar.gz
dokka-c0ce35627413103d64845ca3c56b9ceab0606b6b.tar.bz2
dokka-c0ce35627413103d64845ca3c56b9ceab0606b6b.zip
Re-implement first basic gradle integration test
Diffstat (limited to 'integration-tests/gradle/projects/it-basic/src')
-rw-r--r--integration-tests/gradle/projects/it-basic/src/main/kotlin/it/basic/PublicClass.kt48
1 files changed, 48 insertions, 0 deletions
diff --git a/integration-tests/gradle/projects/it-basic/src/main/kotlin/it/basic/PublicClass.kt b/integration-tests/gradle/projects/it-basic/src/main/kotlin/it/basic/PublicClass.kt
new file mode 100644
index 00000000..71bc7e63
--- /dev/null
+++ b/integration-tests/gradle/projects/it-basic/src/main/kotlin/it/basic/PublicClass.kt
@@ -0,0 +1,48 @@
+@file:Suppress("unused")
+
+package it.basic
+
+class PublicClass {
+ /**
+ * This function is public and documented
+ */
+ fun publicDocumentedFunction(): String = ""
+
+ fun publicUndocumentedFunction(): String = ""
+
+ /**
+ * This function is internal and documented
+ */
+ internal fun internalDocumentedFunction(): String = ""
+
+ internal fun internalUndocumentedFunction(): String = ""
+
+ /**
+ * This function is private and documented
+ */
+ private fun privateDocumentedFunction(): String = ""
+
+ private fun privateUndocumentedFunction(): String = ""
+
+
+ /**
+ * This property is public and documented
+ */
+ val publicDocumentedProperty: Int = 0
+
+ val publicUndocumentedProperty: Int = 0
+
+ /**
+ * This property internal and documented
+ */
+ val internalDocumentedProperty: Int = 0
+
+ val internalUndocumentedProperty: Int = 0
+
+ /**
+ * This property private and documented
+ */
+ private val privateDocumentedProperty: Int = 0
+
+ private val privateUndocumentedProperty: Int = 0
+}