diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-16 12:00:07 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-16 12:05:17 +0100 |
commit | c11ae71c3fdad03f1ba0624ca693b34782f1e6e9 (patch) | |
tree | 0e1e8bf34e45fe2c332f05c766f4b15a194a2c87 /test/src | |
parent | 902aeb158001473aa2d8d011c1e8e584163c5edd (diff) | |
download | dokka-c11ae71c3fdad03f1ba0624ca693b34782f1e6e9.tar.gz dokka-c11ae71c3fdad03f1ba0624ca693b34782f1e6e9.tar.bz2 dokka-c11ae71c3fdad03f1ba0624ca693b34782f1e6e9.zip |
convert doc tags to sections
Diffstat (limited to 'test/src')
-rw-r--r-- | test/src/model/JavaTest.kt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/src/model/JavaTest.kt b/test/src/model/JavaTest.kt index fcfae21a..2f67d7e8 100644 --- a/test/src/model/JavaTest.kt +++ b/test/src/model/JavaTest.kt @@ -13,6 +13,17 @@ public class JavaTest { assertEquals("fn", name) assertEquals(DocumentationNode.Kind.Function, kind) assertEquals("Summary for Function", content.summary.toTestString()) + assertEquals(2, content.sections.size()) + with(content.sections[0]) { + assertEquals("Parameters", tag) + assertEquals("name", subjectName) + assertEquals("is String parameter ", toTestString()) + } + with(content.sections[1]) { + assertEquals("Parameters", tag) + assertEquals("value", subjectName) + assertEquals("is int parameter", toTestString()) + } assertEquals("Unit", detail(DocumentationNode.Kind.Type).name) assertTrue(members.none()) assertTrue(links.none()) |