aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/test/kotlin')
-rw-r--r--plugins/base/src/test/kotlin/content/annotations/ContentForAnnotationsTest.kt3
-rw-r--r--plugins/base/src/test/kotlin/enums/EnumsTest.kt2
-rw-r--r--plugins/base/src/test/kotlin/model/CommentTest.kt4
3 files changed, 7 insertions, 2 deletions
diff --git a/plugins/base/src/test/kotlin/content/annotations/ContentForAnnotationsTest.kt b/plugins/base/src/test/kotlin/content/annotations/ContentForAnnotationsTest.kt
index f91b82d5..ff4e3024 100644
--- a/plugins/base/src/test/kotlin/content/annotations/ContentForAnnotationsTest.kt
+++ b/plugins/base/src/test/kotlin/content/annotations/ContentForAnnotationsTest.kt
@@ -4,6 +4,7 @@ import matchers.content.*
import org.jetbrains.dokka.pages.ContentPage
import org.jetbrains.dokka.pages.PackagePageNode
import org.jetbrains.dokka.testApi.testRunner.AbstractCoreTest
+import org.junit.jupiter.api.Disabled
import org.junit.jupiter.api.Test
import utils.ParamAttributes
import utils.bareSignature
@@ -72,6 +73,7 @@ class ContentForAnnotationsTest : AbstractCoreTest() {
}
}
+ @Disabled
@Test
fun `property`() {
testInline(
@@ -100,6 +102,7 @@ class ContentForAnnotationsTest : AbstractCoreTest() {
|/src/main/kotlin/test/source.kt
|package test
|
+ |@MustBeDocumented
|@Retention(AnnotationRetention.SOURCE)
|@Target(AnnotationTarget.FIELD)
|annotation class BugReport(
diff --git a/plugins/base/src/test/kotlin/enums/EnumsTest.kt b/plugins/base/src/test/kotlin/enums/EnumsTest.kt
index 125e37e2..7feba710 100644
--- a/plugins/base/src/test/kotlin/enums/EnumsTest.kt
+++ b/plugins/base/src/test/kotlin/enums/EnumsTest.kt
@@ -6,6 +6,7 @@ import org.jetbrains.dokka.model.DEnum
import org.jetbrains.dokka.pages.*
import org.jetbrains.dokka.testApi.testRunner.AbstractCoreTest
import org.junit.jupiter.api.Assertions.*
+import org.junit.jupiter.api.Disabled
import org.junit.jupiter.api.Test
import utils.unwrapAnnotation
@@ -176,6 +177,7 @@ class EnumsTest : AbstractCoreTest() {
}
}
+ @Disabled
@Test
fun enumWithAnnotationsOnEntries(){
val configuration = dokkaConfiguration {
diff --git a/plugins/base/src/test/kotlin/model/CommentTest.kt b/plugins/base/src/test/kotlin/model/CommentTest.kt
index b1faa07f..c1da8ee0 100644
--- a/plugins/base/src/test/kotlin/model/CommentTest.kt
+++ b/plugins/base/src/test/kotlin/model/CommentTest.kt
@@ -1,7 +1,7 @@
package model
import org.jetbrains.dokka.model.DProperty
-import org.jetbrains.dokka.model.doc.CustomWrapperTag
+import org.jetbrains.dokka.model.doc.CustomTagWrapper
import org.jetbrains.dokka.model.doc.Text
import org.junit.jupiter.api.Test
import utils.*
@@ -170,7 +170,7 @@ class CommentTest : AbstractModelTest("/src/main/kotlin/comment/Test.kt", "comme
) {
with((this / "comment" / "property").cast<DProperty>()) {
comments() equals "Summary\none: []"
- docs().find { it is CustomWrapperTag && it.name == "one" }.let {
+ docs().find { it is CustomTagWrapper && it.name == "one" }.let {
with(it.assertNotNull("'one' entry")) {
root.children counts 0
root.params.keys counts 0