diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-06-04 16:23:34 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-07-14 23:57:13 +0300 |
commit | 23861925232505dbd70344a1d690f2475bb022e8 (patch) | |
tree | f5fab8081b700c9553a4d925de0de70a9ced7b37 /core/src/test/kotlin/TestAPI.kt | |
parent | adee5c45d9b9b47a38fa0124b97c85c8733476e8 (diff) | |
download | dokka-23861925232505dbd70344a1d690f2475bb022e8.tar.gz dokka-23861925232505dbd70344a1d690f2475bb022e8.tar.bz2 dokka-23861925232505dbd70344a1d690f2475bb022e8.zip |
[backport] Introduce option to enable/disable jdk linking
Original: 8e9e768
Diffstat (limited to 'core/src/test/kotlin/TestAPI.kt')
-rw-r--r-- | core/src/test/kotlin/TestAPI.kt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/src/test/kotlin/TestAPI.kt b/core/src/test/kotlin/TestAPI.kt index aeff9284..953e3bab 100644 --- a/core/src/test/kotlin/TestAPI.kt +++ b/core/src/test/kotlin/TestAPI.kt @@ -39,6 +39,7 @@ fun verifyModel(vararg roots: ContentRoot, perPackageOptions = perPackageOptions, generateIndexPages = false, noStdlibLink = noStdlibLink, + noJdkLink = false, cacheRoot = "default", languageVersion = null, apiVersion = null, @@ -269,6 +270,14 @@ fun StringBuilder.appendNode(node: ContentNode): StringBuilder { is ContentBlock -> { appendChildren(node) } + is NodeRenderContent -> { + append("render(") + append(node.node) + append(",") + append(node.mode) + append(")") + } + is ContentSymbol -> { append(node.text) } is ContentEmpty -> { /* nothing */ } else -> throw IllegalStateException("Don't know how to format node $node") } |