Fixes for Xcode 16 #3690
Fixes for Xcode 16 #3690
Xcode test results
Test Release
Summary
Total | Passed | Failed | Skipped | Expected Failure | ⏱️ Time |
---|---|---|---|---|---|
349 | 316 | 33 | 0 | 0 | 17.08s |
Test Summary
Hammerspoon Tests
- Device: Apple Virtual Machine 1, 14.6.1 (23G93)
- SDK: macOS 14.5, 14.5
Test | Total | ||||
---|---|---|---|---|---|
HThttp | 6 | 6 | 0 | 0 | 0 |
HSscreen | 23 | 22 | 1 | 0 | 0 |
HSalert | 4 | 4 | 0 | 0 | 0 |
HSfs | 14 | 13 | 1 | 0 | 0 |
HSbrightness | 5 | 3 | 2 | 0 | 0 |
HSjsonTests | 5 | 5 | 0 | 0 | 0 |
HSosascript | 16 | 16 | 0 | 0 | 0 |
HScrash | 4 | 4 | 0 | 0 | 0 |
HSuielementTests | 6 | 3 | 3 | 0 | 0 |
HSnoises | 3 | 3 | 0 | 0 | 0 |
HSbase64 | 4 | 4 | 0 | 0 | 0 |
HSdistributednotifications | 3 | 3 | 0 | 0 | 0 |
HSwindowTests | 19 | 12 | 7 | 0 | 0 |
HScoresetup | 16 | 16 | 0 | 0 | 0 |
HStimer | 22 | 22 | 0 | 0 | 0 |
HSmath | 4 | 4 | 0 | 0 | 0 |
HStask | 10 | 10 | 0 | 0 | 0 |
HSapplicationTests | 16 | 12 | 4 | 0 | 0 |
HSmouseTests | 7 | 7 | 0 | 0 | 0 |
HSinspect | 3 | 3 | 0 | 0 | 0 |
HShotkey | 8 | 4 | 4 | 0 | 0 |
HSwebsocket | 9 | 9 | 0 | 0 | 0 |
HSsocket | 42 | 42 | 0 | 0 | 0 |
HSaudiodevice | 41 | 34 | 7 | 0 | 0 |
HSappfinder | 7 | 7 | 0 | 0 | 0 |
HSTestCase | 2 | 2 | 0 | 0 | 0 |
HSserial | 8 | 4 | 4 | 0 | 0 |
HSrequire_all | 3 | 3 | 0 | 0 | 0 |
HSimage | 3 | 3 | 0 | 0 | 0 |
LuaSkinTests
- Device: Apple Virtual Machine 1, 14.6.1 (23G93)
- SDK: macOS 14.5, 14.5
Test | Total | ||||
---|---|---|---|---|---|
LuaSkinTests | 36 | 36 | 0 | 0 | 0 |
Failures
Hammerspoon Tests/HSscreen/testRotation
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSscreen.m:101 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testRotation |
Hammerspoon Tests/HSfs/testVolumes
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSTestCase.m:65 |
Issue Type | Assertion Failure |
Message | Asynchronous wait failed: Exceeded timeout of 10 seconds, with unfulfilled expectations: "testVolumes()". |
Hammerspoon Tests/HSbrightness/testGet
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSbrightness.m:30 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testGet |
Hammerspoon Tests/HSbrightness/testSet
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSbrightness.m:37 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testSet |
Hammerspoon Tests/HSuielementTests/testApplicationWatcher
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSTestCase.m:38 |
Issue Type | Uncaught Exception |
Message | Failed due to unwaited expectation 'testApplicationWatcher()'. |
Hammerspoon Tests/HSuielementTests/testSelectedText
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSuielement.m:53 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testSelectedText |
Hammerspoon Tests/HSuielementTests/testWindowWatcher
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSTestCase.m:38 |
Issue Type | Uncaught Exception |
Message | Failed due to unwaited expectation 'testWindowWatcher()'. |
Hammerspoon Tests/HSwindowTests/testPID
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSwindow.m:79 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testPID |
Hammerspoon Tests/HSwindowTests/testTabs
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSwindow.m:89 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testTabs |
Hammerspoon Tests/HSwindowTests/testFocusedWindow
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSwindow.m:45 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testFocusedWindow |
Hammerspoon Tests/HSwindowTests/testSnapshots
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSwindow.m:51 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testSnapshots |
Hammerspoon Tests/HSwindowTests/testDesktop
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSwindow.m:35 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testDesktop |
Hammerspoon Tests/HSwindowTests/testMinimize
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSwindow.m:75 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testMinimize |
Hammerspoon Tests/HSwindowTests/testOrderedWindows
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSwindow.m:41 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testOrderedWindows |
Hammerspoon Tests/HSapplicationTests/testWindows
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSTestCase.m:65 |
Issue Type | Assertion Failure |
Message | Asynchronous wait failed: Exceeded timeout of 5 seconds, with unfulfilled expectations: "testWindows()". |
Hammerspoon Tests/HSapplicationTests/testAttributesFromBundleID
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSapplication.m:37 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testAttributesFromBundleID |
Hammerspoon Tests/HSapplicationTests/testFrontmostApplication
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSapplication.m:51 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testFrontmostApplication |
Hammerspoon Tests/HSapplicationTests/testHiding
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSTestCase.m:65 |
Issue Type | Assertion Failure |
Message | Asynchronous wait failed: Exceeded timeout of 5 seconds, with unfulfilled expectations: "testHiding()". |
Hammerspoon Tests/HShotkey/testGetSystemAssigned
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HShotkey.m:37 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testGetSystemAssigned |
Hammerspoon Tests/HShotkey/testRepeatingHotkey
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSTestCase.m:65 |
Issue Type | Assertion Failure |
Message | Asynchronous wait failed: Exceeded timeout of 5 seconds, with unfulfilled expectations: "testRepeatingHotkey()". |
Hammerspoon Tests/HShotkey/testHotkeyStates
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSTestCase.m:65 |
Issue Type | Assertion Failure |
Message | Asynchronous wait failed: Exceeded timeout of 5 seconds, with unfulfilled expectations: "testHotkeyStates()". |
Hammerspoon Tests/HShotkey/testBasicHotkey
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSTestCase.m:65 |
Issue Type | Assertion Failure |
Message | Asynchronous wait failed: Exceeded timeout of 2 seconds, with unfulfilled expectations: "testBasicHotkey()". |
Hammerspoon Tests/HSaudiodevice/testOutputSupportsDataSources
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSaudiodevice.m:199 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testOutputSupportsDataSources |
Hammerspoon Tests/HSaudiodevice/testInputSupportsDataSources
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSaudiodevice.m:193 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testInputSupportsDataSources |
Hammerspoon Tests/HSaudiodevice/testDataSourceName
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSaudiodevice.m:236 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testDataSourceName |
Hammerspoon Tests/HSaudiodevice/testDataSourceSetDefault
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSaudiodevice.m:242 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testDataSourceSetDefault |
Hammerspoon Tests/HSaudiodevice/testCurrentOutputDataSource
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSaudiodevice.m:211 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testCurrentOutputDataSource |
Hammerspoon Tests/HSaudiodevice/testDataSourceToString
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSaudiodevice.m:230 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testDataSourceToString |
Hammerspoon Tests/HSaudiodevice/testAllOutputDataSources
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSaudiodevice.m:223 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testAllOutputDataSources |
Hammerspoon Tests/HSserial/testOpenAndClose
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSserial.m:41 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testOpenAndClose |
Hammerspoon Tests/HSserial/testNewFromPath
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSserial.m:36 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testNewFromPath |
Hammerspoon Tests/HSserial/testNewFromName
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSserial.m:31 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testNewFromName |
Hammerspoon Tests/HSserial/testAttributes
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSserial.m:46 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testAttributes |
Code Coverage
Details
Test Details
Hammerspoon Tests
HThttp
⏱️ | ||||
---|---|---|---|---|
6 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.68s |
HSscreen
⏱️ | ||||
---|---|---|---|---|
22 (96%) | 1 (4%) | 0 (0%) | 0 (0%) | 0.10s |
testrunLua
| |
testToUnitRect
| |
testPrimaryScreen
| |
testPosition
| |
testFromUnitRect
| |
testGamma
| |
testId
| |
testAvailableModes
| |
testNextPrevious
| |
testMainScreen
| |
testCurrentMode
| |
testBrightness
| |
testFrames
| |
testSetOrigin
| |
testSetMode
| |
testScreenshots
| |
testScreenPositions
| |
testTestLuaSuccess
| |
testAllScreens
| |
testName
| |
testRotation
| |
testSetPrimary
| |
testFind
|
HSalert
⏱️ | ||||
---|---|---|---|---|
4 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.12s |
testrunLua
| |
testCloseAll
| |
testAlert
| |
testTestLuaSuccess
|
HSfs
⏱️ | ||||
---|---|---|---|---|
13 (93%) | 1 (7%) | 0 (0%) | 0 (0%) | 12.14s |
testChdir
| |
testrunLua
| |
testTouch
| |
testDirWalker
| |
testMkdir
| |
testLockDir
| |
testLinks
| |
testFileUTI
| |
testAttributes
| |
testTestLuaSuccess
| |
testLock
| |
testTags
| |
testRmdir
| |
testVolumes
|
HSbrightness
⏱️ | ||||
---|---|---|---|---|
3 (60%) | 2 (40%) | 0 (0%) | 0 (0%) | 0.11s |
testGet
| |
testSet
| |
testrunLua
| |
testTestLuaSuccess
| |
testAmbient
|
HSjsonTests
⏱️ | ||||
---|---|---|---|---|
5 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.10s |
testrunLua
| |
testEncodeDecodeFailures
| |
testEncodeDecode
| |
testTestLuaSuccess
| |
testReadWrite
|
HSosascript
⏱️ | ||||
---|---|---|---|---|
16 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.11s |
HScrash
⏱️ | ||||
---|---|---|---|---|
4 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.10s |
testThrowTheWorld
| |
testrunLua
| |
testTestLuaSuccess
| |
testResidentSize
|
HSuielementTests
⏱️ | ||||
---|---|---|---|---|
3 (50%) | 3 (50%) | 0 (0%) | 0 (0%) | 0.12s |
testApplicationWatcher
| |
testHammerspoonElements
| |
testSelectedText
| |
testTestLuaSuccess
| |
testWindowWatcher
| |
testrunLua
|
HSnoises
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.12s |
testTestLuaSuccess
| |
testStartStop
| |
testrunLua
|
HSbase64
⏱️ | ||||
---|---|---|---|---|
4 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.18s |
testEncode
| |
testDecode
| |
testrunLua
| |
testTestLuaSuccess
|
HSdistributednotifications
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.10s |
testrunLua
| |
testdistributednotifications
| |
testTestLuaSuccess
|
HSwindowTests
⏱️ | ||||
---|---|---|---|---|
12 (63%) | 7 (37%) | 0 (0%) | 0 (0%) | 0.22s |
testPID
| |
testTabs
| |
testrunLua
| |
testFocusedWindow
| |
testSnapshots
| |
testFullscreenOne
| |
testClose
| |
testApplication
| |
testDesktop
| |
testMinimize
| |
testOrderedWindows
| |
testAllWindows
| |
testTopLeft
| |
testFullscreen
| |
testRoles
| |
testTestLuaSuccess
| |
testTitle
| |
testFullscreenTwo
| |
testSize
|
HScoresetup
⏱️ | ||||
---|---|---|---|---|
16 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.19s |
HStimer
⏱️ | ||||
---|---|---|---|---|
22 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.13s |
testSecondsSinceEpoch
| |
testWeeks
| |
testLocalTime
| |
testUsleep
| |
testWaitWhile
| |
testDoAt
| |
testTriggers
| |
Annotations
Check failure on line 101 in Hammerspoon Tests/HSscreen.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testRotation
Check failure on line 65 in Hammerspoon Tests/HSTestCase.m
github-actions / Xcode test results
Assertion Failure
Asynchronous wait failed: Exceeded timeout of 10 seconds, with unfulfilled expectations: "testVolumes()".
Check failure on line 30 in Hammerspoon Tests/HSbrightness.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testGet
Check failure on line 37 in Hammerspoon Tests/HSbrightness.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testSet
Check failure on line 38 in Hammerspoon Tests/HSTestCase.m
github-actions / Xcode test results
Uncaught Exception
Failed due to unwaited expectation 'testApplicationWatcher()'.
Check failure on line 53 in Hammerspoon Tests/HSuielement.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testSelectedText
Check failure on line 38 in Hammerspoon Tests/HSTestCase.m
github-actions / Xcode test results
Uncaught Exception
Failed due to unwaited expectation 'testWindowWatcher()'.
Check failure on line 79 in Hammerspoon Tests/HSwindow.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testPID
Check failure on line 89 in Hammerspoon Tests/HSwindow.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testTabs
Check failure on line 45 in Hammerspoon Tests/HSwindow.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testFocusedWindow
Check failure on line 51 in Hammerspoon Tests/HSwindow.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testSnapshots
Check failure on line 35 in Hammerspoon Tests/HSwindow.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testDesktop
Check failure on line 75 in Hammerspoon Tests/HSwindow.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testMinimize
Check failure on line 41 in Hammerspoon Tests/HSwindow.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testOrderedWindows
Check failure on line 65 in Hammerspoon Tests/HSTestCase.m
github-actions / Xcode test results
Assertion Failure
Asynchronous wait failed: Exceeded timeout of 5 seconds, with unfulfilled expectations: "testWindows()".
Check failure on line 37 in Hammerspoon Tests/HSapplication.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testAttributesFromBundleID
Check failure on line 51 in Hammerspoon Tests/HSapplication.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testFrontmostApplication
Check failure on line 65 in Hammerspoon Tests/HSTestCase.m
github-actions / Xcode test results
Assertion Failure
Asynchronous wait failed: Exceeded timeout of 5 seconds, with unfulfilled expectations: "testHiding()".
Check failure on line 37 in Hammerspoon Tests/HShotkey.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testGetSystemAssigned
Check failure on line 65 in Hammerspoon Tests/HSTestCase.m
github-actions / Xcode test results
Assertion Failure
Asynchronous wait failed: Exceeded timeout of 5 seconds, with unfulfilled expectations: "testRepeatingHotkey()".
Check failure on line 65 in Hammerspoon Tests/HSTestCase.m
github-actions / Xcode test results
Assertion Failure
Asynchronous wait failed: Exceeded timeout of 5 seconds, with unfulfilled expectations: "testHotkeyStates()".
Check failure on line 65 in Hammerspoon Tests/HSTestCase.m
github-actions / Xcode test results
Assertion Failure
Asynchronous wait failed: Exceeded timeout of 2 seconds, with unfulfilled expectations: "testBasicHotkey()".
Check failure on line 199 in Hammerspoon Tests/HSaudiodevice.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testOutputSupportsDataSources
Check failure on line 193 in Hammerspoon Tests/HSaudiodevice.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testInputSupportsDataSources
Check failure on line 236 in Hammerspoon Tests/HSaudiodevice.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testDataSourceName