aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin/format
diff options
context:
space:
mode:
authorSimon Ogorodnik <sem-oro@yandex.ru>2016-11-28 18:31:56 +0300
committerGitHub <noreply@github.com>2016-11-28 18:31:56 +0300
commite9cf2d779c03e278ddfd5adb0d1c743961d8d07a (patch)
tree9fc3ad76cfe1a3b939258fdc005cdd554fbd2562 /core/src/test/kotlin/format
parent17a9a1774ec10690a031ae7afba5f5cfc59a9f24 (diff)
parent575caeb1cb2a97750f8cc220d3100fc240312671 (diff)
downloaddokka-e9cf2d779c03e278ddfd5adb0d1c743961d8d07a.tar.gz
dokka-e9cf2d779c03e278ddfd5adb0d1c743961d8d07a.tar.bz2
dokka-e9cf2d779c03e278ddfd5adb0d1c743961d8d07a.zip
Merge pull request #114 from Kotlin/0.9.10/typealias
Type alias support
Diffstat (limited to 'core/src/test/kotlin/format')
-rw-r--r--core/src/test/kotlin/format/MarkdownFormatTest.kt7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/src/test/kotlin/format/MarkdownFormatTest.kt b/core/src/test/kotlin/format/MarkdownFormatTest.kt
index 7f0922ba..6e4c44c8 100644
--- a/core/src/test/kotlin/format/MarkdownFormatTest.kt
+++ b/core/src/test/kotlin/format/MarkdownFormatTest.kt
@@ -27,8 +27,6 @@ class MarkdownFormatTest {
verifyMarkdownPackage("annotationClass", withKotlinRuntime = true)
}
- //TODO: Enable after typealias support
- @Ignore("Disabled until we will correctly support typealias")
@Test fun exceptionClass() {
verifyMarkdownNode("exceptionClass", withKotlinRuntime = true)
verifyMarkdownPackage("exceptionClass", withKotlinRuntime = true)
@@ -229,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)