aboutsummaryrefslogtreecommitdiff
path: root/test/src/format/HtmlFormatTest.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2014-12-30 12:36:14 +0100
committerDmitry Jemerov <yole@jetbrains.com>2014-12-30 12:36:14 +0100
commit8ef68182c02d8ec8fc33d0de0b7fcdef183e7ee7 (patch)
tree72f9e6821593a698c70e8ea6afff173b20338649 /test/src/format/HtmlFormatTest.kt
parent2016ba9a4c6fbd1cc1644eff6d7ac606d624bd23 (diff)
downloaddokka-8ef68182c02d8ec8fc33d0de0b7fcdef183e7ee7.tar.gz
dokka-8ef68182c02d8ec8fc33d0de0b7fcdef183e7ee7.tar.bz2
dokka-8ef68182c02d8ec8fc33d0de0b7fcdef183e7ee7.zip
more correct formatting of Markdown tables
Diffstat (limited to 'test/src/format/HtmlFormatTest.kt')
-rw-r--r--test/src/format/HtmlFormatTest.kt15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/src/format/HtmlFormatTest.kt b/test/src/format/HtmlFormatTest.kt
new file mode 100644
index 00000000..758c6e7b
--- /dev/null
+++ b/test/src/format/HtmlFormatTest.kt
@@ -0,0 +1,15 @@
+package org.jetbrains.dokka.tests
+
+import org.jetbrains.dokka.KotlinLanguageService
+import org.junit.Test
+import org.jetbrains.dokka.HtmlFormatService
+
+public class HtmlFormatTest {
+ private val htmlService = HtmlFormatService(InMemoryLocationService, KotlinLanguageService())
+
+ Test fun classWithClassObject() {
+ verifyOutput("test/data/format/classWithClassObject.kt", ".html") { model, output ->
+ htmlService.appendNodes(tempLocation, output, model.members.single().members)
+ }
+ }
+}