diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-26 19:08:59 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-26 19:08:59 +0100 |
commit | 146764aca661d51daa298c7cfe6b9b5efcff7e5f (patch) | |
tree | 8379c830a61ffa9a879e29405c83847b552aa028 /test/src/format | |
parent | 1e74c644b1163948c389dd9082e0cba60ab5ed65 (diff) | |
download | dokka-146764aca661d51daa298c7cfe6b9b5efcff7e5f.tar.gz dokka-146764aca661d51daa298c7cfe6b9b5efcff7e5f.tar.bz2 dokka-146764aca661d51daa298c7cfe6b9b5efcff7e5f.zip |
stop generating separate pages for property accessors
Diffstat (limited to 'test/src/format')
-rw-r--r-- | test/src/format/MarkdownFormatTest.kt | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/test/src/format/MarkdownFormatTest.kt b/test/src/format/MarkdownFormatTest.kt index 7e379cf9..4b207b75 100644 --- a/test/src/format/MarkdownFormatTest.kt +++ b/test/src/format/MarkdownFormatTest.kt @@ -83,13 +83,9 @@ public class MarkdownFormatTest { } Test fun accessor() { - verifyOutput("test/data/format/accessor.kt", ".get.md") { model, output -> - val propertyNode = model.members.single().members.first { it.name == "C" }.members.first { it.name == "x" } - markdownService.appendNodes(tempLocation, output, listOf(propertyNode.members[0])) - } - verifyOutput("test/data/format/accessor.kt", ".set.md") { model, output -> - val propertyNode = model.members.single().members.first { it.name == "C" }.members.first { it.name == "x" } - markdownService.appendNodes(tempLocation, output, listOf(propertyNode.members[1])) + verifyOutput("test/data/format/accessor.kt", ".md") { model, output -> + val propertyNode = model.members.single().members.first { it.name == "C" }.members.filter { it.name == "x" } + markdownService.appendNodes(tempLocation, output, propertyNode) } } |