diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2017-02-23 19:08:31 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2017-02-23 19:08:31 +0100 |
commit | ff8fdb0bbc4069773424400acfdce36a4e3d6d6a (patch) | |
tree | ced42fb0bc0690191fc8836a47e3a4e19765e563 /core/src/test/kotlin/format | |
parent | 66757b43bb48d52e4fb92d38e9a893ab40d1d63e (diff) | |
download | dokka-ff8fdb0bbc4069773424400acfdce36a4e3d6d6a.tar.gz dokka-ff8fdb0bbc4069773424400acfdce36a4e3d6d6a.tar.bz2 dokka-ff8fdb0bbc4069773424400acfdce36a4e3d6d6a.zip |
Resolve link and generate alltypes only once, not after every platform
Diffstat (limited to 'core/src/test/kotlin/format')
-rw-r--r-- | core/src/test/kotlin/format/MarkdownFormatTest.kt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/src/test/kotlin/format/MarkdownFormatTest.kt b/core/src/test/kotlin/format/MarkdownFormatTest.kt index c09f2624..dc24c8d8 100644 --- a/core/src/test/kotlin/format/MarkdownFormatTest.kt +++ b/core/src/test/kotlin/format/MarkdownFormatTest.kt @@ -267,8 +267,9 @@ class MarkdownFormatTest { private fun buildMultiplePlatforms(path: String): DocumentationModule { val module = DocumentationModule("test") - appendDocumentation(module, contentRootFromPath("testdata/format/$path/jvm.kt"), defaultPlatforms = listOf("JVM")) - appendDocumentation(module, contentRootFromPath("testdata/format/$path/js.kt"), defaultPlatforms = listOf("JS")) + val options = DocumentationOptions("", "html", generateIndexPages = false) + appendDocumentation(module, contentRootFromPath("testdata/format/$path/jvm.kt"), defaultPlatforms = listOf("JVM"), options = options) + appendDocumentation(module, contentRootFromPath("testdata/format/$path/js.kt"), defaultPlatforms = listOf("JS"), options = options) return module } |