aboutsummaryrefslogtreecommitdiff
path: root/test/src/format
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-03-03 19:35:56 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-03-03 19:35:56 +0100
commit6659337410225b813ea902bfa4b2e5ba3c2c1aaa (patch)
tree3c3679f01bca4497f800a371e42681246843d5d3 /test/src/format
parente961960934e2f43cdfc6ad63126c005866a60003 (diff)
downloaddokka-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.kt6
-rw-r--r--test/src/format/MarkdownFormatTest.kt6
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" })
+ }
+ }
}