Only return YES when we actually handled a user activity #389
Xcode test results
Test Release
Summary
Total | Passed | Failed | Skipped | Expected Failure | ⏱️ Time |
---|---|---|---|---|---|
349 | 318 | 31 | 0 | 0 | 5.33s |
Test Summary
Hammerspoon Tests
- Device: Apple Virtual Machine 1, 14.6.1 (23G93)
- SDK: macOS 14.5, 14.5
Test | Total | ||||
---|---|---|---|---|---|
HSTestCase | 2 | 2 | 0 | 0 | 0 |
HScrash | 4 | 4 | 0 | 0 | 0 |
HSfs | 14 | 13 | 1 | 0 | 0 |
HSaudiodevice | 41 | 34 | 7 | 0 | 0 |
HSrequire_all | 3 | 3 | 0 | 0 | 0 |
HSwebsocket | 9 | 9 | 0 | 0 | 0 |
HSscreen | 23 | 22 | 1 | 0 | 0 |
HSnoises | 3 | 3 | 0 | 0 | 0 |
HStask | 10 | 10 | 0 | 0 | 0 |
HSjsonTests | 5 | 5 | 0 | 0 | 0 |
HSuielementTests | 6 | 3 | 3 | 0 | 0 |
HSbrightness | 5 | 3 | 2 | 0 | 0 |
HSserial | 8 | 4 | 4 | 0 | 0 |
HSapplicationTests | 16 | 12 | 4 | 0 | 0 |
HStimer | 22 | 22 | 0 | 0 | 0 |
HSmouseTests | 7 | 7 | 0 | 0 | 0 |
HSmath | 4 | 4 | 0 | 0 | 0 |
HSimage | 3 | 3 | 0 | 0 | 0 |
HSappfinder | 7 | 7 | 0 | 0 | 0 |
HSbase64 | 4 | 4 | 0 | 0 | 0 |
HSdistributednotifications | 3 | 3 | 0 | 0 | 0 |
HSosascript | 16 | 16 | 0 | 0 | 0 |
HSalert | 4 | 4 | 0 | 0 | 0 |
HSinspect | 3 | 3 | 0 | 0 | 0 |
HSwindowTests | 19 | 14 | 5 | 0 | 0 |
HThttp | 6 | 6 | 0 | 0 | 0 |
HShotkey | 8 | 4 | 4 | 0 | 0 |
HScoresetup | 16 | 16 | 0 | 0 | 0 |
HSsocket | 42 | 42 | 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/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/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/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/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/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/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/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/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/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/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/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/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/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/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 |
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/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/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/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/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/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/testFullscreenTwo
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: "testFullscreenTwoSetup()". |
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/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/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/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/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/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/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 |
Code Coverage
Details
Test Details
Hammerspoon Tests
HSTestCase
⏱️ | ||||
---|---|---|---|---|
2 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.10s |
testTestLuaSuccess
| |
testrunLua
|
HScrash
⏱️ | ||||
---|---|---|---|---|
4 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.10s |
testResidentSize
| |
testrunLua
| |
testThrowTheWorld
| |
testTestLuaSuccess
|
HSfs
⏱️ | ||||
---|---|---|---|---|
13 (93%) | 1 (7%) | 0 (0%) | 0 (0%) | 0.12s |
testLockDir
| |
testChdir
| |
testFileUTI
| |
testDirWalker
| |
testTestLuaSuccess
| |
testTouch
| |
testLock
| |
testAttributes
| |
testVolumes
| |
testTags
| |
testrunLua
| |
testMkdir
| |
testLinks
| |
testRmdir
|
HSaudiodevice
⏱️ | ||||
---|---|---|---|---|
34 (83%) | 7 (17%) | 0 (0%) | 0 (0%) | 0.10s |
testFindInputByUID
| |
testGetDefaultEffect
| |
testWatcherCallback
| |
testAllInputDataSources
| |
testOutputVolume
| |
testGetAllInputDevices
| |
testGetDefaultInput
| |
testSetDefaultEffect
| |
testInputSupportsDataSources
| |
testInputVolume
| |
testCurrentInputDataSource
| |
testFindOutputByUID
| |
testTransportType
| |
testGetAllDevices
| |
testIsInputDevice
| |
testToString
| |
testGetCurrentOutput
| |
testDataSourceName
| |
testVolume
| |
testGetCurrentInput
| |
testGetDefaultOutput
| |
testWatcher
| |
testAllOutputDataSources
| |
testTestLuaSuccess
| |
testName
| |
testGetAllOutputDevices
| |
testSetDefaultOutput
| |
testOutputSupportsDataSources
| |
testrunLua
| |
testFindDeviceByName
| |
testDataSourceSetDefault
| |
testSetDefaultInput
| |
testDataSourceToString
| |
testFindOutputByName
| |
testCurrentOutputDataSource
| |
testFindInputByName
| |
testMute
| |
testFindDeviceByUID
| |
testIsOutputDevice
| |
testJackConnected
| |
testUID
|
HSrequire_all
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 1.42s |
testTestLuaSuccess
| |
testrunLua
| |
testRequireAll
|
HSwebsocket
⏱️ | ||||
---|---|---|---|---|
9 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.15s |
testOpenStatus
| |
testNew
| |
testEchoData
| |
testClosedStatus
| |
testLegacy
| |
testClosingStatus
| |
testEchoText
| |
testrunLua
| |
testTestLuaSuccess
|
HSscreen
⏱️ | ||||
---|---|---|---|---|
22 (96%) | 1 (4%) | 0 (0%) | 0 (0%) | 0.10s |
testrunLua
| |
testNextPrevious
| |
testSetPrimary
| |
testFromUnitRect
| |
testName
| |
testMainScreen
| |
testScreenPositions
| |
testSetOrigin
| |
testAllScreens
| |
testAvailableModes
| |
testPosition
| |
testId
| |
testFrames
| |
testScreenshots
| |
testCurrentMode
| |
testFind
| |
testPrimaryScreen
| |
testGamma
| |
testBrightness
| |
testRotation
| |
testToUnitRect
| |
testSetMode
| |
testTestLuaSuccess
|
HSnoises
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.11s |
testStartStop
| |
testTestLuaSuccess
| |
testrunLua
|
HStask
⏱️ | ||||
---|---|---|---|---|
10 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.63s |
testTaskEnvironment
| |
testSimpleTaskFail
| |
testrunLua
| |
testTaskLifecycle
| |
testNewTask
| |
testTaskWorkingDirectory
| |
testTaskBlock
| |
testTestLuaSuccess
| |
testSimpleTask
| |
testStreamingTask
|
HSjsonTests
⏱️ | ||||
---|---|---|---|---|
5 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.10s |
testReadWrite
| |
testEncodeDecodeFailures
| |
testTestLuaSuccess
| |
testEncodeDecode
| |
testrunLua
|
HSuielementTests
⏱️ | ||||
---|---|---|---|---|
3 (50%) | 3 (50%) | 0 (0%) | 0 (0%) | 0.12s |
testSelectedText
| |
testTestLuaSuccess
| |
testHammerspoonElements
| |
testApplicationWatcher
| |
testWindowWatcher
| |
testrunLua
|
HSbrightness
⏱️ | ||||
---|---|---|---|---|
3 (60%) | 2 (40%) | 0 (0%) | 0 (0%) | 0.11s |
testGet
| |
testTestLuaSuccess
| |
testrunLua
| |
testAmbient
| |
testSet
|
HSserial
⏱️ | ||||
---|---|---|---|---|
4 (50%) | 4 (50%) | 0 (0%) | 0 (0%) | 0.11s |
testNewFromPath
| |
testTestLuaSuccess
| |
testrunLua
| |
testAttributes
| |
testOpenAndClose
| |
testAvailablePortNames
| |
testNewFromName
| |
testAvailablePortPaths
|
HSapplicationTests
⏱️ | ||||
---|---|---|---|---|
12 (75%) | 4 (25%) | 0 (0%) | 0 (0%) | 0.25s |
testrunLua
| |
testForceKilling
| |
Annotations
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 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
Check failure on line 223 in Hammerspoon Tests/HSaudiodevice.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testAllOutputDataSources
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 242 in Hammerspoon Tests/HSaudiodevice.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testDataSourceSetDefault
Check failure on line 230 in Hammerspoon Tests/HSaudiodevice.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testDataSourceToString
Check failure on line 211 in Hammerspoon Tests/HSaudiodevice.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testCurrentOutputDataSource
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 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 'testApplicationWatcher()'.
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 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 36 in Hammerspoon Tests/HSserial.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testNewFromPath
Check failure on line 46 in Hammerspoon Tests/HSserial.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testAttributes
Check failure on line 41 in Hammerspoon Tests/HSserial.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testOpenAndClose
Check failure on line 31 in Hammerspoon Tests/HSserial.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testNewFromName
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/HSapplication.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testAttributesFromBundleID
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 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 65 in Hammerspoon Tests/HSTestCase.m
github-actions / Xcode test results
Assertion Failure
Asynchronous wait failed: Exceeded timeout of 5 seconds, with unfulfilled expectations: "testFullscreenTwoSetup()".
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