aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/content
diff options
context:
space:
mode:
authorIlya Gorbunov <ilya.gorbunov@jetbrains.com>2023-02-10 19:30:54 +0100
committerilya-g <ilya.gorbunov@jetbrains.com>2023-02-13 15:52:22 +0100
commit00210fd03e89169615d08449c405e3f710984f47 (patch)
tree8e8e59a9d3a2e42278a98d0e59d659da38704279 /plugins/base/src/test/kotlin/content
parent5c30c62eba6ab79df147d7f4625a0a928674591a (diff)
downloaddokka-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.kt14
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) {