[K/N][Tests] Migrate first Apple-specific test
^KT-61259
This commit is contained in:
@@ -1231,9 +1231,6 @@ if (PlatformInfo.isAppleTarget(project)) {
|
||||
it.defFile 'interop/objc/objCAction/objclib.def'
|
||||
it.headers "$projectDir/interop/objc/objCAction/objclib.h"
|
||||
}
|
||||
createInterop("kt59167") {
|
||||
it.defFile 'interop/kt59167/kt59167.def'
|
||||
}
|
||||
createInterop("overridabilityCondition") {
|
||||
it.defFile 'interop/objc/overridabilityCondition/lib.def'
|
||||
it.headers "$projectDir/interop/objc/overridabilityCondition/lib.h"
|
||||
@@ -1850,13 +1847,6 @@ if (PlatformInfo.isAppleTarget(project)) {
|
||||
UtilsKt.dependsOnPlatformLibs(it)
|
||||
}
|
||||
|
||||
interopTest("interop_kt59167") {
|
||||
// There is no GameController on watchOS.
|
||||
enabled = target.family != Family.WATCHOS
|
||||
source = 'interop/kt59167/main.kt'
|
||||
interop = 'kt59167'
|
||||
}
|
||||
|
||||
interopTest("interop_objc_kt63423_dispose_on_main_stress") {
|
||||
// Test depends on macOS-specific AppKit
|
||||
enabled = (project.testTarget == 'macos_x64' || project.testTarget == 'macos_arm64' || project.testTarget == null)
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
language=Objective-C
|
||||
---
|
||||
#import <GameController/GCDevice.h>
|
||||
|
||||
// We only need to touch the problematic header to trigger the problem,
|
||||
// so actual code does not matter.
|
||||
id<GCDevice> dummy() {
|
||||
return nil;
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
/*
|
||||
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
import kotlin.test.*
|
||||
import kt59167.*
|
||||
|
||||
fun main() {
|
||||
assertNull(dummy())
|
||||
}
|
||||
Reference in New Issue
Block a user