From c545fa4f255b09f8d8b4ab8098971d46b98cb77a Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Wed, 19 Aug 2020 12:21:28 +0200 Subject: Remove unnecessary helper method --- .../locationProvider/DefaultExternalLocationProviderTest.kt | 8 +++----- .../locationProvider/Dokka010ExternalLocationProviderTest.kt | 3 ++- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'plugins/base/src/test') diff --git a/plugins/base/src/test/kotlin/locationProvider/DefaultExternalLocationProviderTest.kt b/plugins/base/src/test/kotlin/locationProvider/DefaultExternalLocationProviderTest.kt index dcf08f27..bfa60d24 100644 --- a/plugins/base/src/test/kotlin/locationProvider/DefaultExternalLocationProviderTest.kt +++ b/plugins/base/src/test/kotlin/locationProvider/DefaultExternalLocationProviderTest.kt @@ -1,16 +1,14 @@ package locationProvider +import org.jetbrains.dokka.ExternalDocumentationLink import org.jetbrains.dokka.base.resolvers.external.DefaultExternalLocationProvider -import org.jetbrains.dokka.base.resolvers.external.Dokka010ExternalLocationProvider -import org.jetbrains.dokka.plugability.DokkaContext import org.jetbrains.dokka.base.resolvers.shared.ExternalDocumentation import org.jetbrains.dokka.base.resolvers.shared.PackageList import org.jetbrains.dokka.links.Callable import org.jetbrains.dokka.links.DRI import org.jetbrains.dokka.links.TypeConstructor -import org.jetbrains.dokka.links.TypeReference +import org.jetbrains.dokka.plugability.DokkaContext import org.jetbrains.dokka.testApi.testRunner.AbstractCoreTest -import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test import java.net.URL @@ -25,7 +23,7 @@ class DefaultExternalLocationProviderTest : AbstractCoreTest() { sourceSet { sourceRoots = listOf("src/") classpath += jvmStdlibPath!! - externalDocumentationLink(kotlinLang, packageListURL.toString()) + ExternalDocumentationLink(kotlinLang, packageListURL.toString()) } } } diff --git a/plugins/base/src/test/kotlin/locationProvider/Dokka010ExternalLocationProviderTest.kt b/plugins/base/src/test/kotlin/locationProvider/Dokka010ExternalLocationProviderTest.kt index 590bc0a3..1a2a45d7 100644 --- a/plugins/base/src/test/kotlin/locationProvider/Dokka010ExternalLocationProviderTest.kt +++ b/plugins/base/src/test/kotlin/locationProvider/Dokka010ExternalLocationProviderTest.kt @@ -1,5 +1,6 @@ package locationProvider +import org.jetbrains.dokka.ExternalDocumentationLink import org.jetbrains.dokka.base.resolvers.external.Dokka010ExternalLocationProvider import org.jetbrains.dokka.plugability.DokkaContext import org.jetbrains.dokka.base.resolvers.shared.ExternalDocumentation @@ -23,7 +24,7 @@ class Dokka010ExternalLocationProviderTest : AbstractCoreTest() { sourceSet { sourceRoots = listOf("src/") classpath += jvmStdlibPath!! - externalDocumentationLink(kotlinLang, packageListURL.toString()) + ExternalDocumentationLink(kotlinLang, packageListURL.toString()) } } } -- cgit