aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/src/test/kotlin
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-01 14:44:18 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-07-02 12:48:53 +0200
commitbadd2d7e4bfad519f31b69ae9c1bea5659f3c59b (patch)
tree4edd1e6bb09b0f25e80dc3eb6d5eb2136a30d6a6 /integration-tests/gradle/src/test/kotlin
parentc0ce35627413103d64845ca3c56b9ceab0606b6b (diff)
downloaddokka-badd2d7e4bfad519f31b69ae9c1bea5659f3c59b.tar.gz
dokka-badd2d7e4bfad519f31b69ae9c1bea5659f3c59b.tar.bz2
dokka-badd2d7e4bfad519f31b69ae9c1bea5659f3c59b.zip
Implement AbstractDefaultVersionsGradleIntegrationTest.kt
Diffstat (limited to 'integration-tests/gradle/src/test/kotlin')
-rw-r--r--integration-tests/gradle/src/test/kotlin/org/jetbrains/dokka/it/gradle/BasicTest.kt64
1 files changed, 2 insertions, 62 deletions
diff --git a/integration-tests/gradle/src/test/kotlin/org/jetbrains/dokka/it/gradle/BasicTest.kt b/integration-tests/gradle/src/test/kotlin/org/jetbrains/dokka/it/gradle/BasicTest.kt
index deba4a16..ba6da4f9 100644
--- a/integration-tests/gradle/src/test/kotlin/org/jetbrains/dokka/it/gradle/BasicTest.kt
+++ b/integration-tests/gradle/src/test/kotlin/org/jetbrains/dokka/it/gradle/BasicTest.kt
@@ -4,57 +4,7 @@ import org.gradle.testkit.runner.TaskOutcome
import java.io.File
import kotlin.test.*
-class BasicTest : AbstractGradleIntegrationTest() {
-
- @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"
- )
- )
- }
+class BasicTest : AbstractDefaultVersionsGradleIntegrationTest() {
@BeforeTest
fun prepareProjectFiles() {
@@ -67,17 +17,7 @@ class BasicTest : AbstractGradleIntegrationTest() {
File(templateProjectDir, "src").copyRecursively(File(projectDir, "src"))
}
- @Test
- fun `gradle 6_5_1 kotlin 1_3_72`() {
- execute(
- BuildVersions(
- gradleVersion = "6.5.1",
- kotlinVersion = "1.3.72"
- )
- )
- }
-
- private fun execute(versions: BuildVersions) {
+ override fun execute(versions: BuildVersions) {
val result = createGradleRunner(
buildVersions = versions,
arguments = arrayOf("dokka", "--stacktrace")