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/PackageTest.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/PackageTest.kt')
-rw-r--r-- | test/src/model/PackageTest.kt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/src/model/PackageTest.kt b/test/src/model/PackageTest.kt index 848fff3e..1f1a6ebf 100644 --- a/test/src/model/PackageTest.kt +++ b/test/src/model/PackageTest.kt @@ -10,7 +10,7 @@ public class PackageTest { with(model.members.single()) { assertEquals(DocumentationNode.Kind.Package, kind) assertEquals("", name) - assertEquals(Content.Empty, doc) + assertEquals(Content.Empty, content) assertTrue(details.none()) assertTrue(members.none()) assertTrue(links.none()) @@ -23,7 +23,7 @@ public class PackageTest { with(model.members.single()) { assertEquals(DocumentationNode.Kind.Package, kind) assertEquals("simple", name) - assertEquals(Content.Empty, doc) + assertEquals(Content.Empty, content) assertTrue(details.none()) assertTrue(members.none()) assertTrue(links.none()) @@ -36,7 +36,7 @@ public class PackageTest { with(model.members.single()) { assertEquals(DocumentationNode.Kind.Package, kind) assertEquals("dot.name", name) - assertEquals(Content.Empty, doc) + assertEquals(Content.Empty, content) assertTrue(details.none()) assertTrue(members.none()) assertTrue(links.none()) @@ -50,14 +50,14 @@ public class PackageTest { with(model.members.single { it.name == "simple" }) { assertEquals(DocumentationNode.Kind.Package, kind) assertEquals("simple", name) - assertEquals(Content.Empty, doc) + assertEquals(Content.Empty, content) assertTrue(details.none()) assertTrue(members.none()) assertTrue(links.none()) } with(model.members.single { it.name == "dot.name" }) { assertEquals(DocumentationNode.Kind.Package, kind) - assertEquals(Content.Empty, doc) + assertEquals(Content.Empty, content) assertTrue(details.none()) assertTrue(members.none()) assertTrue(links.none()) @@ -71,7 +71,7 @@ public class PackageTest { with(model.members.elementAt(0)) { assertEquals(DocumentationNode.Kind.Package, kind) assertEquals("simple", name) - assertEquals(Content.Empty, doc) + assertEquals(Content.Empty, content) assertTrue(details.none()) assertTrue(members.none()) assertTrue(links.none()) |