aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test
diff options
context:
space:
mode:
authorFilip Zybała <fzybala@virtuslab.com>2020-07-08 10:11:53 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-07-13 15:13:01 +0200
commit46bfb60f356a861097149f64bf414e732807c522 (patch)
tree05ddd63773f481e58c717ffe59d0c553722b9957 /plugins/base/src/test
parent6377d964819f937bd4a7633488d69edc327542d8 (diff)
downloaddokka-46bfb60f356a861097149f64bf414e732807c522.tar.gz
dokka-46bfb60f356a861097149f64bf414e732807c522.tar.bz2
dokka-46bfb60f356a861097149f64bf414e732807c522.zip
Implemented extension point for tab sorting strategy
Diffstat (limited to 'plugins/base/src/test')
-rw-r--r--plugins/base/src/test/kotlin/renderers/html/HtmlRenderingOnlyTestBase.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/base/src/test/kotlin/renderers/html/HtmlRenderingOnlyTestBase.kt b/plugins/base/src/test/kotlin/renderers/html/HtmlRenderingOnlyTestBase.kt
index 397a9c45..d533988d 100644
--- a/plugins/base/src/test/kotlin/renderers/html/HtmlRenderingOnlyTestBase.kt
+++ b/plugins/base/src/test/kotlin/renderers/html/HtmlRenderingOnlyTestBase.kt
@@ -2,6 +2,7 @@ package renderers.html
import org.jetbrains.dokka.DokkaConfigurationImpl
import org.jetbrains.dokka.base.DokkaBase
+import org.jetbrains.dokka.base.renderers.DefaultTabSortingStrategy
import org.jetbrains.dokka.base.renderers.RootCreator
import org.jetbrains.dokka.base.resolvers.external.DokkaExternalLocationProviderFactory
import org.jetbrains.dokka.base.resolvers.external.JavadocExternalLocationProviderFactory
@@ -23,6 +24,7 @@ abstract class HtmlRenderingOnlyTestBase : RenderingOnlyTestBase<Element>() {
DokkaBase().htmlPreprocessors to { _ -> RootCreator },
DokkaBase().externalLocationProviderFactory to { ::JavadocExternalLocationProviderFactory },
DokkaBase().externalLocationProviderFactory to { ::DokkaExternalLocationProviderFactory },
+ DokkaBase().tabSortingStrategy to { DefaultTabSortingStrategy() },
testConfiguration = DokkaConfigurationImpl(
"", null, false, emptyList(), emptyList(), emptyMap(), emptyList(), false
)