[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,20 +3,20 @@
* that can be found in the LICENSE file.
*/
package codegen.propertyCallableReference.varClass
import kotlin.test.*
class A(var x: Int)
@Test fun runTest() {
fun box(): String {
val p1 = A::x
val a = A(42)
p1.set(a, 117)
println(a.x)
println(p1.get(a))
assertEquals(117, a.x)
assertEquals(117, p1.get(a))
val p2 = a::x
p2.set(42)
println(a.x)
println(p2.get())
assertEquals(42, a.x)
assertEquals(42, p2.get())
return "OK"
}