diff options
Diffstat (limited to 'test/src/model')
-rw-r--r-- | test/src/model/JavaTest.kt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/src/model/JavaTest.kt b/test/src/model/JavaTest.kt new file mode 100644 index 00000000..2fd197d5 --- /dev/null +++ b/test/src/model/JavaTest.kt @@ -0,0 +1,23 @@ +package org.jetbrains.dokka.tests + +import kotlin.test.* +import org.jetbrains.dokka.* +import org.junit.* + +public class JavaTest { + Ignore Test fun function() { + verifyModel("test/data/java/") { model -> + val pkg = model.members.single() + with(pkg.members.single()) { + assertEquals("fn", name) + assertEquals(DocumentationNode.Kind.Function, kind) + assertEquals("Function fn", doc.summary) + assertEquals("Unit", detail(DocumentationNode.Kind.Type).name) + assertTrue(members.none()) + assertTrue(links.none()) + } + } + } + +} + |