From 334619d42d3c26379429ea8cdab13b28c87c159e Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Tue, 11 Aug 2020 14:10:37 +0200 Subject: Refine and test `GradleSourceLinkBuilder` and SourceLinkDefinition API --- .../src/test/kotlin/linkableContent/LinkableContentTest.kt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/base/src/test/kotlin/linkableContent') 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" -- cgit