diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-07-01 14:44:18 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-07-02 12:48:53 +0200 |
commit | badd2d7e4bfad519f31b69ae9c1bea5659f3c59b (patch) | |
tree | 4edd1e6bb09b0f25e80dc3eb6d5eb2136a30d6a6 /integration-tests/gradle/src/main | |
parent | c0ce35627413103d64845ca3c56b9ceab0606b6b (diff) | |
download | dokka-badd2d7e4bfad519f31b69ae9c1bea5659f3c59b.tar.gz dokka-badd2d7e4bfad519f31b69ae9c1bea5659f3c59b.tar.bz2 dokka-badd2d7e4bfad519f31b69ae9c1bea5659f3c59b.zip |
Implement AbstractDefaultVersionsGradleIntegrationTest.kt
Diffstat (limited to 'integration-tests/gradle/src/main')
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 { |