diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-10 18:55:12 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-10 18:55:12 +0100 |
commit | e1a3884fdce26bb28b7580627ffad0d69b8bed61 (patch) | |
tree | d32962bbd572f2fec2e9f513881248a52e43f4c7 /test/src | |
parent | 0d0fc1f2bf8f09106e53626bc024298dc91361b8 (diff) | |
download | dokka-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')
-rw-r--r-- | test/src/format/HtmlFormatTest.kt | 12 |
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) |