[Gradle] Fix JsIrConfigurationCacheIT was disabled by a mistake
It was marked as an abstract class and thus wasn't executed
This commit is contained in:
committed by
Space Team
parent
9ff0e0b046
commit
765a8bdd7c
+3
-8
@@ -10,14 +10,9 @@ import org.jetbrains.kotlin.gradle.testbase.*
|
|||||||
import org.junit.jupiter.api.DisplayName
|
import org.junit.jupiter.api.DisplayName
|
||||||
|
|
||||||
@JsGradlePluginTests
|
@JsGradlePluginTests
|
||||||
abstract class JsIrConfigurationCacheIT : KGPBaseTest() {
|
class JsIrConfigurationCacheIT : KGPBaseTest() {
|
||||||
@Suppress("DEPRECATION")
|
override val defaultBuildOptions =
|
||||||
private val defaultJsOptions = BuildOptions.JsOptions(
|
|
||||||
)
|
|
||||||
|
|
||||||
final override val defaultBuildOptions =
|
|
||||||
super.defaultBuildOptions.copy(
|
super.defaultBuildOptions.copy(
|
||||||
jsOptions = defaultJsOptions,
|
|
||||||
configurationCache = true,
|
configurationCache = true,
|
||||||
configurationCacheProblems = BaseGradleIT.ConfigurationCacheProblems.FAIL
|
configurationCacheProblems = BaseGradleIT.ConfigurationCacheProblems.FAIL
|
||||||
)
|
)
|
||||||
@@ -92,7 +87,7 @@ abstract class JsIrConfigurationCacheIT : KGPBaseTest() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@DisplayName("configuration cache is reused when idea.version system property is changed in node project")
|
@DisplayName("configuration cache is reused when idea.version system property is changed in node project")
|
||||||
@GradleTestVersions(minVersion = TestVersions.Gradle.G_7_5, maxVersion = TestVersions.Gradle.G_7_5)
|
@GradleTestVersions(minVersion = TestVersions.Gradle.G_8_0)
|
||||||
@GradleTest
|
@GradleTest
|
||||||
fun testNodeJsOnIdeaPropertyChange(gradleVersion: GradleVersion) {
|
fun testNodeJsOnIdeaPropertyChange(gradleVersion: GradleVersion) {
|
||||||
project("kotlin-js-nodejs-project", gradleVersion) {
|
project("kotlin-js-nodejs-project", gradleVersion) {
|
||||||
|
|||||||
Reference in New Issue
Block a user