diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-16 15:55:49 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-16 15:55:49 +0100 |
commit | 17e25efa87dc6eea3b1e098619a07a65f0b3f8e8 (patch) | |
tree | e28deac3fbaeec8e9582c9b9ad95397826d38c7e /test/src/model | |
parent | 107ef426ad6163d9a97177e6b8d51cd2291f6daf (diff) | |
download | dokka-17e25efa87dc6eea3b1e098619a07a65f0b3f8e8.tar.gz dokka-17e25efa87dc6eea3b1e098619a07a65f0b3f8e8.tar.bz2 dokka-17e25efa87dc6eea3b1e098619a07a65f0b3f8e8.zip |
represent java.lang.Object as 'Any'
Diffstat (limited to 'test/src/model')
-rw-r--r-- | test/src/model/JavaTest.kt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/src/model/JavaTest.kt b/test/src/model/JavaTest.kt index ff04c90c..cdb0ba44 100644 --- a/test/src/model/JavaTest.kt +++ b/test/src/model/JavaTest.kt @@ -160,4 +160,11 @@ public class JavaTest { } } } + + Test fun javaLangObject() { + verifyPackageMember("test/data/java/javaLangObject.java") { cls -> + val fn = cls.members(DocumentationNode.Kind.Function).single() + assertEquals("Any", fn.detail(DocumentationNode.Kind.Type).name) + } + } } |