From c745f96781522f4b126e64cb6c2bc1b249694d0d Mon Sep 17 00:00:00 2001 From: Vadim Mishenev Date: Tue, 24 Oct 2023 23:28:10 +0300 Subject: [K2] Enable Java tests for symbols (#3203) --- .../src/test/kotlin/superFields/DescriptorSuperPropertiesTest.kt | 6 +++--- plugins/base/src/test/kotlin/superFields/PsiSuperFieldsTest.kt | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'plugins/base/src/test/kotlin/superFields') diff --git a/plugins/base/src/test/kotlin/superFields/DescriptorSuperPropertiesTest.kt b/plugins/base/src/test/kotlin/superFields/DescriptorSuperPropertiesTest.kt index d068ad87..8f984485 100644 --- a/plugins/base/src/test/kotlin/superFields/DescriptorSuperPropertiesTest.kt +++ b/plugins/base/src/test/kotlin/superFields/DescriptorSuperPropertiesTest.kt @@ -10,13 +10,12 @@ import org.jetbrains.dokka.links.DRI import org.jetbrains.dokka.model.InheritedMember import org.jetbrains.dokka.model.IsVar import org.jetbrains.dokka.model.KotlinVisibility +import utils.OnlyDescriptors import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.assertNotNull import kotlin.test.assertNull -import utils.JavaCode -@JavaCode class DescriptorSuperPropertiesTest : BaseAbstractTest() { private val commonTestConfiguration = dokkaConfiguration { @@ -145,6 +144,7 @@ class DescriptorSuperPropertiesTest : BaseAbstractTest() { } @Test + @OnlyDescriptors("Incorrect test, see https://github.com/Kotlin/dokka/issues/3128") fun `should have special getter and setter names for boolean property inherited from java`() { testInline( """ @@ -179,7 +179,7 @@ class DescriptorSuperPropertiesTest : BaseAbstractTest() { } } - // incorrect test https://github.com/Kotlin/dokka/issues/3128 + @OnlyDescriptors("Incorrect test, see https://github.com/Kotlin/dokka/issues/3128") @Test fun `kotlin inheriting java should not append anything since field is public api`() { val configuration = dokkaConfiguration { diff --git a/plugins/base/src/test/kotlin/superFields/PsiSuperFieldsTest.kt b/plugins/base/src/test/kotlin/superFields/PsiSuperFieldsTest.kt index 0ea385d7..38f263a6 100644 --- a/plugins/base/src/test/kotlin/superFields/PsiSuperFieldsTest.kt +++ b/plugins/base/src/test/kotlin/superFields/PsiSuperFieldsTest.kt @@ -14,9 +14,7 @@ import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.assertNotNull import kotlin.test.assertNull -import utils.JavaCode -@JavaCode class PsiSuperFieldsTest : BaseAbstractTest() { private val commonTestConfiguration = dokkaConfiguration { -- cgit