diff options
author | Marcin Aman <marcin.aman@gmail.com> | 2021-02-16 21:15:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-16 21:15:02 +0100 |
commit | 1c78ecebfb6fc2b24c64c13f7e85218b01a7a69b (patch) | |
tree | cbd27431b6ac40f74ef6526861fa8b2543741b7a /plugins/javadoc/src/test | |
parent | 116179e26a60d1b98d842ff6decc6119062475ae (diff) | |
download | dokka-1c78ecebfb6fc2b24c64c13f7e85218b01a7a69b.tar.gz dokka-1c78ecebfb6fc2b24c64c13f7e85218b01a7a69b.tar.bz2 dokka-1c78ecebfb6fc2b24c64c13f7e85218b01a7a69b.zip |
Fix displaying default java visibility (#1738)
Diffstat (limited to 'plugins/javadoc/src/test')
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) } } |