aboutsummaryrefslogtreecommitdiff
path: root/test/src/format
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-02-10 18:55:12 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-02-10 18:55:12 +0100
commite1a3884fdce26bb28b7580627ffad0d69b8bed61 (patch)
treed32962bbd572f2fec2e9f513881248a52e43f4c7 /test/src/format
parent0d0fc1f2bf8f09106e53626bc024298dc91361b8 (diff)
downloaddokka-e1a3884fdce26bb28b7580627ffad0d69b8bed61.tar.gz
dokka-e1a3884fdce26bb28b7580627ffad0d69b8bed61.tar.bz2
dokka-e1a3884fdce26bb28b7580627ffad0d69b8bed61.zip
more sane handling of overloads: don't duplicate signatures, show all documentation of a group of overloads with exactly the same documentation together
Diffstat (limited to 'test/src/format')
-rw-r--r--test/src/format/HtmlFormatTest.kt12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/src/format/HtmlFormatTest.kt b/test/src/format/HtmlFormatTest.kt
index 7dfa80be..53c1a39d 100644
--- a/test/src/format/HtmlFormatTest.kt
+++ b/test/src/format/HtmlFormatTest.kt
@@ -25,6 +25,18 @@ public class HtmlFormatTest {
}
}
+ Test fun overloadsWithDescription() {
+ verifyOutput("test/data/format/overloadsWithDescription.kt", ".html") { model, output ->
+ htmlService.appendNodes(tempLocation, output, model.members.single().members)
+ }
+ }
+
+ Test fun overloadsWithDifferentDescriptions() {
+ verifyOutput("test/data/format/overloadsWithDifferentDescriptions.kt", ".html") { model, output ->
+ htmlService.appendNodes(tempLocation, output, model.members.single().members)
+ }
+ }
+
Test fun deprecated() {
verifyOutput("test/data/format/deprecated.kt", ".package.html") { model, output ->
htmlService.appendNodes(tempLocation, output, model.members)