blob: 5d8babc3d723c8b314fc9eef3bb8c40d374bcdb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
package org.jetbrains.dokka.tests.format
import org.jetbrains.dokka.Formats.DacAsJavaFormatDescriptor
import org.jetbrains.dokka.Formats.DacFormatDescriptor
import org.jetbrains.dokka.Formats.JavaLayoutHtmlFormatDescriptorBase
import org.junit.Test
class DacFormatTest: DacFormatTestCase() {
val dacFormatDescriptor = DacFormatDescriptor()
val dacAsJavaFormatDescriptor = DacAsJavaFormatDescriptor()
val dacFormat = "dac"
val dacAsJavaFormat = "dac-as-java"
private fun verifyBothFormats(directory: String) {
verifyDirectory(directory, dacFormatDescriptor, dacFormat)
verifyDirectory(directory, dacAsJavaFormatDescriptor, dacAsJavaFormat)
}
@Test fun javaSeeTag() {
verifyBothFormats("javaSeeTag")
}
@Test fun javaConstructor() {
verifyBothFormats("javaConstructor")
}
@Test
fun javaSeeTagAsJava() {
verifyBothFormats("javaSeeTag")
}
@Test
fun javaConstructorAsJava() {
verifyBothFormats("javaConstructor")
}
@Test
fun javaDefaultConstructor() {
verifyBothFormats("javaDefaultConstructor")
}
@Test
fun javaInheritedMethods() {
verifyBothFormats("inheritedMethods")
}
@Test fun javaMethodVisibilities() {
verifyBothFormats("javaMethodVisibilities")
}
@Test fun javaClassLinks() {
verifyBothFormats("javaClassLinks")
}
@Test fun deprecation() {
verifyBothFormats("deprecation")
}
}
|