blob: 2fd197d5c5d941a3bf217059e60b0c5de3412f99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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())
}
}
}
}
|