diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-01-14 20:32:06 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-01-14 20:32:06 +0100 |
commit | 555caef67698f6932217419fe63a040cc0aeb822 (patch) | |
tree | 327f04c793e2a6fc11af3e006aa635c933d51bf8 /test/src/format | |
parent | 807451f9ad9664e7b26cc50c4f08a2a9bf3be538 (diff) | |
parent | 03d942bb95cf1064488ba2c14d9455c19f9c922e (diff) | |
download | dokka-555caef67698f6932217419fe63a040cc0aeb822.tar.gz dokka-555caef67698f6932217419fe63a040cc0aeb822.tar.bz2 dokka-555caef67698f6932217419fe63a040cc0aeb822.zip |
Merge branch 'accessor-signature'
Conflicts:
test/src/format/MarkdownFormatTest.kt
Diffstat (limited to 'test/src/format')
-rw-r--r-- | test/src/format/MarkdownFormatTest.kt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/src/format/MarkdownFormatTest.kt b/test/src/format/MarkdownFormatTest.kt index 5a4bacb2..efde3139 100644 --- a/test/src/format/MarkdownFormatTest.kt +++ b/test/src/format/MarkdownFormatTest.kt @@ -81,4 +81,15 @@ public class MarkdownFormatTest { markdownService.appendNodes(tempLocation, output, model.members.single().members) } } + + 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])) + } + } } |