aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin/format
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-17 22:06:53 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-24 20:15:50 +0300
commit4b86a1410d0427178132c07f6f04033645663bb0 (patch)
tree0df16b5c6c9e5c6a33e0d021e7a5706d9eb6980b /core/src/test/kotlin/format
parentd769c4db3fdd0f2075fdfb2f9109327f3b1ef386 (diff)
downloaddokka-4b86a1410d0427178132c07f6f04033645663bb0.tar.gz
dokka-4b86a1410d0427178132c07f6f04033645663bb0.tar.bz2
dokka-4b86a1410d0427178132c07f6f04033645663bb0.zip
Fixup, added some type alias rendering tests
Diffstat (limited to 'core/src/test/kotlin/format')
-rw-r--r--core/src/test/kotlin/format/MarkdownFormatTest.kt5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/test/kotlin/format/MarkdownFormatTest.kt b/core/src/test/kotlin/format/MarkdownFormatTest.kt
index c9f86503..6e4c44c8 100644
--- a/core/src/test/kotlin/format/MarkdownFormatTest.kt
+++ b/core/src/test/kotlin/format/MarkdownFormatTest.kt
@@ -227,6 +227,11 @@ class MarkdownFormatTest {
verifyMarkdownNodeByName("qualifiedNameLink", "foo", withKotlinRuntime = true)
}
+ @Test fun typeAliases() {
+ verifyMarkdownNode("typeAliases")
+ verifyMarkdownPackage("typeAliases")
+ }
+
private fun verifyMarkdownPackage(fileName: String, withKotlinRuntime: Boolean = false) {
verifyOutput("testdata/format/$fileName.kt", ".package.md", withKotlinRuntime = withKotlinRuntime) { model, output ->
markdownService.createOutputBuilder(output, tempLocation).appendNodes(model.members)