aboutsummaryrefslogtreecommitdiff
path: root/plugins/javadoc/src/test/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/javadoc/src/test/kotlin')
-rw-r--r--plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocClasslikeTemplateMapTest.kt2
-rw-r--r--plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/search/JavadocIndexSearchTest.kt8
-rw-r--r--plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/transformers/documentables/JavadocDocumentableJVMSourceSetFilterTest.kt2
3 files changed, 6 insertions, 6 deletions
diff --git a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocClasslikeTemplateMapTest.kt b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocClasslikeTemplateMapTest.kt
index 6535a22d..2aa6554e 100644
--- a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocClasslikeTemplateMapTest.kt
+++ b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocClasslikeTemplateMapTest.kt
@@ -181,7 +181,7 @@ internal class JavadocClasslikeTemplateMapTest : AbstractJavadocTemplateMapTest(
"""
/src/com/test/package0/TestClass.java
package com.test.package0;
- enum ClockDays {
+ public enum ClockDays {
/**
* Sample docs for first
*/
diff --git a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/search/JavadocIndexSearchTest.kt b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/search/JavadocIndexSearchTest.kt
index 90f499fe..276e9fc8 100644
--- a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/search/JavadocIndexSearchTest.kt
+++ b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/search/JavadocIndexSearchTest.kt
@@ -12,12 +12,12 @@ internal class JavadocIndexSearchTest : AbstractJavadocTemplateMapTest() {
dualTestTemplateMapInline(
java = """
/src/ClassA.java
- package package0
+ package package0;
/**
* Documentation for ClassA
* Defines the implementation of the system Java compiler and its command line equivalent, {@index javac}, as well as javah.
*/
- class ClassA {
+ public class ClassA {
}
""",
@@ -35,8 +35,8 @@ internal class JavadocIndexSearchTest : AbstractJavadocTemplateMapTest() {
dualTestTemplateMapInline(
java = """
/src/ClassA.java
- package package0
- class ClassA {
+ package package0;
+ public class ClassA {
public String propertyOfClassA = "Sample";
public void sampleFunction(){
diff --git a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/transformers/documentables/JavadocDocumentableJVMSourceSetFilterTest.kt b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/transformers/documentables/JavadocDocumentableJVMSourceSetFilterTest.kt
index 91f33acb..0feae7fc 100644
--- a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/transformers/documentables/JavadocDocumentableJVMSourceSetFilterTest.kt
+++ b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/transformers/documentables/JavadocDocumentableJVMSourceSetFilterTest.kt
@@ -82,7 +82,7 @@ class JavadocDocumentableJVMSourceSetFilterTest: BaseAbstractTest() {
@Test
fun `non-jvm and not dependent common source sets are ommited`() {
testInline(query, config) {
- documentablesFirstTransformationStep = { modules ->
+ preMergeDocumentablesTransformationStage = { modules ->
assertEquals(2, modules.size)
}
}