aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin
diff options
context:
space:
mode:
authorPaweł Marks <pmarks@virtuslab.com>2020-02-27 10:50:48 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-02-27 10:51:51 +0100
commit16163f30353a6a17d3c038c5ec1f00c5b32f1f80 (patch)
tree1fd29ec9bb8ad96030ed98c7fa12c2357abaaabc /plugins/base/src/test/kotlin
parent1b8cc45335798d0b5921b897cf5eb641e55f316d (diff)
downloaddokka-16163f30353a6a17d3c038c5ec1f00c5b32f1f80.tar.gz
dokka-16163f30353a6a17d3c038c5ec1f00c5b32f1f80.tar.bz2
dokka-16163f30353a6a17d3c038c5ec1f00c5b32f1f80.zip
Small adjustments to the new model
Diffstat (limited to 'plugins/base/src/test/kotlin')
-rw-r--r--plugins/base/src/test/kotlin/markdown/KDocTest.kt5
-rw-r--r--plugins/base/src/test/kotlin/multiplatform/BasicMultiplatformTest.kt3
2 files changed, 3 insertions, 5 deletions
diff --git a/plugins/base/src/test/kotlin/markdown/KDocTest.kt b/plugins/base/src/test/kotlin/markdown/KDocTest.kt
index c58c4e30..5099c46f 100644
--- a/plugins/base/src/test/kotlin/markdown/KDocTest.kt
+++ b/plugins/base/src/test/kotlin/markdown/KDocTest.kt
@@ -27,9 +27,8 @@ open class KDocTest : AbstractCoreTest() {
private fun actualDocumentationNode(modulePageNode: ModulePageNode) =
(modulePageNode.documentable?.children?.first() as Package)
- .classlikes.first()
- .platformInfo.first()
- .documentationNode
+ .classlikes.single()
+ .documentation.values.single()
protected fun executeTest(kdoc: String, expectedDocumentationNode: DocumentationNode) {
diff --git a/plugins/base/src/test/kotlin/multiplatform/BasicMultiplatformTest.kt b/plugins/base/src/test/kotlin/multiplatform/BasicMultiplatformTest.kt
index f9431bbb..ae5b4e06 100644
--- a/plugins/base/src/test/kotlin/multiplatform/BasicMultiplatformTest.kt
+++ b/plugins/base/src/test/kotlin/multiplatform/BasicMultiplatformTest.kt
@@ -47,8 +47,7 @@ class BasicMultiplatformTest : AbstractCoreTest() {
configuration
) {
pagesGenerationStage = {
- println(it.dri)
- assertEquals(7, it.parentMap.size)
+ assertEquals(6, it.parentMap.size)
}
}
}