From de2426cf595e69bb3ee8e7aaadadbc11c40fbc0b Mon Sep 17 00:00:00 2001 From: vmishenev Date: Thu, 24 Aug 2023 23:57:11 +0300 Subject: [PATCH] Mute extra tests --- .../src/test/kotlin/translators/JavadocInheritDocsTest.kt | 1 + plugins/base/src/test/kotlin/translators/JavadocParserTest.kt | 4 ++-- plugins/base/src/test/kotlin/utils/TagsAnnotations.kt | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/base/src/test/kotlin/translators/JavadocInheritDocsTest.kt b/plugins/base/src/test/kotlin/translators/JavadocInheritDocsTest.kt index 04dbb950bd..a357491fb5 100644 --- a/plugins/base/src/test/kotlin/translators/JavadocInheritDocsTest.kt +++ b/plugins/base/src/test/kotlin/translators/JavadocInheritDocsTest.kt @@ -10,6 +10,7 @@ import org.junit.jupiter.api.Disabled import org.junit.jupiter.api.Test import utils.JavaCode +@JavaCode class JavadocInheritDocsTest : BaseAbstractTest() { val configuration = dokkaConfiguration { sourceSets { diff --git a/plugins/base/src/test/kotlin/translators/JavadocParserTest.kt b/plugins/base/src/test/kotlin/translators/JavadocParserTest.kt index f895cc08df..8bc307dff3 100644 --- a/plugins/base/src/test/kotlin/translators/JavadocParserTest.kt +++ b/plugins/base/src/test/kotlin/translators/JavadocParserTest.kt @@ -9,9 +9,10 @@ import org.jetbrains.dokka.model.firstChildOfType import org.jetbrains.dokka.model.firstMemberOfType import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test -import utils.UsingJDK +import utils.JavaCode import utils.text +@JavaCode class JavadocParserTest : BaseAbstractTest() { private fun performJavadocTest(testOperation: (DModule) -> Unit) { @@ -160,7 +161,6 @@ class JavadocParserTest : BaseAbstractTest() { } } - @UsingJDK @Test fun `correctly parsed see tags`() { performJavadocTest { module -> diff --git a/plugins/base/src/test/kotlin/utils/TagsAnnotations.kt b/plugins/base/src/test/kotlin/utils/TagsAnnotations.kt index f28e66a975..181d1f1d08 100644 --- a/plugins/base/src/test/kotlin/utils/TagsAnnotations.kt +++ b/plugins/base/src/test/kotlin/utils/TagsAnnotations.kt @@ -55,7 +55,7 @@ annotation class OnlyDescriptorsMPP(val reason: String = "") annotation class JavaCode /** - * For test using JDK + * For Kotlin test using JDK * These tests are disabled in K2 due to Standlone prototype. https://github.com/Kotlin/dokka/issues/3114 */ @Target(