[K/N][Tests] Adjust moved tests interfaceCallsNCasts..vector to new infra

^KT-61259
This commit is contained in:
Vladimir Sukharev
2023-12-16 23:54:04 +01:00
committed by Space Team
parent 93642020ff
commit bb8a7b6795
163 changed files with 841 additions and 672 deletions
@@ -3,8 +3,8 @@
* that can be found in the LICENSE file.
*/
@file:OptIn(FreezingIsDeprecated::class, kotlin.experimental.ExperimentalNativeApi::class)
package codegen.objectDeclaration.isFrozen
//@file:OptIn(FreezingIsDeprecated::class, kotlin.experimental.ExperimentalNativeApi::class)
@file:OptIn(kotlin.experimental.ExperimentalNativeApi::class)
import kotlin.test.*
import kotlin.native.concurrent.*
@@ -13,7 +13,7 @@ object X {
var value: Int = 0
}
@Test fun runTest() {
fun box(): String {
if (Platform.memoryModel == MemoryModel.STRICT) {
assertTrue(X.isFrozen)
assertFailsWith<InvalidMutabilityException> {
@@ -25,4 +25,5 @@ object X {
X.value = 42
assertEquals(42, X.value)
}
return "OK"
}