aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt
diff options
context:
space:
mode:
authorBłażej Kardyś <bkardys@virtuslab.com>2020-05-05 17:45:12 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-05-14 13:30:33 +0200
commit3f2a790190da4f40ea6d8a976aa1929b2a1b002b (patch)
tree752ee84451954e9ea5e6d4133e18e41aaee2f7b1 /plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt
parenta440f0cb8756019131a2c15389e747aea3c585e7 (diff)
downloaddokka-3f2a790190da4f40ea6d8a976aa1929b2a1b002b.tar.gz
dokka-3f2a790190da4f40ea6d8a976aa1929b2a1b002b.tar.bz2
dokka-3f2a790190da4f40ea6d8a976aa1929b2a1b002b.zip
Changing approach from platform-driven to source-set-driven
Diffstat (limited to 'plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt')
-rw-r--r--plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt b/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt
index bf1d52d8..1299bf80 100644
--- a/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt
+++ b/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt
@@ -29,6 +29,7 @@ class LinkableContentTest : AbstractCoreTest() {
sourceRoots = listOf("jsMain", "commonMain", "jvmAndJsSecondCommonMain").map {
"$testDataDir/$it/kotlin"
}
+ sourceSetName = "js"
includes = listOf("$includesDir/include2.md")
}
pass {
@@ -38,6 +39,7 @@ class LinkableContentTest : AbstractCoreTest() {
sourceRoots = listOf("jvmMain", "commonMain", "jvmAndJsSecondCommonMain").map {
"$testDataDir/$it/kotlin"
}
+ sourceSetName = "jvm"
includes = listOf("$includesDir/include1.md")
}
}
@@ -73,6 +75,7 @@ class LinkableContentTest : AbstractCoreTest() {
lineSuffix = "#L"
)
)
+ sourceSetName = "js"
}
pass {
moduleName = "example"
@@ -86,6 +89,7 @@ class LinkableContentTest : AbstractCoreTest() {
lineSuffix = "#L"
)
)
+ sourceSetName = "jvm"
}
}
}
@@ -129,6 +133,7 @@ class LinkableContentTest : AbstractCoreTest() {
analysisPlatform = "js"
targets = listOf("js")
sourceRoots = listOf("$testDataDir/jsMain/kotlin")
+ sourceSetName = "js"
samples = listOf("$testDataDir/jsMain/resources/Samples.kt")
}
pass {
@@ -136,6 +141,7 @@ class LinkableContentTest : AbstractCoreTest() {
analysisPlatform = "jvm"
targets = listOf("jvm")
sourceRoots = listOf("$testDataDir/jvmMain/kotlin")
+ sourceSetName = "jvm"
samples = listOf("$testDataDir/jvmMain/resources/Samples.kt")
}
}