diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-08-31 11:58:05 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-08-31 15:10:04 +0200 |
commit | 98c18f2a686c78283d5373b4d768bfbb10952f2d (patch) | |
tree | 353221b1b766697e99684906218e015cac1b5d90 | |
parent | 8bae1b84fabce1eae68a6bd9464c5a13a03b36d4 (diff) | |
download | dokka-98c18f2a686c78283d5373b4d768bfbb10952f2d.tar.gz dokka-98c18f2a686c78283d5373b4d768bfbb10952f2d.tar.bz2 dokka-98c18f2a686c78283d5373b4d768bfbb10952f2d.zip |
Remove old `defaultSourceSet` in favour of new package
5 files changed, 4 insertions, 8 deletions
diff --git a/plugins/base/base-test-utils/src/main/kotlin/renderers/defaultSourceSet.kt b/plugins/base/base-test-utils/src/main/kotlin/renderers/defaultSourceSet.kt deleted file mode 100644 index 41ca7146..00000000 --- a/plugins/base/base-test-utils/src/main/kotlin/renderers/defaultSourceSet.kt +++ /dev/null @@ -1,3 +0,0 @@ -package renderers - -val defaultSourceSet = testApi.testRunner.defaultSourceSet diff --git a/plugins/base/src/test/kotlin/renderers/html/HtmlRenderingOnlyTestBase.kt b/plugins/base/src/test/kotlin/renderers/html/HtmlRenderingOnlyTestBase.kt index 8426923d..0d3763ee 100644 --- a/plugins/base/src/test/kotlin/renderers/html/HtmlRenderingOnlyTestBase.kt +++ b/plugins/base/src/test/kotlin/renderers/html/HtmlRenderingOnlyTestBase.kt @@ -15,7 +15,7 @@ import org.jsoup.nodes.Node import org.jsoup.nodes.TextNode import renderers.RenderingOnlyTestBase import utils.TestOutputWriter -import renderers.defaultSourceSet +import testApi.testRunner.defaultSourceSet import java.io.File abstract class HtmlRenderingOnlyTestBase : RenderingOnlyTestBase<Element>() { diff --git a/plugins/base/src/test/kotlin/renderers/html/SourceSetDependentHintTest.kt b/plugins/base/src/test/kotlin/renderers/html/SourceSetDependentHintTest.kt index 4fd349e4..6be3839d 100644 --- a/plugins/base/src/test/kotlin/renderers/html/SourceSetDependentHintTest.kt +++ b/plugins/base/src/test/kotlin/renderers/html/SourceSetDependentHintTest.kt @@ -5,8 +5,7 @@ import org.jetbrains.dokka.base.renderers.html.HtmlRenderer import org.jetbrains.dokka.pages.TextStyle import org.junit.jupiter.api.Test import renderers.TestPage -import renderers.defaultSourceSet -import renderers.RenderingOnlyTestBase +import testApi.testRunner.defaultSourceSet import utils.Div import utils.match import java.io.File diff --git a/plugins/gfm/src/test/kotlin/renderers/gfm/DivergentTest.kt b/plugins/gfm/src/test/kotlin/renderers/gfm/DivergentTest.kt index dee43b1d..ab1378d5 100644 --- a/plugins/gfm/src/test/kotlin/renderers/gfm/DivergentTest.kt +++ b/plugins/gfm/src/test/kotlin/renderers/gfm/DivergentTest.kt @@ -6,8 +6,8 @@ import org.jetbrains.dokka.gfm.CommonmarkRenderer import org.jetbrains.dokka.links.DRI import org.jetbrains.dokka.pages.ContentDivergentGroup import org.junit.jupiter.api.Test -import renderers.defaultSourceSet import renderers.TestPage +import testApi.testRunner.defaultSourceSet import java.io.File class DivergentTest : GfmRenderingOnlyTestBase() { diff --git a/plugins/gfm/src/test/kotlin/renderers/gfm/SourceSetDependentHintTest.kt b/plugins/gfm/src/test/kotlin/renderers/gfm/SourceSetDependentHintTest.kt index 93edd001..999d7954 100644 --- a/plugins/gfm/src/test/kotlin/renderers/gfm/SourceSetDependentHintTest.kt +++ b/plugins/gfm/src/test/kotlin/renderers/gfm/SourceSetDependentHintTest.kt @@ -6,7 +6,7 @@ import org.jetbrains.dokka.gfm.CommonmarkRenderer import org.jetbrains.dokka.pages.TextStyle import org.junit.jupiter.api.Test import renderers.TestPage -import renderers.defaultSourceSet +import testApi.testRunner.defaultSourceSet import java.io.File class SourceSetDependentHintTest : GfmRenderingOnlyTestBase() { |