|
|
@ -1,13 +1,17 @@ |
|
|
|
package org.jetbrains.compose.test |
|
|
|
package org.jetbrains.compose.test |
|
|
|
|
|
|
|
|
|
|
|
import org.gradle.testkit.runner.GradleRunner |
|
|
|
import org.gradle.testkit.runner.GradleRunner |
|
|
|
|
|
|
|
import org.jetbrains.compose.desktop.application.internal.ComposeProperties |
|
|
|
import java.io.File |
|
|
|
import java.io.File |
|
|
|
|
|
|
|
|
|
|
|
data class TestProject( |
|
|
|
data class TestProject( |
|
|
|
private val name: String, |
|
|
|
private val name: String, |
|
|
|
private val workingDir: File |
|
|
|
private val workingDir: File |
|
|
|
) { |
|
|
|
) { |
|
|
|
private val additionalArgs = listOf("--stacktrace") |
|
|
|
private val additionalArgs = listOf( |
|
|
|
|
|
|
|
"--stacktrace", |
|
|
|
|
|
|
|
"-P${ComposeProperties.VERBOSE}=true" |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
init { |
|
|
|
init { |
|
|
|
val originalTestRoot = File("src/test/test-projects").resolve(name).also { |
|
|
|
val originalTestRoot = File("src/test/test-projects").resolve(name).also { |
|
|
|