Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit f75dcc0

Browse files
committed
[[ Bug 20733 ]] Skip obj-c tests on all but Mac / iOS
This patch adds a skip to the new property getter/setter test in objc.
1 parent 547525a commit f75dcc0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/lcb/vm/interop-objc.lcb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,11 @@ private foreign handler NSUserNotificationSetTitle(in Obj as ObjcId, in Title as
191191
private foreign handler NSUserNotificationGetTitle(in Obj as ObjcId) returns ObjcId binds to "objc:NSUserNotification.title"
192192

193193
public handler TestObjcDynamicPropertyBinding()
194+
if not the operating system is in ["mac", "ios"] then
195+
skip test "objc property binding succeeds" because "not implemented on" && the operating system
196+
return
197+
end if
198+
194199
test "dynamic objc setter binds" when NSUserNotificationSetTitle is not nothing
195200
test "dynamic objc getter binds" when NSUserNotificationGetTitle is not nothing
196201
end handler

0 commit comments

Comments
 (0)