[K/N][Tests] Migrate second ObjC test with framework
^KT-61259
This commit is contained in:
@@ -1160,12 +1160,6 @@ if (PlatformInfo.isAppleTarget(project)) {
|
||||
it.extraOpts '-Xforeign-exception-mode', "objc-wrap"
|
||||
}
|
||||
|
||||
createInterop("objcKt34467") {
|
||||
it.defFile 'interop/objc/kt34467/module_library.def'
|
||||
def moduleMap = file("interop/objc/kt34467/module_library.modulemap").absolutePath
|
||||
def includePath = file("interop/objc/kt34467").absolutePath
|
||||
it.compilerOpts "-fmodule-map-file=$moduleMap", "-I$includePath"
|
||||
}
|
||||
createInterop("objcGh3343") {
|
||||
it.defFile 'framework/gh3343/objclib.def'
|
||||
it.headers "$projectDir/framework/gh3343/objclib.h"
|
||||
@@ -1631,12 +1625,6 @@ if (PlatformInfo.isAppleTarget(project)) {
|
||||
}
|
||||
}
|
||||
|
||||
interopTest("interop_objc_kt34467") {
|
||||
source = "interop/objc/kt34467/foo.kt"
|
||||
interop = 'objcKt34467'
|
||||
useGoldenData = true
|
||||
}
|
||||
|
||||
interopTest("interop_objc_illegal_sharing_with_weak") {
|
||||
source = "interop/objc/illegal_sharing_with_weak/main.kt"
|
||||
interop = 'objc_illegal_sharing_with_weak'
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
#define ANSWER 42
|
||||
@@ -1,6 +0,0 @@
|
||||
import module_library.*
|
||||
|
||||
fun main() {
|
||||
println("OK")
|
||||
println(ANSWER)
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
OK
|
||||
42
|
||||
@@ -1,2 +0,0 @@
|
||||
language = Objective-C
|
||||
modules = module_library
|
||||
@@ -1,6 +0,0 @@
|
||||
module module_library {
|
||||
umbrella header "module_library_umbrella.h"
|
||||
|
||||
export *
|
||||
module * { export * }
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
#import <foo.h>
|
||||
Reference in New Issue
Block a user