diff options
author | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-10-14 16:08:10 +0400 |
---|---|---|
committer | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-10-14 16:08:10 +0400 |
commit | 280dc29f14d0aa66f4c799d15d478a6d9920841e (patch) | |
tree | f87e78e16cdb762ce88e3d3b6f1925b437b67f30 /test/src/model/PropertyTest.kt | |
parent | 66e5e16bbe4b73531a34ad033d49350dd019d182 (diff) | |
download | dokka-280dc29f14d0aa66f4c799d15d478a6d9920841e.tar.gz dokka-280dc29f14d0aa66f4c799d15d478a6d9920841e.tar.bz2 dokka-280dc29f14d0aa66f4c799d15d478a6d9920841e.zip |
Use module.md to get package descriptors, filter sections with names of members, fix markdown for kotlin website, propagate content from parent to child with the name of section.
Diffstat (limited to 'test/src/model/PropertyTest.kt')
-rw-r--r-- | test/src/model/PropertyTest.kt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/src/model/PropertyTest.kt b/test/src/model/PropertyTest.kt index cac62194..93d81769 100644 --- a/test/src/model/PropertyTest.kt +++ b/test/src/model/PropertyTest.kt @@ -10,7 +10,7 @@ public class PropertyTest { with(model.members.single().members.single()) { assertEquals("property", name) assertEquals(DocumentationNode.Kind.Property, kind) - assertEquals(Content.Empty, doc) + assertEquals(Content.Empty, content) assertEquals("String", detail(DocumentationNode.Kind.Type).name) assertTrue(members.none()) assertTrue(links.none()) @@ -23,7 +23,7 @@ public class PropertyTest { with(model.members.single().members.single()) { assertEquals("property", name) assertEquals(DocumentationNode.Kind.Property, kind) - assertEquals(Content.Empty, doc) + assertEquals(Content.Empty, content) assertEquals("String", detail(DocumentationNode.Kind.Type).name) assertTrue(members.none()) assertTrue(links.none()) @@ -36,13 +36,13 @@ public class PropertyTest { with(model.members.single().members.single()) { assertEquals("property", name) assertEquals(DocumentationNode.Kind.Property, kind) - assertEquals(Content.Empty, doc) + assertEquals(Content.Empty, content) assertEquals("String", detail(DocumentationNode.Kind.Type).name) assertTrue(links.none()) with(members.single()) { assertEquals("<get-property>", name) assertEquals(DocumentationNode.Kind.Function, kind) - assertEquals(Content.Empty, doc) + assertEquals(Content.Empty, content) assertEquals("String", detail(DocumentationNode.Kind.Type).name) assertTrue(links.none()) assertTrue(members.none()) @@ -56,7 +56,7 @@ public class PropertyTest { with(model.members.single().members.single()) { assertEquals("property", name) assertEquals(DocumentationNode.Kind.Property, kind) - assertEquals(Content.Empty, doc) + assertEquals(Content.Empty, content) assertEquals(3, details.count()) assertEquals("String", detail(DocumentationNode.Kind.Type).name) val modifiers = details(DocumentationNode.Kind.Modifier).map { it.name } @@ -68,7 +68,7 @@ public class PropertyTest { with(members.elementAt(0)) { assertEquals("<get-property>", name) assertEquals(DocumentationNode.Kind.Function, kind) - assertEquals(Content.Empty, doc) + assertEquals(Content.Empty, content) val get_modifiers = details(DocumentationNode.Kind.Modifier).map { it.name } assertTrue("final" in get_modifiers) assertTrue("internal" in get_modifiers) @@ -79,7 +79,7 @@ public class PropertyTest { with(members.elementAt(1)) { assertEquals("<set-property>", name) assertEquals(DocumentationNode.Kind.Function, kind) - assertEquals(Content.Empty, doc) + assertEquals(Content.Empty, content) assertEquals(4, details.count()) assertEquals("Unit", detail(DocumentationNode.Kind.Type).name) val set_modifiers = details(DocumentationNode.Kind.Modifier).map { it.name } @@ -88,7 +88,7 @@ public class PropertyTest { with(detail(DocumentationNode.Kind.Parameter)) { assertEquals("value", name) assertEquals(DocumentationNode.Kind.Parameter, kind) - assertEquals(Content.Empty, doc) + assertEquals(Content.Empty, content) assertEquals("String", detail(DocumentationNode.Kind.Type).name) assertTrue(links.none()) assertTrue(members.none()) |