diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-13 15:52:35 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-13 15:52:35 +0100 |
commit | 181418c96f8027a196288a4a6dcd19dc468edf4d (patch) | |
tree | 24712a97b0b69d07fa5f39f69ae8407fd043713a /test/src | |
parent | acb49b47437b1534b910e23927f8fddca26c69f3 (diff) | |
download | dokka-181418c96f8027a196288a4a6dcd19dc468edf4d.tar.gz dokka-181418c96f8027a196288a4a6dcd19dc468edf4d.tar.bz2 dokka-181418c96f8027a196288a4a6dcd19dc468edf4d.zip |
process implements and extends list of Java classes
Diffstat (limited to 'test/src')
-rw-r--r-- | test/src/model/JavaTest.kt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/src/model/JavaTest.kt b/test/src/model/JavaTest.kt index 281d51ef..b0e3a133 100644 --- a/test/src/model/JavaTest.kt +++ b/test/src/model/JavaTest.kt @@ -42,4 +42,16 @@ public class JavaTest { } } } + + Test fun superClass() { + verifyModel("test/data/java/superClass.java") { model -> + val pkg = model.members.single() + with(pkg.members.single()) { + val superTypes = details(DocumentationNode.Kind.Supertype) + assertEquals(2, superTypes.size()) + assertEquals("Exception", superTypes[0].name) + assertEquals("Cloneable", superTypes[1].name) + } + } + } } |