aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/content/params
diff options
context:
space:
mode:
authorBłażej Kardyś <bkardys@virtuslab.com>2020-07-17 03:48:03 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-08-11 14:27:44 +0200
commitaeb2014eee704be377c06205d16f60562d2a8cf1 (patch)
treed144b627a0b379bebedf7e015f6d469fea61d0bb /plugins/base/src/test/kotlin/content/params
parent49c9bcc586abb7c78f569526a05fea97da86993d (diff)
downloaddokka-aeb2014eee704be377c06205d16f60562d2a8cf1.tar.gz
dokka-aeb2014eee704be377c06205d16f60562d2a8cf1.tar.bz2
dokka-aeb2014eee704be377c06205d16f60562d2a8cf1.zip
Fixing javadoc comment parser for psi files
Diffstat (limited to 'plugins/base/src/test/kotlin/content/params')
-rw-r--r--plugins/base/src/test/kotlin/content/params/ContentForParamsTest.kt54
1 files changed, 27 insertions, 27 deletions
diff --git a/plugins/base/src/test/kotlin/content/params/ContentForParamsTest.kt b/plugins/base/src/test/kotlin/content/params/ContentForParamsTest.kt
index a9689bc5..4ac5717d 100644
--- a/plugins/base/src/test/kotlin/content/params/ContentForParamsTest.kt
+++ b/plugins/base/src/test/kotlin/content/params/ContentForParamsTest.kt
@@ -86,7 +86,7 @@ class ContentForParamsTest : AbstractCoreTest() {
divergentGroup {
divergentInstance {
before {
- pWrapped("comment to function")
+ group { pWrapped("comment to function") }
}
divergent {
bareSignature(
@@ -131,8 +131,8 @@ class ContentForParamsTest : AbstractCoreTest() {
divergentGroup {
divergentInstance {
before {
- unnamedTag("Author") { +"Kordyjan" }
- unnamedTag("Since") { +"0.11" }
+ unnamedTag("Author") { group { +"Kordyjan" } }
+ unnamedTag("Since") { group { +"0.11" } }
}
divergent {
bareSignature(
@@ -178,9 +178,9 @@ class ContentForParamsTest : AbstractCoreTest() {
divergentGroup {
divergentInstance {
before {
- pWrapped("comment to function")
- unnamedTag("Author") { +"Kordyjan" }
- unnamedTag("Since") { +"0.11" }
+ group { pWrapped("comment to function") }
+ unnamedTag("Author") { group { +"Kordyjan" } }
+ unnamedTag("Since") { group { +"0.11" } }
}
divergent {
bareSignature(
@@ -225,14 +225,14 @@ class ContentForParamsTest : AbstractCoreTest() {
divergentGroup {
divergentInstance {
before {
- pWrapped("comment to function")
+ group { pWrapped("comment to function") }
header(2) { +"Parameters" }
group {
platformHinted {
table {
group {
+"abc"
- group { +"comment to param" }
+ group { group { +"comment to param" } }
}
}
}
@@ -283,22 +283,22 @@ class ContentForParamsTest : AbstractCoreTest() {
divergentGroup {
divergentInstance {
before {
- pWrapped("comment to function")
+ group { group { group { +"comment to function" } } }
header(2) { +"Parameters" }
group {
platformHinted {
table {
group {
+"first"
- group { +"comment to first param" }
+ group { group { +"comment to first param" } }
}
group {
+"second"
- group { +"comment to second param" }
+ group { group { +"comment to second param" } }
}
group {
+"third"
- group { +"comment to third param" }
+ group { group { +"comment to third param" } }
}
}
}
@@ -351,15 +351,15 @@ class ContentForParamsTest : AbstractCoreTest() {
table {
group {
+"first"
- group { +"comment to first param" }
+ group { group { +"comment to first param" } }
}
group {
+"second"
- group { +"comment to second param" }
+ group { group { +"comment to second param" } }
}
group {
+"third"
- group { +"comment to third param" }
+ group { group { +"comment to third param" } }
}
}
}
@@ -406,18 +406,18 @@ class ContentForParamsTest : AbstractCoreTest() {
divergentGroup {
divergentInstance {
before {
- pWrapped("comment to function")
+ group { pWrapped("comment to function") }
header(2) { +"Parameters" }
group {
platformHinted {
table {
group {
+"<receiver>"
- group { +"comment to receiver" }
+ group { group { +"comment to receiver" } }
}
group {
+"abc"
- group { +"comment to param" }
+ group { group { +"comment to param" } }
}
}
}
@@ -468,18 +468,18 @@ class ContentForParamsTest : AbstractCoreTest() {
divergentGroup {
divergentInstance {
before {
- pWrapped("comment to function")
+ group { group { group { +"comment to function" } } }
header(2) { +"Parameters" }
group {
platformHinted {
table {
group {
+"first"
- group { +"comment to first param" }
+ group { group { +"comment to first param" } }
}
group {
+"third"
- group { +"comment to third param" }
+ group { group { +"comment to third param" } }
}
}
}
@@ -529,9 +529,9 @@ class ContentForParamsTest : AbstractCoreTest() {
divergentGroup {
divergentInstance {
before {
- pWrapped("comment to function")
- unnamedTag("Author") { +"Kordyjan" }
- unnamedTag("Since") { +"0.11" }
+ group { pWrapped("comment to function") }
+ unnamedTag("Author") { group { +"Kordyjan" } }
+ unnamedTag("Since") { group { +"0.11" } }
header(2) { +"Parameters" }
group {
@@ -539,15 +539,15 @@ class ContentForParamsTest : AbstractCoreTest() {
table {
group {
+"first"
- group { +"comment to first param" }
+ group { group { +"comment to first param" } }
}
group {
+"second"
- group { +"comment to second param" }
+ group { group { +"comment to second param" } }
}
group {
+"third"
- group { +"comment to third param" }
+ group { group { +"comment to third param" } }
}
}
}