From 0c584d0e12f07946fdfc8cc0e9f132558ff794fc Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Mon, 12 Jan 2015 17:23:07 +0100 Subject: enum values continued --- test/data/format/enumClass.md | 4 ++-- test/data/format/enumClass.value.md | 0 test/src/format/MarkdownFormatTest.kt | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 test/data/format/enumClass.value.md (limited to 'test') 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 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])) + } } } -- cgit