diff options
| author | Marcin Aman <maman@virtuslab.com> | 2020-05-31 21:02:46 +0200 |
|---|---|---|
| committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-06-09 17:18:17 +0200 |
| commit | 77c8777b7f66bddd374d68decd507547d356d602 (patch) | |
| tree | f941a53d1591c56edd454ef40068e831a4ed9d48 /plugins/base/src/test/kotlin/content/params | |
| parent | 902b670bc764a6db4f49f96d08f2115dd08bdf9b (diff) | |
| download | dokka-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/params')
| -rw-r--r-- | plugins/base/src/test/kotlin/content/params/ContentForParamsTest.kt | 146 |
1 files changed, 73 insertions, 73 deletions
diff --git a/plugins/base/src/test/kotlin/content/params/ContentForParamsTest.kt b/plugins/base/src/test/kotlin/content/params/ContentForParamsTest.kt index 31f62918..e25567e0 100644 --- a/plugins/base/src/test/kotlin/content/params/ContentForParamsTest.kt +++ b/plugins/base/src/test/kotlin/content/params/ContentForParamsTest.kt @@ -77,6 +77,9 @@ class ContentForParamsTest : AbstractCoreTest() { } divergentGroup { divergentInstance { + before { + pWrapped("comment to function") + } divergent { bareSignature( emptyMap(), @@ -88,9 +91,6 @@ class ContentForParamsTest : AbstractCoreTest() { "abc" to ParamAttributes(emptyMap(), emptySet(), "String") ) } - after { - pWrapped("comment to function") - } } } } @@ -122,6 +122,10 @@ class ContentForParamsTest : AbstractCoreTest() { } divergentGroup { divergentInstance { + before { + unnamedTag("Author") { +"Kordyjan" } + unnamedTag("Since") { +"0.11" } + } divergent { bareSignature( emptyMap(), @@ -133,10 +137,6 @@ class ContentForParamsTest : AbstractCoreTest() { "abc" to ParamAttributes(emptyMap(), emptySet(), "String") ) } - after { - unnamedTag("Author") { +"Kordyjan" } - unnamedTag("Since") { +"0.11" } - } } } } @@ -169,6 +169,11 @@ class ContentForParamsTest : AbstractCoreTest() { } divergentGroup { divergentInstance { + before { + pWrapped("comment to function") + unnamedTag("Author") { +"Kordyjan" } + unnamedTag("Since") { +"0.11" } + } divergent { bareSignature( emptyMap(), @@ -180,11 +185,6 @@ class ContentForParamsTest : AbstractCoreTest() { "abc" to ParamAttributes(emptyMap(), emptySet(), "String") ) } - after { - pWrapped("comment to function") - unnamedTag("Author") { +"Kordyjan" } - unnamedTag("Since") { +"0.11" } - } } } } @@ -216,18 +216,7 @@ class ContentForParamsTest : AbstractCoreTest() { } divergentGroup { divergentInstance { - divergent { - bareSignature( - emptyMap(), - "", - "", - emptySet(), - "function", - null, - "abc" to ParamAttributes(emptyMap(), emptySet(), "String") - ) - } - after { + before { pWrapped("comment to function") header(2) { +"Parameters" } group { @@ -241,6 +230,17 @@ class ContentForParamsTest : AbstractCoreTest() { } } } + divergent { + bareSignature( + emptyMap(), + "", + "", + emptySet(), + "function", + null, + "abc" to ParamAttributes(emptyMap(), emptySet(), "String") + ) + } } } } @@ -274,15 +274,7 @@ class ContentForParamsTest : AbstractCoreTest() { } divergentGroup { divergentInstance { - divergent { - bareSignature( - emptyMap(), "", "", emptySet(), "function", null, - "first" to ParamAttributes(emptyMap(), emptySet(), "String"), - "second" to ParamAttributes(emptyMap(), emptySet(), "Int"), - "third" to ParamAttributes(emptyMap(), emptySet(), "Double") - ) - } - after { + before { pWrapped("comment to function") header(2) { +"Parameters" } group { @@ -304,6 +296,14 @@ class ContentForParamsTest : AbstractCoreTest() { } } } + divergent { + bareSignature( + emptyMap(), "", "", emptySet(), "function", null, + "first" to ParamAttributes(emptyMap(), emptySet(), "String"), + "second" to ParamAttributes(emptyMap(), emptySet(), "Int"), + "third" to ParamAttributes(emptyMap(), emptySet(), "Double") + ) + } } } } @@ -336,15 +336,7 @@ class ContentForParamsTest : AbstractCoreTest() { } divergentGroup { divergentInstance { - divergent { - bareSignature( - emptyMap(), "", "", emptySet(), "function", null, - "first" to ParamAttributes(emptyMap(), emptySet(), "String"), - "second" to ParamAttributes(emptyMap(), emptySet(), "Int"), - "third" to ParamAttributes(emptyMap(), emptySet(), "Double") - ) - } - after { + before { header(2) { +"Parameters" } group { platformHinted { @@ -365,6 +357,14 @@ class ContentForParamsTest : AbstractCoreTest() { } } } + divergent { + bareSignature( + emptyMap(), "", "", emptySet(), "function", null, + "first" to ParamAttributes(emptyMap(), emptySet(), "String"), + "second" to ParamAttributes(emptyMap(), emptySet(), "Int"), + "third" to ParamAttributes(emptyMap(), emptySet(), "Double") + ) + } } } } @@ -397,19 +397,7 @@ class ContentForParamsTest : AbstractCoreTest() { } divergentGroup { divergentInstance { - divergent { - bareSignatureWithReceiver( - emptyMap(), - "", - "", - emptySet(), - "String", - "function", - null, - "abc" to ParamAttributes(emptyMap(), emptySet(), "String") - ) - } - after { + before { pWrapped("comment to function") header(2) { +"Parameters" } group { @@ -427,6 +415,18 @@ class ContentForParamsTest : AbstractCoreTest() { } } } + divergent { + bareSignatureWithReceiver( + emptyMap(), + "", + "", + emptySet(), + "String", + "function", + null, + "abc" to ParamAttributes(emptyMap(), emptySet(), "String") + ) + } } } } @@ -459,15 +459,7 @@ class ContentForParamsTest : AbstractCoreTest() { } divergentGroup { divergentInstance { - divergent { - bareSignature( - emptyMap(), "", "", emptySet(), "function", null, - "first" to ParamAttributes(emptyMap(), emptySet(), "String"), - "second" to ParamAttributes(emptyMap(), emptySet(), "Int"), - "third" to ParamAttributes(emptyMap(), emptySet(), "Double") - ) - } - after { + before { pWrapped("comment to function") header(2) { +"Parameters" } group { @@ -485,6 +477,14 @@ class ContentForParamsTest : AbstractCoreTest() { } } } + divergent { + bareSignature( + emptyMap(), "", "", emptySet(), "function", null, + "first" to ParamAttributes(emptyMap(), emptySet(), "String"), + "second" to ParamAttributes(emptyMap(), emptySet(), "Int"), + "third" to ParamAttributes(emptyMap(), emptySet(), "Double") + ) + } } } } @@ -520,15 +520,7 @@ class ContentForParamsTest : AbstractCoreTest() { } divergentGroup { divergentInstance { - divergent { - bareSignature( - emptyMap(), "", "", emptySet(), "function", null, - "first" to ParamAttributes(emptyMap(), emptySet(), "String"), - "second" to ParamAttributes(emptyMap(), emptySet(), "Int"), - "third" to ParamAttributes(emptyMap(), emptySet(), "Double") - ) - } - after { + before { pWrapped("comment to function") unnamedTag("Author") { +"Kordyjan" } unnamedTag("Since") { +"0.11" } @@ -553,6 +545,14 @@ class ContentForParamsTest : AbstractCoreTest() { } } } + divergent { + bareSignature( + emptyMap(), "", "", emptySet(), "function", null, + "first" to ParamAttributes(emptyMap(), emptySet(), "String"), + "second" to ParamAttributes(emptyMap(), emptySet(), "Int"), + "third" to ParamAttributes(emptyMap(), emptySet(), "Double") + ) + } } } } |
