diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-03-03 19:35:56 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-03-03 19:35:56 +0100 |
commit | 6659337410225b813ea902bfa4b2e5ba3c2c1aaa (patch) | |
tree | 3c3679f01bca4497f800a371e42681246843d5d3 /test/src/format | |
parent | e961960934e2f43cdfc6ad63126c005866a60003 (diff) | |
download | dokka-6659337410225b813ea902bfa4b2e5ba3c2c1aaa.tar.gz dokka-6659337410225b813ea902bfa4b2e5ba3c2c1aaa.tar.bz2 dokka-6659337410225b813ea902bfa4b2e5ba3c2c1aaa.zip |
support ordered lists
Diffstat (limited to 'test/src/format')
-rw-r--r-- | test/src/format/HtmlFormatTest.kt | 6 | ||||
-rw-r--r-- | test/src/format/MarkdownFormatTest.kt | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/test/src/format/HtmlFormatTest.kt b/test/src/format/HtmlFormatTest.kt index c81b2d85..66eefe93 100644 --- a/test/src/format/HtmlFormatTest.kt +++ b/test/src/format/HtmlFormatTest.kt @@ -123,4 +123,10 @@ public class HtmlFormatTest { htmlService.appendNodes(tempLocation, output, model.members.single().members.filter { it.name == "Bar" }) } } + + Test fun orderedList() { + verifyOutput("test/data/format/orderedList.kt", ".html") { model, output -> + htmlService.appendNodes(tempLocation, output, model.members.single().members.filter { it.name == "Bar" }) + } + } } diff --git a/test/src/format/MarkdownFormatTest.kt b/test/src/format/MarkdownFormatTest.kt index 31ffc3cf..33718e87 100644 --- a/test/src/format/MarkdownFormatTest.kt +++ b/test/src/format/MarkdownFormatTest.kt @@ -154,4 +154,10 @@ public class MarkdownFormatTest { markdownService.appendNodes(tempLocation, output, model.members.single().members.single { it.name == "C" }.members.filter { it.name == "plus" }) } } + + Test fun javadocOrderedLIst() { + verifyOutput("test/data/format/javadocOrderedList.java", ".md") { model, output -> + markdownService.appendNodes(tempLocation, output, model.members.single().members.filter { it.name == "Bar" }) + } + } } |