aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/src/main/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests/gradle/src/main/kotlin')
-rw-r--r--integration-tests/gradle/src/main/kotlin/org/jetbrains/dokka/it/gradle/AbstractDefaultVersionsGradleIntegrationTest.kt68
-rw-r--r--integration-tests/gradle/src/main/kotlin/org/jetbrains/dokka/it/gradle/AbstractGradleIntegrationTest.kt1
2 files changed, 68 insertions, 1 deletions
diff --git a/integration-tests/gradle/src/main/kotlin/org/jetbrains/dokka/it/gradle/AbstractDefaultVersionsGradleIntegrationTest.kt b/integration-tests/gradle/src/main/kotlin/org/jetbrains/dokka/it/gradle/AbstractDefaultVersionsGradleIntegrationTest.kt
new file mode 100644
index 00000000..b7f44a4c
--- /dev/null
+++ b/integration-tests/gradle/src/main/kotlin/org/jetbrains/dokka/it/gradle/AbstractDefaultVersionsGradleIntegrationTest.kt
@@ -0,0 +1,68 @@
+package org.jetbrains.dokka.it.gradle
+
+import org.junit.Test
+
+abstract class AbstractDefaultVersionsGradleIntegrationTest : AbstractGradleIntegrationTest() {
+
+ protected abstract fun execute(versions: BuildVersions)
+
+ @Test
+ fun `gradle 5_6_4 kotlin 1_3_72`() {
+ execute(
+ BuildVersions(
+ gradleVersion = "5.6.4",
+ kotlinVersion = "1.3.72"
+ )
+ )
+ }
+
+ @Test
+ fun `gradle 5_6_4 kotlin 1_3_30`() {
+ execute(
+ BuildVersions(
+ gradleVersion = "5.6.4",
+ kotlinVersion = "1.3.30"
+ )
+ )
+ }
+
+ @Test
+ fun `gradle 5_6_4 kotlin 1_4_M2_eap_70`() {
+ execute(
+ BuildVersions(
+ gradleVersion = "5.6.4",
+ kotlinVersion = "1.4-M2-eap-70"
+ )
+ )
+ }
+
+ @Test
+ fun `gradle 6_1_1 kotlin 1_3_72`() {
+ execute(
+ BuildVersions(
+ gradleVersion = "6.1.1",
+ kotlinVersion = "1.3.72"
+ )
+ )
+ }
+
+ @Test
+ fun `gradle 6_5_1 kotlin 1_4_M2_eap_70`() {
+ execute(
+ BuildVersions(
+ gradleVersion = "6.5.1",
+ kotlinVersion = "1.4-M2-eap-70"
+ )
+ )
+ }
+
+ @Test
+ fun `gradle 6_5_1 kotlin 1_3_72`() {
+ execute(
+ BuildVersions(
+ gradleVersion = "6.5.1",
+ kotlinVersion = "1.3.72"
+ )
+ )
+ }
+}
diff --git a/integration-tests/gradle/src/main/kotlin/org/jetbrains/dokka/it/gradle/AbstractGradleIntegrationTest.kt b/integration-tests/gradle/src/main/kotlin/org/jetbrains/dokka/it/gradle/AbstractGradleIntegrationTest.kt
index 271720fe..34114c74 100644
--- a/integration-tests/gradle/src/main/kotlin/org/jetbrains/dokka/it/gradle/AbstractGradleIntegrationTest.kt
+++ b/integration-tests/gradle/src/main/kotlin/org/jetbrains/dokka/it/gradle/AbstractGradleIntegrationTest.kt
@@ -5,7 +5,6 @@ import org.junit.Rule
import org.junit.rules.TemporaryFolder
import java.io.File
import kotlin.test.assertFalse
-import kotlin.test.assertTrue
abstract class AbstractGradleIntegrationTest {