aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/content/seealso/ContentForSeeAlsoTest.kt
diff options
context:
space:
mode:
authorvmishenev <vad-mishenev@yandex.ru>2021-11-12 04:43:25 +0300
committerGitHub <noreply@github.com>2021-11-12 04:43:25 +0300
commit4a1b8a981389a0459284ba62aa5d00cc0d44e454 (patch)
treed7919e5ae7e7a5f619fd2b731e379194f5b1cc88 /plugins/base/src/test/kotlin/content/seealso/ContentForSeeAlsoTest.kt
parentd5f91fcb5ae6b232c37bb51022d015673ea1a0d1 (diff)
downloaddokka-4a1b8a981389a0459284ba62aa5d00cc0d44e454.tar.gz
dokka-4a1b8a981389a0459284ba62aa5d00cc0d44e454.tar.bz2
dokka-4a1b8a981389a0459284ba62aa5d00cc0d44e454.zip
Unite platforms bookmarks rows (#2219)
Diffstat (limited to 'plugins/base/src/test/kotlin/content/seealso/ContentForSeeAlsoTest.kt')
-rw-r--r--plugins/base/src/test/kotlin/content/seealso/ContentForSeeAlsoTest.kt103
1 files changed, 46 insertions, 57 deletions
diff --git a/plugins/base/src/test/kotlin/content/seealso/ContentForSeeAlsoTest.kt b/plugins/base/src/test/kotlin/content/seealso/ContentForSeeAlsoTest.kt
index e9a54e87..4096640a 100644
--- a/plugins/base/src/test/kotlin/content/seealso/ContentForSeeAlsoTest.kt
+++ b/plugins/base/src/test/kotlin/content/seealso/ContentForSeeAlsoTest.kt
@@ -99,13 +99,11 @@ class ContentForSeeAlsoTest : BaseAbstractTest() {
after {
header(2) { +"See also" }
group {
- platformHinted {
- table {
- group {
- //DRI should be "test//abc/#/-1/"
- link { +"abc" }
- group { }
- }
+ table {
+ group {
+ //DRI should be "test//abc/#/-1/"
+ link { +"abc" }
+ group { }
}
}
}
@@ -154,14 +152,12 @@ class ContentForSeeAlsoTest : BaseAbstractTest() {
after {
header(2) { +"See also" }
group {
- platformHinted {
- table {
+ table {
+ group {
+ //DRI should be "test//abc/#/-1/"
+ link { +"abc" }
group {
- //DRI should be "test//abc/#/-1/"
- link { +"abc" }
- group {
- group { +"Comment to abc" }
- }
+ group { +"Comment to abc" }
}
}
}
@@ -211,17 +207,18 @@ class ContentForSeeAlsoTest : BaseAbstractTest() {
after {
header(2) { +"See also" }
group {
- platformHinted {
- table {
- group {
- link {
- check {
- assertEquals("kotlin.collections/Collection///PointingToDeclaration/", (this as ContentDRILink).address.toString())
- }
- +"kotlin.collections.Collection"
+ table {
+ group {
+ link {
+ check {
+ assertEquals(
+ "kotlin.collections/Collection///PointingToDeclaration/",
+ (this as ContentDRILink).address.toString()
+ )
}
- group { }
+ +"kotlin.collections.Collection"
}
+ group { }
}
}
}
@@ -270,14 +267,12 @@ class ContentForSeeAlsoTest : BaseAbstractTest() {
after {
header(2) { +"See also" }
group {
- platformHinted {
- table {
+ table {
+ group {
+ //DRI should be "test//abc/#/-1/"
+ link { +"kotlin.collections.Collection" }
group {
- //DRI should be "test//abc/#/-1/"
- link { +"kotlin.collections.Collection" }
- group {
- group { +"Comment to stdliblink" }
- }
+ group { +"Comment to stdliblink" }
}
}
}
@@ -328,20 +323,18 @@ class ContentForSeeAlsoTest : BaseAbstractTest() {
)
}
after {
- group { comment { +"random comment"} }
+ group { comment { +"random comment" } }
unnamedTag("Author") { comment { +"pikinier20" } }
unnamedTag("Since") { comment { +"0.11" } }
header(2) { +"See also" }
group {
- platformHinted {
- table {
+ table {
+ group {
+ //DRI should be "test//abc/#/-1/"
+ link { +"kotlin.collections.Collection" }
group {
- //DRI should be "test//abc/#/-1/"
- link { +"kotlin.collections.Collection" }
- group {
- group { +"Comment to stdliblink" }
- }
+ group { +"Comment to stdliblink" }
}
}
}
@@ -392,14 +385,12 @@ class ContentForSeeAlsoTest : BaseAbstractTest() {
after {
header(2) { +"See also" }
group {
- platformHinted {
- table {
+ table {
+ group {
+ //DRI should be "test//abc/#/-1/"
+ link { +"abc" }
group {
- //DRI should be "test//abc/#/-1/"
- link { +"abc" }
- group {
- group { +"Comment to abc2" }
- }
+ group { +"Comment to abc2" }
}
}
}
@@ -450,21 +441,19 @@ class ContentForSeeAlsoTest : BaseAbstractTest() {
after {
header(2) { +"See also" }
group {
- platformHinted {
- table {
+ table {
+ group {
+ //DRI should be "test//abc/#/-1/"
+ link { +"abc" }
group {
- //DRI should be "test//abc/#/-1/"
- link { +"abc" }
- group {
- group { +"Comment to abc1" }
- }
- }
- group {
- //DRI should be "test//abc/#/-1/"
- link { +"kotlin.collections.Collection" }
- group { group { +"Comment to collection" } }
+ group { +"Comment to abc1" }
}
}
+ group {
+ //DRI should be "test//abc/#/-1/"
+ link { +"kotlin.collections.Collection" }
+ group { group { +"Comment to collection" } }
+ }
}
}
}