aboutsummaryrefslogtreecommitdiff
path: root/test/src/model/PropertyTest.kt
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/model/PropertyTest.kt')
-rw-r--r--test/src/model/PropertyTest.kt8
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)