diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-11-03 20:21:52 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-11-03 20:21:52 +0100 |
commit | fb25c1eaf41ae314d19d6cda55446a2ab6b63715 (patch) | |
tree | 99cb6e86eb45a7ea4a3f0eeb2f35f200c3117270 /test/src/model | |
parent | aa9395aa97a9d738125e21d5ed235b350d637a24 (diff) | |
download | dokka-fb25c1eaf41ae314d19d6cda55446a2ab6b63715.tar.gz dokka-fb25c1eaf41ae314d19d6cda55446a2ab6b63715.tar.bz2 dokka-fb25c1eaf41ae314d19d6cda55446a2ab6b63715.zip |
reduce the number of Kotlinisms in documentation model generated from Java code
Diffstat (limited to 'test/src/model')
-rw-r--r-- | test/src/model/KotlinAsJavaTest.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/model/KotlinAsJavaTest.kt b/test/src/model/KotlinAsJavaTest.kt index 0b609a2b..90ea13c8 100644 --- a/test/src/model/KotlinAsJavaTest.kt +++ b/test/src/model/KotlinAsJavaTest.kt @@ -16,7 +16,7 @@ class KotlinAsJavaTest { val fn = facadeClass.members.single() assertEquals("fn", fn.name) - assertEquals(DocumentationNode.Kind.CompanionObjectFunction, fn.kind) + assertEquals(DocumentationNode.Kind.Function, fn.kind) } } @@ -24,7 +24,7 @@ class KotlinAsJavaTest { verifyModelAsJava("test/data/comments/oneLineDoc.kt") { model -> val facadeClass = model.members.single().members.single { it.name == "OneLineDocKt" } val getter = facadeClass.members.single { it.name == "getProperty" } - assertEquals(DocumentationNode.Kind.CompanionObjectFunction, getter.kind) + assertEquals(DocumentationNode.Kind.Function, getter.kind) assertEquals("doc", getter.content.summary.toTestString()) } } |