From 0544db0b45826b7666abdf88352ac93a19e80995 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Fri, 13 Feb 2015 16:00:43 +0100 Subject: map array types to Kotlin --- test/src/model/JavaTest.kt | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test/src/model/JavaTest.kt') diff --git a/test/src/model/JavaTest.kt b/test/src/model/JavaTest.kt index b0e3a133..d40b3ba3 100644 --- a/test/src/model/JavaTest.kt +++ b/test/src/model/JavaTest.kt @@ -54,4 +54,17 @@ public class JavaTest { } } } + + Test fun arrayType() { + verifyModel("test/data/java/arrayType.java") { model -> + val pkg = model.members.single() + with(pkg.members.single().members.single()) { + assertEquals("Array", detail(DocumentationNode.Kind.Type).name) + with(details(DocumentationNode.Kind.Parameter).single()) { + assertEquals("Array", detail(DocumentationNode.Kind.Type).name) + } + } + } + } + } -- cgit