diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-07-07 11:08:34 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-07-07 13:31:38 +0200 |
commit | cb20227d354b1b74ca6784d55ea75cc8b5281abd (patch) | |
tree | 2284ff9b5535a735655a9ad0ee436f2aa4e68a07 /integration-tests/cli/projects/it-cli/src/main/kotlin/it/basic | |
parent | 72e6c72774f65308ce1da807bc0fa5798575d013 (diff) | |
download | dokka-cb20227d354b1b74ca6784d55ea75cc8b5281abd.tar.gz dokka-cb20227d354b1b74ca6784d55ea75cc8b5281abd.tar.bz2 dokka-cb20227d354b1b74ca6784d55ea75cc8b5281abd.zip |
Implement simple cli integration test
Diffstat (limited to 'integration-tests/cli/projects/it-cli/src/main/kotlin/it/basic')
-rw-r--r-- | integration-tests/cli/projects/it-cli/src/main/kotlin/it/basic/PublicClass.kt | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/integration-tests/cli/projects/it-cli/src/main/kotlin/it/basic/PublicClass.kt b/integration-tests/cli/projects/it-cli/src/main/kotlin/it/basic/PublicClass.kt new file mode 100644 index 00000000..71bc7e63 --- /dev/null +++ b/integration-tests/cli/projects/it-cli/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 +} |