From badd2d7e4bfad519f31b69ae9c1bea5659f3c59b Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Wed, 1 Jul 2020 14:44:18 +0200 Subject: Implement AbstractDefaultVersionsGradleIntegrationTest.kt --- .../org/jetbrains/dokka/it/gradle/BasicTest.kt | 64 +--------------------- 1 file changed, 2 insertions(+), 62 deletions(-) (limited to 'integration-tests/gradle/src/test/kotlin/org/jetbrains') 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") -- cgit