diff options
author | Ilya Gorbunov <ilya.gorbunov@jetbrains.com> | 2023-02-10 19:30:54 +0100 |
---|---|---|
committer | ilya-g <ilya.gorbunov@jetbrains.com> | 2023-02-13 15:52:22 +0100 |
commit | 00210fd03e89169615d08449c405e3f710984f47 (patch) | |
tree | 8e8e59a9d3a2e42278a98d0e59d659da38704279 /plugins/base/src/test/kotlin/content | |
parent | 5c30c62eba6ab79df147d7f4625a0a928674591a (diff) | |
download | dokka-00210fd03e89169615d08449c405e3f710984f47.tar.gz dokka-00210fd03e89169615d08449c405e3f710984f47.tar.bz2 dokka-00210fd03e89169615d08449c405e3f710984f47.zip |
Set default SinceKotlin version for Wasm platform
Diffstat (limited to 'plugins/base/src/test/kotlin/content')
-rw-r--r-- | plugins/base/src/test/kotlin/content/annotations/SinceKotlinTest.kt | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/plugins/base/src/test/kotlin/content/annotations/SinceKotlinTest.kt b/plugins/base/src/test/kotlin/content/annotations/SinceKotlinTest.kt index aec7e540..d658b50b 100644 --- a/plugins/base/src/test/kotlin/content/annotations/SinceKotlinTest.kt +++ b/plugins/base/src/test/kotlin/content/annotations/SinceKotlinTest.kt @@ -136,6 +136,10 @@ class SinceKotlinTest : AbstractRenderingTest() { sourceRoots = listOf("src/") analysisPlatform = "js" } + sourceSet { + sourceRoots = listOf("src/") + analysisPlatform = "wasm" + } } } testInline( @@ -156,7 +160,8 @@ class SinceKotlinTest : AbstractRenderingTest() { Platform.common to SinceKotlinVersion("1.0"), Platform.jvm to SinceKotlinVersion("1.0"), Platform.js to SinceKotlinVersion("1.1"), - Platform.native to SinceKotlinVersion("1.3") + Platform.native to SinceKotlinVersion("1.3"), + Platform.wasm to SinceKotlinVersion("1.8"), ) for(i in sinceKotlin) { @@ -191,6 +196,10 @@ class SinceKotlinTest : AbstractRenderingTest() { sourceRoots = listOf("src/") analysisPlatform = "js" } + sourceSet { + sourceRoots = listOf("src/") + analysisPlatform = "wasm" + } } } testInline( @@ -213,7 +222,8 @@ class SinceKotlinTest : AbstractRenderingTest() { Platform.common to SinceKotlinVersion("1.3"), Platform.jvm to SinceKotlinVersion("1.3"), Platform.js to SinceKotlinVersion("1.3"), - Platform.native to SinceKotlinVersion("1.3") + Platform.native to SinceKotlinVersion("1.3"), + Platform.wasm to SinceKotlinVersion("1.8"), ) for(i in sinceKotlin) { |