diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-09-09 13:01:05 +0200 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-09-09 13:01:05 +0200 |
commit | 20ba46e50ef8324f2a51d5a545c5f96133bf366e (patch) | |
tree | 9969169ddc1976fe7c1e44d292360aa9616239b3 /test/src/model | |
parent | 53a7a79470a9a3a57dff05eadc8638b23a4d6fc6 (diff) | |
download | dokka-20ba46e50ef8324f2a51d5a545c5f96133bf366e.tar.gz dokka-20ba46e50ef8324f2a51d5a545c5f96133bf366e.tar.bz2 dokka-20ba46e50ef8324f2a51d5a545c5f96133bf366e.zip |
default visibility is public
Diffstat (limited to 'test/src/model')
-rw-r--r-- | test/src/model/FunctionTest.kt | 4 | ||||
-rw-r--r-- | test/src/model/PropertyTest.kt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/src/model/FunctionTest.kt b/test/src/model/FunctionTest.kt index bbb7cdbc..80ae223d 100644 --- a/test/src/model/FunctionTest.kt +++ b/test/src/model/FunctionTest.kt @@ -30,7 +30,7 @@ public class FunctionTest { assertEquals("fn", name) assertEquals(DocumentationNode.Kind.Function, kind) assertEquals("Function with receiver", content.summary.toTestString()) - assertEquals("internal", details.elementAt(0).name) + assertEquals("public", details.elementAt(0).name) assertEquals("final", details.elementAt(1).name) with(details.elementAt(2)) { assertEquals("<this>", name) @@ -124,7 +124,7 @@ public class FunctionTest { assertEquals("""Function Documentation""", content.description.toTestString()) - assertEquals("internal", details.elementAt(0).name) + assertEquals("public", details.elementAt(0).name) assertEquals("final", details.elementAt(1).name) with(details.elementAt(2)) { assertEquals("x", name) diff --git a/test/src/model/PropertyTest.kt b/test/src/model/PropertyTest.kt index 38c3160f..405b260f 100644 --- a/test/src/model/PropertyTest.kt +++ b/test/src/model/PropertyTest.kt @@ -56,7 +56,7 @@ public class PropertyTest { assertEquals("String", detail(DocumentationNode.Kind.Type).name) val modifiers = details(DocumentationNode.Kind.Modifier).map { it.name } assertTrue("final" in modifiers) - assertTrue("internal" in modifiers) + assertTrue("public" in modifiers) assertTrue("var" in modifiers) assertTrue(links.none()) assertTrue(members.none()) |