aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-08-11 14:10:37 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-08-14 17:51:11 +0200
commit334619d42d3c26379429ea8cdab13b28c87c159e (patch)
tree928a933b0a914f62a8a45acbf6b3cb59ecf2f728 /plugins/base/src/test/kotlin
parent33d962a55a559aa706649c29d9dd85d724cc37d9 (diff)
downloaddokka-334619d42d3c26379429ea8cdab13b28c87c159e.tar.gz
dokka-334619d42d3c26379429ea8cdab13b28c87c159e.tar.bz2
dokka-334619d42d3c26379429ea8cdab13b28c87c159e.zip
Refine and test `GradleSourceLinkBuilder` and SourceLinkDefinition API
Diffstat (limited to 'plugins/base/src/test/kotlin')
-rw-r--r--plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt b/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt
index a8fc9f6d..40c87b75 100644
--- a/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt
+++ b/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt
@@ -69,9 +69,9 @@ class LinkableContentTest : AbstractCoreTest() {
sourceRoots = listOf("$testDataDir/jsMain/kotlin")
sourceLinks = listOf(
SourceLinkDefinitionImpl(
- path = "jsMain/kotlin",
- url = "https://github.com/user/repo/tree/master/src/jsMain/kotlin",
- lineSuffix = "#L"
+ localDirectory = "jsMain/kotlin",
+ remoteUrl = "https://github.com/user/repo/tree/master/src/jsMain/kotlin",
+ remoteLineSuffix = "#L"
)
)
name = "js"
@@ -82,9 +82,9 @@ class LinkableContentTest : AbstractCoreTest() {
sourceRoots = listOf("$testDataDir/jvmMain/kotlin")
sourceLinks = listOf(
SourceLinkDefinitionImpl(
- path = "jvmMain/kotlin",
- url = "https://github.com/user/repo/tree/master/src/jvmMain/kotlin",
- lineSuffix = "#L"
+ localDirectory = "jvmMain/kotlin",
+ remoteUrl = "https://github.com/user/repo/tree/master/src/jvmMain/kotlin",
+ remoteLineSuffix = "#L"
)
)
name = "jvm"