aboutsummaryrefslogtreecommitdiff
path: root/test/src/model/JavaTest.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-02-13 18:12:55 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-02-13 18:12:55 +0100
commit902aeb158001473aa2d8d011c1e8e584163c5edd (patch)
tree6f149a833429758adc39cd1994b0a46b851ebcff /test/src/model/JavaTest.kt
parent95e3e32c181429df73cfbf03958dfe4e30d6001d (diff)
downloaddokka-902aeb158001473aa2d8d011c1e8e584163c5edd.tar.gz
dokka-902aeb158001473aa2d8d011c1e8e584163c5edd.tar.bz2
dokka-902aeb158001473aa2d8d011c1e8e584163c5edd.zip
add Java inner classes to model
Diffstat (limited to 'test/src/model/JavaTest.kt')
-rw-r--r--test/src/model/JavaTest.kt7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/src/model/JavaTest.kt b/test/src/model/JavaTest.kt
index ab417036..fcfae21a 100644
--- a/test/src/model/JavaTest.kt
+++ b/test/src/model/JavaTest.kt
@@ -85,4 +85,11 @@ public class JavaTest {
}
}
}
+
+ Test fun innerClass() {
+ verifyPackageMember("test/data/java/innerClass.java") { cls ->
+ val innerClass = cls.members(DocumentationNode.Kind.Class).single()
+ assertEquals("D", innerClass.name)
+ }
+ }
}