From 51377df14fcbc326a79fcee0975d29b5ca014a85 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Thu, 16 Mar 2017 17:19:30 +0300 Subject: Deprecate old kotlin-website formats --- core/src/test/kotlin/format/KotlinWebSiteFormatTest.kt | 2 +- core/src/test/kotlin/format/KotlinWebSiteRunnableSamplesFormatTest.kt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'core/src/test') diff --git a/core/src/test/kotlin/format/KotlinWebSiteFormatTest.kt b/core/src/test/kotlin/format/KotlinWebSiteFormatTest.kt index 9565263f..83f80031 100644 --- a/core/src/test/kotlin/format/KotlinWebSiteFormatTest.kt +++ b/core/src/test/kotlin/format/KotlinWebSiteFormatTest.kt @@ -5,7 +5,7 @@ import org.jetbrains.kotlin.utils.addToStdlib.singletonOrEmptyList import org.junit.Test class KotlinWebSiteFormatTest { - private val kwsService = KotlinWebsiteFormatService(InMemoryLocationService, KotlinLanguageService(), listOf()) + private val kwsService = KotlinWebsiteFormatService(InMemoryLocationService, KotlinLanguageService(), listOf(), DokkaConsoleLogger) @Test fun sample() { verifyKWSNodeByName("sample", "foo") diff --git a/core/src/test/kotlin/format/KotlinWebSiteRunnableSamplesFormatTest.kt b/core/src/test/kotlin/format/KotlinWebSiteRunnableSamplesFormatTest.kt index 0d586814..4662f059 100644 --- a/core/src/test/kotlin/format/KotlinWebSiteRunnableSamplesFormatTest.kt +++ b/core/src/test/kotlin/format/KotlinWebSiteRunnableSamplesFormatTest.kt @@ -1,11 +1,12 @@ package org.jetbrains.dokka.tests +import org.jetbrains.dokka.DokkaConsoleLogger import org.jetbrains.dokka.KotlinLanguageService import org.jetbrains.dokka.KotlinWebsiteRunnableSamplesFormatService import org.junit.Test class KotlinWebSiteRunnableSamplesFormatTest { - private val kwsService = KotlinWebsiteRunnableSamplesFormatService(InMemoryLocationService, KotlinLanguageService(), listOf()) + private val kwsService = KotlinWebsiteRunnableSamplesFormatService(InMemoryLocationService, KotlinLanguageService(), listOf(), DokkaConsoleLogger) @Test fun dropImport() { -- cgit