diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2016-07-08 12:55:26 +0200 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2016-07-08 12:55:26 +0200 |
commit | 95a606f54604d673a8bda00f19dae81463925475 (patch) | |
tree | 94979d9f7eac102a8254f170a39a860c7df1e2ba /core/src/test/kotlin/format | |
parent | 0f65cf0e4ce531715b76ac32a36a3dff488b2d70 (diff) | |
download | dokka-95a606f54604d673a8bda00f19dae81463925475.tar.gz dokka-95a606f54604d673a8bda00f19dae81463925475.tar.bz2 dokka-95a606f54604d673a8bda00f19dae81463925475.zip |
update Kotlin compiler and kotlin-ide-common to 1.0.4-dev-13, fixing the qualified name resolve problem in doc comments
Diffstat (limited to 'core/src/test/kotlin/format')
-rw-r--r-- | core/src/test/kotlin/format/MarkdownFormatTest.kt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/src/test/kotlin/format/MarkdownFormatTest.kt b/core/src/test/kotlin/format/MarkdownFormatTest.kt index 864fb9d1..496972a6 100644 --- a/core/src/test/kotlin/format/MarkdownFormatTest.kt +++ b/core/src/test/kotlin/format/MarkdownFormatTest.kt @@ -218,6 +218,10 @@ class MarkdownFormatTest { verifyMarkdownNodeByName("backtickInCodeBlock", "foo") } + @Test fun qualifiedNameLink() { + verifyMarkdownNodeByName("qualifiedNameLink", "foo", withKotlinRuntime = true) + } + 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) @@ -244,8 +248,8 @@ class MarkdownFormatTest { } } - private fun verifyMarkdownNodeByName(fileName: String, name: String) { - verifyMarkdownNodes(fileName) { model-> + private fun verifyMarkdownNodeByName(fileName: String, name: String, withKotlinRuntime: Boolean = false) { + verifyMarkdownNodes(fileName, withKotlinRuntime) { model-> val nodesWithName = model.members.single().members.filter { it.name == name } if (nodesWithName.isEmpty()) { throw IllegalArgumentException("Found no nodes named $name") |