diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-07-07 12:27:56 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-07-09 14:09:26 +0200 |
commit | 36c4d0d3f815539517ce422e2192d9a5d2970b78 (patch) | |
tree | f02f4c7cf62b98926536e38f8d5db694cb35471a /plugins/base/src/test/resources/multiplatform/basicMultiplatformTest | |
parent | 2ab810271d2b2dba7448a8cb2b53f0031e6ef40e (diff) | |
download | dokka-36c4d0d3f815539517ce422e2192d9a5d2970b78.tar.gz dokka-36c4d0d3f815539517ce422e2192d9a5d2970b78.tar.bz2 dokka-36c4d0d3f815539517ce422e2192d9a5d2970b78.zip |
Add rendering signatures tests
Diffstat (limited to 'plugins/base/src/test/resources/multiplatform/basicMultiplatformTest')
2 files changed, 11 insertions, 0 deletions
diff --git a/plugins/base/src/test/resources/multiplatform/basicMultiplatformTest/jsMain/kotlin/Clock.kt b/plugins/base/src/test/resources/multiplatform/basicMultiplatformTest/jsMain/kotlin/Clock.kt index 967cffcd..51b8fdc6 100644 --- a/plugins/base/src/test/resources/multiplatform/basicMultiplatformTest/jsMain/kotlin/Clock.kt +++ b/plugins/base/src/test/resources/multiplatform/basicMultiplatformTest/jsMain/kotlin/Clock.kt @@ -9,8 +9,15 @@ import kotlin.js.Date actual open class Clock { actual fun getTime() = Date.now().toString() fun onlyJsFunction(): Int = 42 + + /** + * JS implementation of getTimeInMillis + */ actual fun getTimesInMillis(): String = Date.now().toString() + /** + * JS custom kdoc + */ actual fun getYear(): String { TODO("not implemented") //To change body of created functions use File | Settings | File Templates. } diff --git a/plugins/base/src/test/resources/multiplatform/basicMultiplatformTest/jvmMain/kotlin/example/Clock.kt b/plugins/base/src/test/resources/multiplatform/basicMultiplatformTest/jvmMain/kotlin/example/Clock.kt index 4d27d0a3..fec06207 100644 --- a/plugins/base/src/test/resources/multiplatform/basicMultiplatformTest/jvmMain/kotlin/example/Clock.kt +++ b/plugins/base/src/test/resources/multiplatform/basicMultiplatformTest/jvmMain/kotlin/example/Clock.kt @@ -25,6 +25,10 @@ actual open class Clock { open fun getDayOfTheWeek(): String { TODO("not implemented") } + + /** + * JVM custom kdoc + */ actual fun getYear(): String { TODO("not implemented") } |