aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-08-19 12:21:28 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-08-19 13:34:10 +0200
commitc545fa4f255b09f8d8b4ab8098971d46b98cb77a (patch)
tree37afece7939d54e49fe1c892f4c1683d1537d487 /plugins/base/src/test/kotlin
parent60acc7aa3e4294a80a9c816bac0246ce6d9db1fa (diff)
downloaddokka-c545fa4f255b09f8d8b4ab8098971d46b98cb77a.tar.gz
dokka-c545fa4f255b09f8d8b4ab8098971d46b98cb77a.tar.bz2
dokka-c545fa4f255b09f8d8b4ab8098971d46b98cb77a.zip
Remove unnecessary helper method
Diffstat (limited to 'plugins/base/src/test/kotlin')
-rw-r--r--plugins/base/src/test/kotlin/locationProvider/DefaultExternalLocationProviderTest.kt8
-rw-r--r--plugins/base/src/test/kotlin/locationProvider/Dokka010ExternalLocationProviderTest.kt3
2 files changed, 5 insertions, 6 deletions
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())
}
}
}