aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/content/seealso
diff options
context:
space:
mode:
authorMarcin Aman <maman@virtuslab.com>2020-05-31 21:02:46 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-06-09 17:18:17 +0200
commit77c8777b7f66bddd374d68decd507547d356d602 (patch)
treef941a53d1591c56edd454ef40068e831a4ed9d48 /plugins/base/src/test/kotlin/content/seealso
parent902b670bc764a6db4f49f96d08f2115dd08bdf9b (diff)
downloaddokka-77c8777b7f66bddd374d68decd507547d356d602.tar.gz
dokka-77c8777b7f66bddd374d68decd507547d356d602.tar.bz2
dokka-77c8777b7f66bddd374d68decd507547d356d602.zip
Improve CSS, pages navigation tree and create anchors on page
Diffstat (limited to 'plugins/base/src/test/kotlin/content/seealso')
-rw-r--r--plugins/base/src/test/kotlin/content/seealso/ContentForSeeAlsoTest.kt170
1 files changed, 85 insertions, 85 deletions
diff --git a/plugins/base/src/test/kotlin/content/seealso/ContentForSeeAlsoTest.kt b/plugins/base/src/test/kotlin/content/seealso/ContentForSeeAlsoTest.kt
index 94288f75..c9adc0bf 100644
--- a/plugins/base/src/test/kotlin/content/seealso/ContentForSeeAlsoTest.kt
+++ b/plugins/base/src/test/kotlin/content/seealso/ContentForSeeAlsoTest.kt
@@ -36,7 +36,7 @@ class ContentForSeeAlsoTest : AbstractCoreTest() {
val page = module.children.single { it.name == "test" }
.children.single { it.name == "function" } as ContentPage
page.content.assertNode {
- group{
+ group {
header(1) { +"function" }
}
divergentGroup {
@@ -82,18 +82,7 @@ class ContentForSeeAlsoTest : AbstractCoreTest() {
}
divergentGroup {
divergentInstance {
- divergent {
- bareSignature(
- emptyMap(),
- "",
- "",
- emptySet(),
- "function",
- null,
- "abc" to ParamAttributes(emptyMap(), emptySet(), "String")
- )
- }
- after {
+ before {
header(2) { +"See also" }
group {
platformHinted {
@@ -107,6 +96,17 @@ class ContentForSeeAlsoTest : AbstractCoreTest() {
}
}
}
+ divergent {
+ bareSignature(
+ emptyMap(),
+ "",
+ "",
+ emptySet(),
+ "function",
+ null,
+ "abc" to ParamAttributes(emptyMap(), emptySet(), "String")
+ )
+ }
}
}
}
@@ -137,18 +137,7 @@ class ContentForSeeAlsoTest : AbstractCoreTest() {
}
divergentGroup {
divergentInstance {
- divergent {
- bareSignature(
- emptyMap(),
- "",
- "",
- emptySet(),
- "function",
- null,
- "abc" to ParamAttributes(emptyMap(), emptySet(), "String")
- )
- }
- after {
+ before {
header(2) { +"See also" }
group {
platformHinted {
@@ -162,6 +151,17 @@ class ContentForSeeAlsoTest : AbstractCoreTest() {
}
}
}
+ divergent {
+ bareSignature(
+ emptyMap(),
+ "",
+ "",
+ emptySet(),
+ "function",
+ null,
+ "abc" to ParamAttributes(emptyMap(), emptySet(), "String")
+ )
+ }
}
}
}
@@ -192,18 +192,7 @@ class ContentForSeeAlsoTest : AbstractCoreTest() {
}
divergentGroup {
divergentInstance {
- divergent {
- bareSignature(
- emptyMap(),
- "",
- "",
- emptySet(),
- "function",
- null,
- "abc" to ParamAttributes(emptyMap(), emptySet(), "String")
- )
- }
- after {
+ before {
header(2) { +"See also" }
group {
platformHinted {
@@ -217,6 +206,17 @@ class ContentForSeeAlsoTest : AbstractCoreTest() {
}
}
}
+ divergent {
+ bareSignature(
+ emptyMap(),
+ "",
+ "",
+ emptySet(),
+ "function",
+ null,
+ "abc" to ParamAttributes(emptyMap(), emptySet(), "String")
+ )
+ }
}
}
}
@@ -247,18 +247,7 @@ class ContentForSeeAlsoTest : AbstractCoreTest() {
}
divergentGroup {
divergentInstance {
- divergent {
- bareSignature(
- emptyMap(),
- "",
- "",
- emptySet(),
- "function",
- null,
- "abc" to ParamAttributes(emptyMap(), emptySet(), "String")
- )
- }
- after {
+ before {
header(2) { +"See also" }
group {
platformHinted {
@@ -272,6 +261,17 @@ class ContentForSeeAlsoTest : AbstractCoreTest() {
}
}
}
+ divergent {
+ bareSignature(
+ emptyMap(),
+ "",
+ "",
+ emptySet(),
+ "function",
+ null,
+ "abc" to ParamAttributes(emptyMap(), emptySet(), "String")
+ )
+ }
}
}
}
@@ -305,18 +305,7 @@ class ContentForSeeAlsoTest : AbstractCoreTest() {
}
divergentGroup {
divergentInstance {
- divergent {
- bareSignature(
- emptyMap(),
- "",
- "",
- emptySet(),
- "function",
- null,
- "abc" to ParamAttributes(emptyMap(), emptySet(), "String")
- )
- }
- after {
+ before {
pWrapped("random comment")
unnamedTag("Author") { +"pikinier20" }
unnamedTag("Since") { +"0.11" }
@@ -334,6 +323,17 @@ class ContentForSeeAlsoTest : AbstractCoreTest() {
}
}
}
+ divergent {
+ bareSignature(
+ emptyMap(),
+ "",
+ "",
+ emptySet(),
+ "function",
+ null,
+ "abc" to ParamAttributes(emptyMap(), emptySet(), "String")
+ )
+ }
}
}
}
@@ -365,18 +365,7 @@ class ContentForSeeAlsoTest : AbstractCoreTest() {
}
divergentGroup {
divergentInstance {
- divergent {
- bareSignature(
- emptyMap(),
- "",
- "",
- emptySet(),
- "function",
- null,
- "abc" to ParamAttributes(emptyMap(), emptySet(), "String")
- )
- }
- after {
+ before {
header(2) { +"See also" }
group {
platformHinted {
@@ -390,6 +379,17 @@ class ContentForSeeAlsoTest : AbstractCoreTest() {
}
}
}
+ divergent {
+ bareSignature(
+ emptyMap(),
+ "",
+ "",
+ emptySet(),
+ "function",
+ null,
+ "abc" to ParamAttributes(emptyMap(), emptySet(), "String")
+ )
+ }
}
}
}
@@ -421,18 +421,7 @@ class ContentForSeeAlsoTest : AbstractCoreTest() {
}
divergentGroup {
divergentInstance {
- divergent {
- bareSignature(
- emptyMap(),
- "",
- "",
- emptySet(),
- "function",
- null,
- "abc" to ParamAttributes(emptyMap(), emptySet(), "String")
- )
- }
- after {
+ before {
header(2) { +"See also" }
group {
platformHinted {
@@ -451,6 +440,17 @@ class ContentForSeeAlsoTest : AbstractCoreTest() {
}
}
}
+ divergent {
+ bareSignature(
+ emptyMap(),
+ "",
+ "",
+ emptySet(),
+ "function",
+ null,
+ "abc" to ParamAttributes(emptyMap(), emptySet(), "String")
+ )
+ }
}
}
}