diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-01-12 17:23:07 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-01-12 17:23:07 +0100 |
commit | 0c584d0e12f07946fdfc8cc0e9f132558ff794fc (patch) | |
tree | e91219e900010aae0cfc0a95499ddd5650f201e7 /test | |
parent | c4f40a03404641a9a42e6518cb066f2e0ae609e0 (diff) | |
download | dokka-0c584d0e12f07946fdfc8cc0e9f132558ff794fc.tar.gz dokka-0c584d0e12f07946fdfc8cc0e9f132558ff794fc.tar.bz2 dokka-0c584d0e12f07946fdfc8cc0e9f132558ff794fc.zip |
enum values continued
Diffstat (limited to 'test')
-rw-r--r-- | test/data/format/enumClass.md | 4 | ||||
-rw-r--r-- | test/data/format/enumClass.value.md | 0 | ||||
-rw-r--r-- | test/src/format/MarkdownFormatTest.kt | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/test/data/format/enumClass.md b/test/data/format/enumClass.md index 1f2df115..e1c4144e 100644 --- a/test/data/format/enumClass.md +++ b/test/data/format/enumClass.md @@ -20,6 +20,6 @@ public enum class InlineOption ### Enum Values -| [LOCAL_CONTINUE_AND_BREAK](out.md) | `public enum val LOCAL_CONTINUE_AND_BREAK : [InlineOption](out.md)` | -| [ONLY_LOCAL_RETURN](out.md) | `public enum val ONLY_LOCAL_RETURN : [InlineOption](out.md)` | +| [LOCAL_CONTINUE_AND_BREAK](out.md) | `` | +| [ONLY_LOCAL_RETURN](out.md) | `` | diff --git a/test/data/format/enumClass.value.md b/test/data/format/enumClass.value.md new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/test/data/format/enumClass.value.md diff --git a/test/src/format/MarkdownFormatTest.kt b/test/src/format/MarkdownFormatTest.kt index 8cb6091f..1b8b1cc0 100644 --- a/test/src/format/MarkdownFormatTest.kt +++ b/test/src/format/MarkdownFormatTest.kt @@ -51,5 +51,9 @@ public class MarkdownFormatTest { verifyOutput("test/data/format/enumClass.kt", ".md") { model, output -> markdownService.appendNodes(tempLocation, output, model.members.single().members) } + verifyOutput("test/data/format/enumClass.kt", ".value.md") { model, output -> + val documentationNode = model.members.single() + markdownService.appendNodes(tempLocation, output, listOf(documentationNode.members[0].members[1])) + } } } |