diff options
author | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-07-12 15:00:35 +0400 |
---|---|---|
committer | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-07-12 15:00:35 +0400 |
commit | 9ebe89742ccf29bb7efb6198666bd968397320e0 (patch) | |
tree | 6a4ccb8dfb0e0f64fa8dae57963c6af3c99e5fc6 /test/src/model/PropertyTest.kt | |
parent | 16391ddfa1e069bbfe1b9b2c9ac2d985ce107fcb (diff) | |
download | dokka-9ebe89742ccf29bb7efb6198666bd968397320e0.tar.gz dokka-9ebe89742ccf29bb7efb6198666bd968397320e0.tar.bz2 dokka-9ebe89742ccf29bb7efb6198666bd968397320e0.zip |
Add test for multiple files generating multiple package nodes, rename nodes->members in Module
Diffstat (limited to 'test/src/model/PropertyTest.kt')
-rw-r--r-- | test/src/model/PropertyTest.kt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/src/model/PropertyTest.kt b/test/src/model/PropertyTest.kt index f005d20d..f810e4ed 100644 --- a/test/src/model/PropertyTest.kt +++ b/test/src/model/PropertyTest.kt @@ -7,7 +7,7 @@ import org.jetbrains.dokka.* public class PropertyTest { Test fun valueProperty() { verifyModel("test/data/properties/valueProperty.kt") { model -> - with(model.nodes.single().members.single()) { + with(model.members.single().members.single()) { assertEquals("property", name) assertEquals(DocumentationNodeKind.Property, kind) assertEquals(DocumentationContent.Empty, doc) @@ -20,7 +20,7 @@ public class PropertyTest { Test fun variableProperty() { verifyModel("test/data/properties/variableProperty.kt") { model -> - with(model.nodes.single().members.single()) { + with(model.members.single().members.single()) { assertEquals("property", name) assertEquals(DocumentationNodeKind.Property, kind) assertEquals(DocumentationContent.Empty, doc) @@ -33,7 +33,7 @@ public class PropertyTest { Test fun valuePropertyWithGetter() { verifyModel("test/data/properties/valuePropertyWithGetter.kt") { model -> - with(model.nodes.single().members.single()) { + with(model.members.single().members.single()) { assertEquals("property", name) assertEquals(DocumentationNodeKind.Property, kind) assertEquals(DocumentationContent.Empty, doc) @@ -53,7 +53,7 @@ public class PropertyTest { Test fun variablePropertyWithAccessors() { verifyModel("test/data/properties/variablePropertyWithAccessors.kt") { model -> - with(model.nodes.single().members.single()) { + with(model.members.single().members.single()) { assertEquals("property", name) assertEquals(DocumentationNodeKind.Property, kind) assertEquals(DocumentationContent.Empty, doc) |