From e6ce96cef610cab0163c669ab4a9de0c259904cc Mon Sep 17 00:00:00 2001 From: Błażej Kardyś Date: Mon, 2 Nov 2020 04:22:57 +0100 Subject: Fixing tests after moving SingleGeneration to base --- .../org/jetbrains/dokka/javadoc/AbstractJavadocTemplateMapTest.kt | 4 ++-- .../kotlin/org/jetbrains/dokka/javadoc/location/JavadocLinkingTest.kt | 4 ++-- .../org/jetbrains/dokka/javadoc/location/JavadocLocationTest.kt | 4 ++-- .../documentables/JavadocDocumentableJVMSourceSetFilterTest.kt | 4 ++-- .../dokka/javadoc/validity/MultiplatformConfiguredCheckerTest.kt | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) (limited to 'plugins/javadoc') diff --git a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/AbstractJavadocTemplateMapTest.kt b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/AbstractJavadocTemplateMapTest.kt index ec5c215e..f5e9f2f4 100644 --- a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/AbstractJavadocTemplateMapTest.kt +++ b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/AbstractJavadocTemplateMapTest.kt @@ -8,9 +8,9 @@ import org.jetbrains.dokka.javadoc.location.JavadocLocationProvider import org.jetbrains.dokka.model.withDescendants import org.jetbrains.dokka.pages.RootPageNode import org.jetbrains.dokka.plugability.* -import org.jetbrains.dokka.testApi.testRunner.AbstractCoreTest +import org.jetbrains.dokka.base.testApi.testRunner.BaseAbstractTest -internal abstract class AbstractJavadocTemplateMapTest : AbstractCoreTest() { +internal abstract class AbstractJavadocTemplateMapTest : BaseAbstractTest() { protected var config: DokkaConfigurationImpl = dokkaConfiguration { format = "javadoc" sourceSets { diff --git a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/location/JavadocLinkingTest.kt b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/location/JavadocLinkingTest.kt index 95dc6a2e..eb8abf9a 100644 --- a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/location/JavadocLinkingTest.kt +++ b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/location/JavadocLinkingTest.kt @@ -5,13 +5,13 @@ import org.jetbrains.dokka.jdk import org.jetbrains.dokka.kotlinStdlib import org.jetbrains.dokka.model.doc.DocumentationLink import org.jetbrains.dokka.model.doc.Text -import org.jetbrains.dokka.testApi.testRunner.AbstractCoreTest +import org.jetbrains.dokka.base.testApi.testRunner.BaseAbstractTest import org.jetbrains.dokka.utilities.cast import org.junit.jupiter.api.Test import utils.TestOutputWriterPlugin import kotlin.test.assertEquals -class JavadocLinkingTest : AbstractCoreTest() { +class JavadocLinkingTest : BaseAbstractTest() { @Test fun lineBrokenLink() { diff --git a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/location/JavadocLocationTest.kt b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/location/JavadocLocationTest.kt index c8ae59e3..26a6aaff 100644 --- a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/location/JavadocLocationTest.kt +++ b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/location/JavadocLocationTest.kt @@ -10,11 +10,11 @@ import org.jetbrains.dokka.pages.RootPageNode import org.jetbrains.dokka.plugability.DokkaContext import org.jetbrains.dokka.plugability.plugin import org.jetbrains.dokka.plugability.querySingle -import org.jetbrains.dokka.testApi.testRunner.AbstractCoreTest +import org.jetbrains.dokka.base.testApi.testRunner.BaseAbstractTest import org.junit.jupiter.api.Test import org.junit.jupiter.api.Assertions.assertEquals -class JavadocLocationTest : AbstractCoreTest() { +class JavadocLocationTest : BaseAbstractTest() { private fun locationTestInline(testHandler: (RootPageNode, DokkaContext) -> Unit) { val config = dokkaConfiguration { diff --git a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/transformers/documentables/JavadocDocumentableJVMSourceSetFilterTest.kt b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/transformers/documentables/JavadocDocumentableJVMSourceSetFilterTest.kt index ca6b7a3d..5a0a8ba1 100644 --- a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/transformers/documentables/JavadocDocumentableJVMSourceSetFilterTest.kt +++ b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/transformers/documentables/JavadocDocumentableJVMSourceSetFilterTest.kt @@ -1,11 +1,11 @@ package org.jetbrains.dokka.javadoc.transformers.documentables import org.jetbrains.dokka.DokkaSourceSetID -import org.jetbrains.dokka.testApi.testRunner.AbstractCoreTest +import org.jetbrains.dokka.base.testApi.testRunner.BaseAbstractTest import org.junit.jupiter.api.Test import kotlin.test.assertEquals -class JavadocDocumentableJVMSourceSetFilterTest: AbstractCoreTest() { +class JavadocDocumentableJVMSourceSetFilterTest: BaseAbstractTest() { private val config = dokkaConfiguration { format = "javadoc" diff --git a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/validity/MultiplatformConfiguredCheckerTest.kt b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/validity/MultiplatformConfiguredCheckerTest.kt index 9d70f444..1175e365 100644 --- a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/validity/MultiplatformConfiguredCheckerTest.kt +++ b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/validity/MultiplatformConfiguredCheckerTest.kt @@ -3,12 +3,12 @@ package org.jetbrains.dokka.javadoc.validity import org.jetbrains.dokka.DokkaConfigurationImpl import org.jetbrains.dokka.DokkaException import org.jetbrains.dokka.ExternalDocumentationLink -import org.jetbrains.dokka.testApi.testRunner.AbstractCoreTest +import org.jetbrains.dokka.base.testApi.testRunner.BaseAbstractTest import org.junit.jupiter.api.Test import kotlin.test.assertFalse import kotlin.test.assertTrue -class MultiplatformConfiguredCheckerTest : AbstractCoreTest() { +class MultiplatformConfiguredCheckerTest : BaseAbstractTest() { val mppConfig: DokkaConfigurationImpl = dokkaConfiguration { format = "javadoc" -- cgit