aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/base-test-utils/src/main
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-06-22 15:17:55 +0200
committerGitHub <noreply@github.com>2021-06-22 15:17:55 +0200
commit9e15f07aefe6ea1f366466c6721b92e77e3f1b41 (patch)
tree60ab664edbab02f3c128c1158a9490d06d44f66e /plugins/base/base-test-utils/src/main
parent8d6536d3a3d0dcd80a2e6b77b047524e15533f0b (diff)
downloaddokka-9e15f07aefe6ea1f366466c6721b92e77e3f1b41.tar.gz
dokka-9e15f07aefe6ea1f366466c6721b92e77e3f1b41.tar.bz2
dokka-9e15f07aefe6ea1f366466c6721b92e77e3f1b41.zip
Logging in CLI (#1976)
Diffstat (limited to 'plugins/base/base-test-utils/src/main')
-rw-r--r--plugins/base/base-test-utils/src/main/kotlin/renderers/TestPage.kt4
-rw-r--r--plugins/base/base-test-utils/src/main/kotlin/testRunner/baseTestApi.kt3
2 files changed, 4 insertions, 3 deletions
diff --git a/plugins/base/base-test-utils/src/main/kotlin/renderers/TestPage.kt b/plugins/base/base-test-utils/src/main/kotlin/renderers/TestPage.kt
index 09ea6083..67ba2dd3 100644
--- a/plugins/base/base-test-utils/src/main/kotlin/renderers/TestPage.kt
+++ b/plugins/base/base-test-utils/src/main/kotlin/renderers/TestPage.kt
@@ -14,8 +14,8 @@ import org.jetbrains.dokka.base.transformers.pages.comments.CommentsToContentCon
fun testPage(callback: PageContentBuilder.DocumentableContentBuilder.() -> Unit): RawTestPage {
val content = PageContentBuilder(
EmptyCommentConverter,
- KotlinSignatureProvider(EmptyCommentConverter, DokkaConsoleLogger),
- DokkaConsoleLogger
+ KotlinSignatureProvider(EmptyCommentConverter, DokkaConsoleLogger()),
+ DokkaConsoleLogger()
).contentFor(
DRI.topLevel,
emptySet(),
diff --git a/plugins/base/base-test-utils/src/main/kotlin/testRunner/baseTestApi.kt b/plugins/base/base-test-utils/src/main/kotlin/testRunner/baseTestApi.kt
index 792754fb..25f6656e 100644
--- a/plugins/base/base-test-utils/src/main/kotlin/testRunner/baseTestApi.kt
+++ b/plugins/base/base-test-utils/src/main/kotlin/testRunner/baseTestApi.kt
@@ -12,6 +12,7 @@ import org.jetbrains.dokka.testApi.logger.TestLogger
import org.jetbrains.dokka.testApi.testRunner.*
import org.jetbrains.dokka.utilities.DokkaConsoleLogger
import org.jetbrains.dokka.utilities.DokkaLogger
+import org.jetbrains.dokka.utilities.LoggingLevel
class BaseDokkaTestGenerator(
configuration: DokkaConfiguration,
@@ -101,7 +102,7 @@ class BaseTestBuilder : TestBuilder<BaseTestMethods>() {
)
}
-abstract class BaseAbstractTest(logger: TestLogger = TestLogger(DokkaConsoleLogger)) : AbstractTest<BaseTestMethods, BaseTestBuilder, BaseDokkaTestGenerator>(
+abstract class BaseAbstractTest(logger: TestLogger = TestLogger(DokkaConsoleLogger(LoggingLevel.DEBUG))) : AbstractTest<BaseTestMethods, BaseTestBuilder, BaseDokkaTestGenerator>(
::BaseTestBuilder,
::BaseDokkaTestGenerator,
logger,