[K/N][Tests] Migrate first ObjC test with framework

^KT-61259
This commit is contained in:
Vladimir Sukharev
2024-01-17 11:49:34 +01:00
parent 6e2df0e086
commit 1b18f4ed1e
26 changed files with 263 additions and 35 deletions
@@ -1,8 +0,0 @@
import kotlin.test.*
import objclib.*
fun main() {
assertEquals(1, getFrameworkInt())
assertEquals(2, getDefInt())
assertEquals(1, getFrameworkIntFromDef())
}
@@ -1,10 +0,0 @@
language = Objective-C
modules = Foo
---
static int getDefInt() {
return 2;
}
static int getFrameworkIntFromDef() {
return getFrameworkInt();
}
@@ -1,3 +0,0 @@
static int getFrameworkInt() {
return 1;
}
@@ -1,3 +0,0 @@
framework module Foo {
umbrella header "Foo.h"
}