Revert "[Gradle][Tests][MPP] Inherit mpp tests from MPPBaseTest"
This reverts commit 11e4cb12b7.
This commit is contained in:
+8
-35
@@ -61,11 +61,7 @@ class ConfigurationCacheIT : AbstractConfigurationCacheIT() {
|
|||||||
|
|
||||||
@MppGradlePluginTests
|
@MppGradlePluginTests
|
||||||
@DisplayName("works with MPP publishing")
|
@DisplayName("works with MPP publishing")
|
||||||
@GradleTestVersions(
|
@GradleTestVersions(minVersion = TestVersions.Gradle.G_7_4)
|
||||||
minVersion = TestVersions.Gradle.G_7_4,
|
|
||||||
maxVersion = BETA_GRADLE,
|
|
||||||
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
|
||||||
)
|
|
||||||
@GradleTest
|
@GradleTest
|
||||||
fun testMppWithMavenPublish(gradleVersion: GradleVersion) {
|
fun testMppWithMavenPublish(gradleVersion: GradleVersion) {
|
||||||
project("new-mpp-lib-and-app/sample-lib", gradleVersion) {
|
project("new-mpp-lib-and-app/sample-lib", gradleVersion) {
|
||||||
@@ -81,11 +77,7 @@ class ConfigurationCacheIT : AbstractConfigurationCacheIT() {
|
|||||||
|
|
||||||
@NativeGradlePluginTests
|
@NativeGradlePluginTests
|
||||||
@DisplayName("works with native tasks in complex project")
|
@DisplayName("works with native tasks in complex project")
|
||||||
@GradleTestVersions(
|
@GradleTestVersions(minVersion = TestVersions.Gradle.G_7_4)
|
||||||
minVersion = TestVersions.Gradle.G_7_4,
|
|
||||||
maxVersion = BETA_GRADLE,
|
|
||||||
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
|
||||||
)
|
|
||||||
@GradleTest
|
@GradleTest
|
||||||
fun testNativeTasks(gradleVersion: GradleVersion) {
|
fun testNativeTasks(gradleVersion: GradleVersion) {
|
||||||
val expectedTasks = mutableListOf(
|
val expectedTasks = mutableListOf(
|
||||||
@@ -122,11 +114,7 @@ class ConfigurationCacheIT : AbstractConfigurationCacheIT() {
|
|||||||
|
|
||||||
@NativeGradlePluginTests
|
@NativeGradlePluginTests
|
||||||
@DisplayName("works with commonizer")
|
@DisplayName("works with commonizer")
|
||||||
@GradleTestVersions(
|
@GradleTestVersions(minVersion = TestVersions.Gradle.G_7_4)
|
||||||
minVersion = TestVersions.Gradle.G_7_4,
|
|
||||||
maxVersion = BETA_GRADLE,
|
|
||||||
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
|
||||||
)
|
|
||||||
@GradleTest
|
@GradleTest
|
||||||
fun testCommonizer(gradleVersion: GradleVersion) {
|
fun testCommonizer(gradleVersion: GradleVersion) {
|
||||||
project("native-configuration-cache", gradleVersion) {
|
project("native-configuration-cache", gradleVersion) {
|
||||||
@@ -166,11 +154,7 @@ class ConfigurationCacheIT : AbstractConfigurationCacheIT() {
|
|||||||
// Set min Gradle version to 6.8 because of using DependencyResolutionManagement API to add repositories.
|
// Set min Gradle version to 6.8 because of using DependencyResolutionManagement API to add repositories.
|
||||||
@JvmGradlePluginTests
|
@JvmGradlePluginTests
|
||||||
@DisplayName("with instance execution")
|
@DisplayName("with instance execution")
|
||||||
@GradleTestVersions(
|
@GradleTestVersions(minVersion = TestVersions.Gradle.G_6_8)
|
||||||
minVersion = TestVersions.Gradle.G_6_8,
|
|
||||||
maxVersion = BETA_GRADLE,
|
|
||||||
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
|
||||||
)
|
|
||||||
@GradleTest
|
@GradleTest
|
||||||
fun testInstantExecution(gradleVersion: GradleVersion) {
|
fun testInstantExecution(gradleVersion: GradleVersion) {
|
||||||
project("instantExecution", gradleVersion) {
|
project("instantExecution", gradleVersion) {
|
||||||
@@ -195,11 +179,7 @@ class ConfigurationCacheIT : AbstractConfigurationCacheIT() {
|
|||||||
|
|
||||||
@JvmGradlePluginTests
|
@JvmGradlePluginTests
|
||||||
@DisplayName("instant execution works with included build plugin")
|
@DisplayName("instant execution works with included build plugin")
|
||||||
@GradleTestVersions(
|
@GradleTestVersions(minVersion = TestVersions.Gradle.G_6_8)
|
||||||
minVersion = TestVersions.Gradle.G_6_8,
|
|
||||||
maxVersion = BETA_GRADLE,
|
|
||||||
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
|
||||||
)
|
|
||||||
@GradleTest
|
@GradleTest
|
||||||
fun testInstantExecutionWithIncludedBuildPlugin(gradleVersion: GradleVersion) {
|
fun testInstantExecutionWithIncludedBuildPlugin(gradleVersion: GradleVersion) {
|
||||||
project("instantExecutionWithIncludedBuildPlugin", gradleVersion) {
|
project("instantExecutionWithIncludedBuildPlugin", gradleVersion) {
|
||||||
@@ -212,11 +192,7 @@ class ConfigurationCacheIT : AbstractConfigurationCacheIT() {
|
|||||||
|
|
||||||
@MppGradlePluginTests
|
@MppGradlePluginTests
|
||||||
@DisplayName("works in MPP withJava project")
|
@DisplayName("works in MPP withJava project")
|
||||||
@GradleTestVersions(
|
@GradleTestVersions(minVersion = TestVersions.Gradle.G_7_0)
|
||||||
minVersion = TestVersions.Gradle.G_7_0,
|
|
||||||
maxVersion = BETA_GRADLE,
|
|
||||||
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
|
||||||
)
|
|
||||||
@GradleTest
|
@GradleTest
|
||||||
fun testJvmWithJavaConfigurationCache(gradleVersion: GradleVersion) {
|
fun testJvmWithJavaConfigurationCache(gradleVersion: GradleVersion) {
|
||||||
project("mppJvmWithJava", gradleVersion) {
|
project("mppJvmWithJava", gradleVersion) {
|
||||||
@@ -248,11 +224,8 @@ class ConfigurationCacheIT : AbstractConfigurationCacheIT() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@JvmGradlePluginTests
|
@JvmGradlePluginTests
|
||||||
@DisplayName("with build scan report")
|
@DisplayName("with build build scan report")
|
||||||
@GradleTest
|
@GradleTest
|
||||||
@GradleTestVersions( // remove restriction after fix KT-57645
|
|
||||||
maxVersion = TestVersions.Gradle.MAX_SUPPORTED
|
|
||||||
)
|
|
||||||
fun testBuildScanReportSmokeTestForConfigurationCache(gradleVersion: GradleVersion) {
|
fun testBuildScanReportSmokeTestForConfigurationCache(gradleVersion: GradleVersion) {
|
||||||
project("simpleProject", gradleVersion) {
|
project("simpleProject", gradleVersion) {
|
||||||
val buildOptions = defaultBuildOptions.copy(buildReport = listOf(BuildReportType.BUILD_SCAN), logLevel = LogLevel.DEBUG)
|
val buildOptions = defaultBuildOptions.copy(buildReport = listOf(BuildReportType.BUILD_SCAN), logLevel = LogLevel.DEBUG)
|
||||||
@@ -267,7 +240,7 @@ class ConfigurationCacheIT : AbstractConfigurationCacheIT() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract class AbstractConfigurationCacheIT : MPPBaseTest() {
|
abstract class AbstractConfigurationCacheIT : KGPBaseTest() {
|
||||||
override val defaultBuildOptions =
|
override val defaultBuildOptions =
|
||||||
super.defaultBuildOptions.copy(configurationCache = true)
|
super.defaultBuildOptions.copy(configurationCache = true)
|
||||||
|
|
||||||
|
|||||||
+5
-1
@@ -31,8 +31,12 @@ import kotlin.test.assertTrue
|
|||||||
import kotlin.test.fail
|
import kotlin.test.fail
|
||||||
|
|
||||||
@MppGradlePluginTests
|
@MppGradlePluginTests
|
||||||
|
@GradleTestVersions(
|
||||||
|
maxVersion = TestVersions.Gradle.NEXT_RELEASE,
|
||||||
|
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
||||||
|
)
|
||||||
@DisplayName("Hierarchical multiplatform")
|
@DisplayName("Hierarchical multiplatform")
|
||||||
open class HierarchicalMppIT : MPPBaseTest() {
|
open class HierarchicalMppIT : KGPBaseTest() {
|
||||||
|
|
||||||
private val String.withPrefix get() = "hierarchical-mpp-published-modules/$this"
|
private val String.withPrefix get() = "hierarchical-mpp-published-modules/$this"
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -22,7 +22,7 @@ class MPPBuildReproducibilityIT : KGPBaseTest() {
|
|||||||
@GradleTest
|
@GradleTest
|
||||||
@GradleTestVersions(
|
@GradleTestVersions(
|
||||||
minVersion = TestVersions.Gradle.G_7_0,
|
minVersion = TestVersions.Gradle.G_7_0,
|
||||||
maxVersion = BETA_GRADLE,
|
maxVersion = TestVersions.Gradle.NEXT_RELEASE,
|
||||||
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
||||||
)
|
)
|
||||||
@DisplayName("Check if consecutive builds produce same binaries: Simple Multiplatform project")
|
@DisplayName("Check if consecutive builds produce same binaries: Simple Multiplatform project")
|
||||||
|
|||||||
+5
-1
@@ -30,8 +30,12 @@ import kotlin.test.assertEquals
|
|||||||
import kotlin.test.fail
|
import kotlin.test.fail
|
||||||
|
|
||||||
@MppGradlePluginTests
|
@MppGradlePluginTests
|
||||||
|
@GradleTestVersions(
|
||||||
|
maxVersion = TestVersions.Gradle.NEXT_RELEASE,
|
||||||
|
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
||||||
|
)
|
||||||
@DisplayName("Multiplatform IDE dependency resolution")
|
@DisplayName("Multiplatform IDE dependency resolution")
|
||||||
class MppIdeDependencyResolutionIT : MPPBaseTest() {
|
class MppIdeDependencyResolutionIT : KGPBaseTest() {
|
||||||
@GradleTest
|
@GradleTest
|
||||||
fun testCommonizedPlatformDependencyResolution(gradleVersion: GradleVersion) {
|
fun testCommonizedPlatformDependencyResolution(gradleVersion: GradleVersion) {
|
||||||
with(project("commonizeHierarchically", gradleVersion)) {
|
with(project("commonizeHierarchically", gradleVersion)) {
|
||||||
|
|||||||
+10
-10
@@ -26,7 +26,9 @@ import kotlin.test.*
|
|||||||
|
|
||||||
@DisplayName("kotlin-android with mpp")
|
@DisplayName("kotlin-android with mpp")
|
||||||
@AndroidGradlePluginTests
|
@AndroidGradlePluginTests
|
||||||
class KotlinAndroidMppIT : MPPBaseTest() {
|
@AndroidTestVersions(additionalVersions = [TestVersions.AGP.NEXT_RELEASE])
|
||||||
|
@GradleTestVersions(maxVersion = TestVersions.Gradle.NEXT_RELEASE, additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED])
|
||||||
|
class KotlinAndroidMppIT : KGPBaseTest() {
|
||||||
@DisplayName("KT-50736: whenEvaluated waits for AGP being applied later")
|
@DisplayName("KT-50736: whenEvaluated waits for AGP being applied later")
|
||||||
@GradleAndroidTest
|
@GradleAndroidTest
|
||||||
fun testAfterEvaluateOrdering(
|
fun testAfterEvaluateOrdering(
|
||||||
@@ -540,6 +542,7 @@ class KotlinAndroidMppIT : MPPBaseTest() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// AGP max version is limited due to https://youtrack.jetbrains.com/issue/KT-51940/HMPP-resolves-configurations-during-configuration
|
||||||
@DisplayName("android app can depend on mpp lib")
|
@DisplayName("android app can depend on mpp lib")
|
||||||
@GradleAndroidTest
|
@GradleAndroidTest
|
||||||
fun testAndroidWithNewMppApp(
|
fun testAndroidWithNewMppApp(
|
||||||
@@ -818,11 +821,8 @@ class KotlinAndroidMppIT : MPPBaseTest() {
|
|||||||
*/
|
*/
|
||||||
@DisplayName("KT-49798: com.android.build.api.attributes.AgpVersionAttr is not published")
|
@DisplayName("KT-49798: com.android.build.api.attributes.AgpVersionAttr is not published")
|
||||||
@GradleAndroidTest
|
@GradleAndroidTest
|
||||||
@AndroidTestVersions(minVersion = TestVersions.AGP.AGP_71, additionalVersions = [BETA_AGP])
|
@AndroidTestVersions(minVersion = TestVersions.AGP.AGP_71)
|
||||||
@GradleTestVersions(
|
@GradleTestVersions(minVersion = TestVersions.Gradle.G_7_2) // due AGP version limit ^
|
||||||
minVersion = TestVersions.Gradle.G_7_2, maxVersion = BETA_GRADLE,
|
|
||||||
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
|
||||||
)// due AGP version limit ^
|
|
||||||
fun testKT49798AgpVersionAttrNotPublished(
|
fun testKT49798AgpVersionAttrNotPublished(
|
||||||
gradleVersion: GradleVersion,
|
gradleVersion: GradleVersion,
|
||||||
agpVersion: String,
|
agpVersion: String,
|
||||||
@@ -855,9 +855,9 @@ class KotlinAndroidMppIT : MPPBaseTest() {
|
|||||||
|
|
||||||
@DisplayName("produced artifacts are consumable by projects with various AGP versions")
|
@DisplayName("produced artifacts are consumable by projects with various AGP versions")
|
||||||
@GradleAndroidTest
|
@GradleAndroidTest
|
||||||
@AndroidTestVersions(minVersion = TestVersions.AGP.AGP_71, additionalVersions = [BETA_AGP])
|
@AndroidTestVersions(minVersion = TestVersions.AGP.AGP_71, additionalVersions = [TestVersions.AGP.NEXT_RELEASE])
|
||||||
@GradleTestVersions(
|
@GradleTestVersions(
|
||||||
minVersion = TestVersions.Gradle.G_7_2, maxVersion = BETA_GRADLE,
|
minVersion = TestVersions.Gradle.G_7_2, maxVersion = TestVersions.Gradle.NEXT_RELEASE,
|
||||||
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
||||||
) // due AGP version limit ^
|
) // due AGP version limit ^
|
||||||
fun testAndroidMultiplatformPublicationAGPCompatibility(
|
fun testAndroidMultiplatformPublicationAGPCompatibility(
|
||||||
@@ -926,9 +926,9 @@ class KotlinAndroidMppIT : MPPBaseTest() {
|
|||||||
|
|
||||||
@DisplayName("KT-49877, KT-35916: associate compilation dependencies are passed correctly to android test compilations")
|
@DisplayName("KT-49877, KT-35916: associate compilation dependencies are passed correctly to android test compilations")
|
||||||
@GradleAndroidTest
|
@GradleAndroidTest
|
||||||
@AndroidTestVersions(minVersion = TestVersions.AGP.AGP_71, additionalVersions = [BETA_AGP])
|
@AndroidTestVersions(minVersion = TestVersions.AGP.AGP_71, additionalVersions = [TestVersions.AGP.NEXT_RELEASE])
|
||||||
@GradleTestVersions(
|
@GradleTestVersions(
|
||||||
minVersion = TestVersions.Gradle.G_7_2, maxVersion = BETA_GRADLE,
|
minVersion = TestVersions.Gradle.G_7_2, maxVersion = TestVersions.Gradle.NEXT_RELEASE,
|
||||||
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
||||||
) // due AGP version limit ^
|
) // due AGP version limit ^
|
||||||
fun testAssociateCompilationDependenciesArePassedToAndroidTestCompilations(
|
fun testAssociateCompilationDependenciesArePassedToAndroidTestCompilations(
|
||||||
|
|||||||
+2
-2
@@ -17,10 +17,10 @@ class MultiplatformAndroidSourceSetLayoutV2IT : KGPBaseTest() {
|
|||||||
|
|
||||||
@GradleAndroidTest
|
@GradleAndroidTest
|
||||||
@DisplayName("test Android project with flavors")
|
@DisplayName("test Android project with flavors")
|
||||||
@AndroidTestVersions(minVersion = "7.0.4", additionalVersions = [BETA_AGP])
|
@AndroidTestVersions(minVersion = "7.0.4", additionalVersions = [TestVersions.AGP.NEXT_RELEASE])
|
||||||
@GradleTestVersions(
|
@GradleTestVersions(
|
||||||
minVersion = TestVersions.Gradle.G_7_0,
|
minVersion = TestVersions.Gradle.G_7_0,
|
||||||
maxVersion = BETA_GRADLE,
|
maxVersion = TestVersions.Gradle.NEXT_RELEASE,
|
||||||
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
||||||
) // due AGP version limit ^
|
) // due AGP version limit ^
|
||||||
fun testProjectWithFlavors(gradleVersion: GradleVersion, agpVersion: String, jdkVersion: JdkVersions.ProvidedJdk) {
|
fun testProjectWithFlavors(gradleVersion: GradleVersion, agpVersion: String, jdkVersion: JdkVersions.ProvidedJdk) {
|
||||||
|
|||||||
+1
-1
@@ -15,7 +15,7 @@ import org.junit.jupiter.api.DisplayName
|
|||||||
|
|
||||||
@MppGradlePluginTests
|
@MppGradlePluginTests
|
||||||
@DisplayName("Tests for aggregating kotlin test reports")
|
@DisplayName("Tests for aggregating kotlin test reports")
|
||||||
class AggregatingKotlinTestReportIT : MPPBaseTest() {
|
class AggregatingKotlinTestReportIT : KGPBaseTest() {
|
||||||
@DisplayName("KT-54506: `allTests` is not false positively up-to-date after failure")
|
@DisplayName("KT-54506: `allTests` is not false positively up-to-date after failure")
|
||||||
@GradleTest
|
@GradleTest
|
||||||
fun testFailedTestsAreNotUpToDate(gradleVersion: GradleVersion) {
|
fun testFailedTestsAreNotUpToDate(gradleVersion: GradleVersion) {
|
||||||
|
|||||||
+5
-1
@@ -10,8 +10,12 @@ import org.jetbrains.kotlin.gradle.testbase.*
|
|||||||
import org.junit.jupiter.api.DisplayName
|
import org.junit.jupiter.api.DisplayName
|
||||||
|
|
||||||
@MppGradlePluginTests
|
@MppGradlePluginTests
|
||||||
|
@GradleTestVersions(
|
||||||
|
maxVersion = TestVersions.Gradle.NEXT_RELEASE,
|
||||||
|
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
||||||
|
)
|
||||||
@DisplayName("Broken task configuration avoidance doesn't lead to build failures at least with simple setups")
|
@DisplayName("Broken task configuration avoidance doesn't lead to build failures at least with simple setups")
|
||||||
class BrokenLazyConfigurationIT : MPPBaseTest() {
|
class BrokenLazyConfigurationIT : KGPBaseTest() {
|
||||||
@GradleTest
|
@GradleTest
|
||||||
@DisplayName("works in JVM")
|
@DisplayName("works in JVM")
|
||||||
fun testBrokenTcaInJvm(gradleVersion: GradleVersion) {
|
fun testBrokenTcaInJvm(gradleVersion: GradleVersion) {
|
||||||
|
|||||||
+5
-1
@@ -16,8 +16,12 @@ import org.junit.jupiter.api.DisplayName
|
|||||||
import org.junit.jupiter.api.condition.OS
|
import org.junit.jupiter.api.condition.OS
|
||||||
|
|
||||||
@MppGradlePluginTests
|
@MppGradlePluginTests
|
||||||
|
@GradleTestVersions(
|
||||||
|
maxVersion = TestVersions.Gradle.NEXT_RELEASE,
|
||||||
|
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
||||||
|
)
|
||||||
@DisplayName("Tests for multiplatform with composite builds")
|
@DisplayName("Tests for multiplatform with composite builds")
|
||||||
class MppCompositeBuildIT : MPPBaseTest() {
|
class MppCompositeBuildIT : KGPBaseTest() {
|
||||||
@GradleTest
|
@GradleTest
|
||||||
fun `test - sample0 - ide dependencies`(gradleVersion: GradleVersion) {
|
fun `test - sample0 - ide dependencies`(gradleVersion: GradleVersion) {
|
||||||
val producer = project("mpp-composite-build/sample0/producerBuild", gradleVersion)
|
val producer = project("mpp-composite-build/sample0/producerBuild", gradleVersion)
|
||||||
|
|||||||
+5
-1
@@ -14,7 +14,11 @@ import kotlin.test.assertFalse
|
|||||||
import kotlin.test.assertTrue
|
import kotlin.test.assertTrue
|
||||||
|
|
||||||
@MppGradlePluginTests
|
@MppGradlePluginTests
|
||||||
class MppDiagnosticsIt : MPPBaseTest() {
|
@GradleTestVersions(
|
||||||
|
maxVersion = TestVersions.Gradle.NEXT_RELEASE,
|
||||||
|
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
||||||
|
)
|
||||||
|
class MppDiagnosticsIt : KGPBaseTest() {
|
||||||
@GradleTest
|
@GradleTest
|
||||||
fun testDeprecatedProperties(gradleVersion: GradleVersion) {
|
fun testDeprecatedProperties(gradleVersion: GradleVersion) {
|
||||||
project("mppDeprecatedProperties", gradleVersion) {
|
project("mppDeprecatedProperties", gradleVersion) {
|
||||||
|
|||||||
+5
-1
@@ -15,8 +15,12 @@ import org.junit.jupiter.api.DisplayName
|
|||||||
import org.junit.jupiter.api.fail
|
import org.junit.jupiter.api.fail
|
||||||
|
|
||||||
@MppGradlePluginTests
|
@MppGradlePluginTests
|
||||||
|
@GradleTestVersions(
|
||||||
|
maxVersion = TestVersions.Gradle.NEXT_RELEASE,
|
||||||
|
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
||||||
|
)
|
||||||
@DisplayName("Tests for multiplatform | shared native compilations")
|
@DisplayName("Tests for multiplatform | shared native compilations")
|
||||||
class MppSharedNativeCompileIT : MPPBaseTest() {
|
class MppSharedNativeCompileIT : KGPBaseTest() {
|
||||||
/**
|
/**
|
||||||
* https://youtrack.jetbrains.com/issue/KT-56205/Shared-Native-Compilation-False-positive-w-Could-not-find-warnings-on-metadata-klibs
|
* https://youtrack.jetbrains.com/issue/KT-56205/Shared-Native-Compilation-False-positive-w-Could-not-find-warnings-on-metadata-klibs
|
||||||
* metadata klib should not contain any dependsOn= in their klib manifest.
|
* metadata klib should not contain any dependsOn= in their klib manifest.
|
||||||
|
|||||||
+2
-2
@@ -12,10 +12,10 @@ import org.junit.jupiter.api.DisplayName
|
|||||||
|
|
||||||
@MppGradlePluginTests
|
@MppGradlePluginTests
|
||||||
@DisplayName("Tests for multiplatform testing")
|
@DisplayName("Tests for multiplatform testing")
|
||||||
class MppTestsIT : MPPBaseTest() {
|
class MppTestsIT : KGPBaseTest() {
|
||||||
@DisplayName("KT-54634: MPP testing logic is compatible with API changes in Gradle 7.6")
|
@DisplayName("KT-54634: MPP testing logic is compatible with API changes in Gradle 7.6")
|
||||||
@GradleTestVersions(
|
@GradleTestVersions(
|
||||||
maxVersion = BETA_GRADLE,
|
maxVersion = TestVersions.Gradle.NEXT_RELEASE,
|
||||||
additionalVersions = [TestVersions.Gradle.G_7_5, TestVersions.Gradle.G_7_6]
|
additionalVersions = [TestVersions.Gradle.G_7_5, TestVersions.Gradle.G_7_6]
|
||||||
)
|
)
|
||||||
@GradleTest
|
@GradleTest
|
||||||
|
|||||||
+5
-1
@@ -9,7 +9,11 @@ import org.gradle.util.GradleVersion
|
|||||||
import org.jetbrains.kotlin.gradle.testbase.*
|
import org.jetbrains.kotlin.gradle.testbase.*
|
||||||
|
|
||||||
@MppGradlePluginTests
|
@MppGradlePluginTests
|
||||||
class CinteropIT : MPPBaseTest() {
|
@GradleTestVersions(
|
||||||
|
maxVersion = TestVersions.Gradle.NEXT_RELEASE,
|
||||||
|
additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED]
|
||||||
|
)
|
||||||
|
class CinteropIT : KGPBaseTest() {
|
||||||
|
|
||||||
@GradleTest
|
@GradleTest
|
||||||
fun `rerun cinterop after a header changing`(gradleVersion: GradleVersion) {
|
fun `rerun cinterop after a header changing`(gradleVersion: GradleVersion) {
|
||||||
|
|||||||
Reference in New Issue
Block a user