diff options
author | Vadim Mishenev <vad-mishenev@yandex.ru> | 2023-10-24 23:28:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-24 23:28:10 +0300 |
commit | c745f96781522f4b126e64cb6c2bc1b249694d0d (patch) | |
tree | 9e50da010ce321711a70152ed111e094ac6947e0 /plugins/base/src/test/kotlin/transformers | |
parent | 820e3b7cd449ba06f365eddbf9fe82cbfecc411e (diff) | |
download | dokka-c745f96781522f4b126e64cb6c2bc1b249694d0d.tar.gz dokka-c745f96781522f4b126e64cb6c2bc1b249694d0d.tar.bz2 dokka-c745f96781522f4b126e64cb6c2bc1b249694d0d.zip |
[K2] Enable Java tests for symbols (#3203)
Diffstat (limited to 'plugins/base/src/test/kotlin/transformers')
-rw-r--r-- | plugins/base/src/test/kotlin/transformers/ObviousAndInheritedFunctionsDocumentableFilterTest.kt | 2 | ||||
-rw-r--r-- | plugins/base/src/test/kotlin/transformers/isExceptionTest.kt | 8 |
2 files changed, 0 insertions, 10 deletions
diff --git a/plugins/base/src/test/kotlin/transformers/ObviousAndInheritedFunctionsDocumentableFilterTest.kt b/plugins/base/src/test/kotlin/transformers/ObviousAndInheritedFunctionsDocumentableFilterTest.kt index 84beaf6c..d035948f 100644 --- a/plugins/base/src/test/kotlin/transformers/ObviousAndInheritedFunctionsDocumentableFilterTest.kt +++ b/plugins/base/src/test/kotlin/transformers/ObviousAndInheritedFunctionsDocumentableFilterTest.kt @@ -9,7 +9,6 @@ import org.jetbrains.dokka.base.testApi.testRunner.BaseAbstractTest import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.MethodSource import testApi.testRunner.dokkaConfiguration -import utils.JavaCode import kotlin.test.assertEquals class ObviousAndInheritedFunctionsDocumentableFilterTest : BaseAbstractTest() { @@ -201,7 +200,6 @@ class ObviousAndInheritedFunctionsDocumentableFilterTest : BaseAbstractTest() { @ParameterizedTest @MethodSource(value = ["nonSuppressingObviousConfiguration", "nonSuppressingInheritedConfiguration"]) - @JavaCode fun `should not suppress toString, equals and hashcode if custom config is provided in Java`(nonSuppressingConfiguration: DokkaConfigurationImpl) { testInline( """ diff --git a/plugins/base/src/test/kotlin/transformers/isExceptionTest.kt b/plugins/base/src/test/kotlin/transformers/isExceptionTest.kt index aa923f7b..a387c60d 100644 --- a/plugins/base/src/test/kotlin/transformers/isExceptionTest.kt +++ b/plugins/base/src/test/kotlin/transformers/isExceptionTest.kt @@ -9,11 +9,8 @@ import org.jetbrains.dokka.model.DClass import org.jetbrains.dokka.model.DTypeAlias import utils.AbstractModelTest import kotlin.test.Test -import utils.JavaCode -import utils.UsingJDK class IsExceptionKotlinTest : AbstractModelTest("/src/main/kotlin/classes/Test.kt", "classes") { - @UsingJDK @Test fun `isException should work for kotlin exception`(){ inlineModelTest( @@ -27,7 +24,6 @@ class IsExceptionKotlinTest : AbstractModelTest("/src/main/kotlin/classes/Test.k } } - @UsingJDK @Test fun `isException should work for java exceptions`(){ inlineModelTest( @@ -41,7 +37,6 @@ class IsExceptionKotlinTest : AbstractModelTest("/src/main/kotlin/classes/Test.k } } - @UsingJDK @Test fun `isException should work for RuntimeException`(){ inlineModelTest( @@ -55,7 +50,6 @@ class IsExceptionKotlinTest : AbstractModelTest("/src/main/kotlin/classes/Test.k } } - @UsingJDK @Test fun `isException should work if exception is typealiased`(){ inlineModelTest( @@ -69,7 +63,6 @@ class IsExceptionKotlinTest : AbstractModelTest("/src/main/kotlin/classes/Test.k } } - @UsingJDK @Test fun `isException should work if exception is extending a typaliased class`(){ inlineModelTest( @@ -111,7 +104,6 @@ class IsExceptionKotlinTest : AbstractModelTest("/src/main/kotlin/classes/Test.k } } -@JavaCode class IsExceptionJavaTest: AbstractModelTest("/src/main/kotlin/java/Test.java", "java") { @Test fun `isException should work for java exceptions`(){ |