aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/superFields
diff options
context:
space:
mode:
authorVadim Mishenev <vad-mishenev@yandex.ru>2023-10-24 23:28:10 +0300
committerGitHub <noreply@github.com>2023-10-24 23:28:10 +0300
commitc745f96781522f4b126e64cb6c2bc1b249694d0d (patch)
tree9e50da010ce321711a70152ed111e094ac6947e0 /plugins/base/src/test/kotlin/superFields
parent820e3b7cd449ba06f365eddbf9fe82cbfecc411e (diff)
downloaddokka-c745f96781522f4b126e64cb6c2bc1b249694d0d.tar.gz
dokka-c745f96781522f4b126e64cb6c2bc1b249694d0d.tar.bz2
dokka-c745f96781522f4b126e64cb6c2bc1b249694d0d.zip
[K2] Enable Java tests for symbols (#3203)
Diffstat (limited to 'plugins/base/src/test/kotlin/superFields')
-rw-r--r--plugins/base/src/test/kotlin/superFields/DescriptorSuperPropertiesTest.kt6
-rw-r--r--plugins/base/src/test/kotlin/superFields/PsiSuperFieldsTest.kt2
2 files changed, 3 insertions, 5 deletions
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 {