Improved the comments and variable names #404
Xcode test results
Test Release
Summary
Total | Passed | Failed | Skipped | Expected Failure | ⏱️ Time |
---|---|---|---|---|---|
350 | 314 | 36 | 0 | 0 | 13.27s |
Test Summary
LuaSkinTests
- Device: Apple Virtual Machine 1, 15.1.1 (24B91)
- SDK: macOS 15.1, 15.1
Test | Total | ||||
---|---|---|---|---|---|
LuaSkinTests | 36 | 36 | 0 | 0 | 0 |
Hammerspoon Tests
- Device: Apple Virtual Machine 1, 15.1.1 (24B91)
- SDK: macOS 15.1, 15.1
Test | Total | ||||
---|---|---|---|---|---|
HSrequire_all | 3 | 3 | 0 | 0 | 0 |
HScrash | 4 | 4 | 0 | 0 | 0 |
HSimage | 3 | 3 | 0 | 0 | 0 |
HSuielementTests | 6 | 3 | 3 | 0 | 0 |
HSscreen | 23 | 22 | 1 | 0 | 0 |
HSdistributednotifications | 3 | 3 | 0 | 0 | 0 |
HShotkey | 8 | 4 | 4 | 0 | 0 |
HSwindowTests | 19 | 15 | 4 | 0 | 0 |
HSbase64 | 4 | 4 | 0 | 0 | 0 |
HSbrightness | 5 | 3 | 2 | 0 | 0 |
HScoresetup | 16 | 16 | 0 | 0 | 0 |
HSmouseTests | 7 | 7 | 0 | 0 | 0 |
HSaudiodevice | 42 | 34 | 8 | 0 | 0 |
HSserial | 8 | 4 | 4 | 0 | 0 |
HSapplicationTests | 16 | 11 | 5 | 0 | 0 |
HStask | 10 | 10 | 0 | 0 | 0 |
HSmath | 4 | 4 | 0 | 0 | 0 |
HSosascript | 16 | 16 | 0 | 0 | 0 |
HSjsonTests | 5 | 5 | 0 | 0 | 0 |
HSinspect | 3 | 3 | 0 | 0 | 0 |
HSsocket | 42 | 38 | 4 | 0 | 0 |
HSalert | 4 | 4 | 0 | 0 | 0 |
HSnoises | 3 | 3 | 0 | 0 | 0 |
HStimer | 22 | 22 | 0 | 0 | 0 |
HSwebsocket | 9 | 9 | 0 | 0 | 0 |
HSappfinder | 7 | 7 | 0 | 0 | 0 |
HThttp | 6 | 6 | 0 | 0 | 0 |
HSfs | 14 | 13 | 1 | 0 | 0 |
HSTestCase | 2 | 2 | 0 | 0 | 0 |
Failures
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/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/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/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/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/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/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/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/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/HSaudiodevice/testCurrentOutputDataSource
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSaudiodevice.m:215 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testCurrentOutputDataSource |
Hammerspoon Tests/HSaudiodevice/testOutputSupportsDataSources
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSaudiodevice.m:203 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testOutputSupportsDataSources |
Hammerspoon Tests/HSaudiodevice/testDataSourceName
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSaudiodevice.m:240 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testDataSourceName |
Hammerspoon Tests/HSaudiodevice/testInputSupportsDataSources
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSaudiodevice.m:197 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testInputSupportsDataSources |
Hammerspoon Tests/HSaudiodevice/testDataSourceSetDefault
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSaudiodevice.m:246 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testDataSourceSetDefault |
Hammerspoon Tests/HSaudiodevice/testFindDeviceByName
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSaudiodevice.m:71 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testFindDeviceByName |
Hammerspoon Tests/HSaudiodevice/testDataSourceToString
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSaudiodevice.m:234 |
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:227 |
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/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/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/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/testInitWithPid
File | /Users/runner/work/hammerspoon/hammerspoon/Hammerspoon Tests/HSapplication.m:33 |
Issue Type | Assertion Failure |
Message | (([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testInitWithPid |
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/HSsocket/testUdpEnabledIpVersion
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: "testUdpEnabledIpVersion()". |
Hammerspoon Tests/HSsocket/testUdpBufferSize
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: "testUdpBufferSize()". |
Hammerspoon Tests/HSsocket/testUdpBroadcast
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: "testUdpBroadcast()". |
Hammerspoon Tests/HSsocket/testUdpReusePort
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: "testUdpReusePort()". |
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()". |
Code Coverage
Details
Test Details
LuaSkinTests
LuaSkinTests
⏱️ | ||||
---|---|---|---|---|
36 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
Hammerspoon Tests
HSrequire_all
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.11s |
testrunLua
| |
testRequireAll
| |
testTestLuaSuccess
|
HScrash
⏱️ | ||||
---|---|---|---|---|
4 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.10s |
testTestLuaSuccess
| |
testrunLua
| |
testThrowTheWorld
| |
testResidentSize
|
HSimage
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.10s |
testrunLua
| |
testGetExifFromPath
| |
testTestLuaSuccess
|
HSuielementTests
⏱️ | ||||
---|---|---|---|---|
3 (50%) | 3 (50%) | 0 (0%) | 0 (0%) | 2.63s |
testApplicationWatcher
| |
testHammerspoonElements
| |
testTestLuaSuccess
| |
testWindowWatcher
| |
testrunLua
| |
testSelectedText
|
HSscreen
⏱️ | ||||
---|---|---|---|---|
22 (96%) | 1 (4%) | 0 (0%) | 0 (0%) | 0.10s |
testGamma
| |
testCurrentMode
| |
testSetOrigin
| |
testTestLuaSuccess
| |
testToUnitRect
| |
testAllScreens
| |
testFrames
| |
testScreenshots
| |
testPosition
| |
testScreenPositions
| |
testFind
| |
testSetMode
| |
testrunLua
| |
testAvailableModes
| |
testRotation
| |
testMainScreen
| |
testNextPrevious
| |
testPrimaryScreen
| |
testId
| |
testBrightness
| |
testSetPrimary
| |
testName
| |
testFromUnitRect
|
HSdistributednotifications
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.66s |
testrunLua
| |
testTestLuaSuccess
| |
testdistributednotifications
|
HShotkey
⏱️ | ||||
---|---|---|---|---|
4 (50%) | 4 (50%) | 0 (0%) | 0 (0%) | 0.13s |
testRepeatingHotkey
| |
testGetSystemAssigned
| |
testAssignable
| |
testHotkeyStates
| |
testBasicHotkey
| |
testTestLuaSuccess
| |
testrunLua
| |
testGetHotkeys
|
HSwindowTests
⏱️ | ||||
---|---|---|---|---|
15 (79%) | 4 (21%) | 0 (0%) | 0 (0%) | 1.08s |
testTabs
| |
testSize
| |
testApplication
| |
testFullscreenTwo
| |
testTestLuaSuccess
| |
testTitle
| |
testrunLua
| |
testTopLeft
| |
testFocusedWindow
| |
testPID
| |
testClose
| |
testDesktop
| |
testMinimize
| |
testAllWindows
| |
testFullscreen
| |
testSnapshots
| |
testRoles
| |
testFullscreenOne
| |
testOrderedWindows
|
HSbase64
⏱️ | ||||
---|---|---|---|---|
4 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.11s |
testTestLuaSuccess
| |
testrunLua
| |
testEncode
| |
testDecode
|
HSbrightness
⏱️ | ||||
---|---|---|---|---|
3 (60%) | 2 (40%) | 0 (0%) | 0 (0%) | 0.13s |
testGet
| |
testrunLua
| |
testSet
| |
testAmbient
| |
testTestLuaSuccess
|
HScoresetup
⏱️ | ||||
---|---|---|---|---|
16 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 4.33s |
HSmouseTests
⏱️ | ||||
---|---|---|---|---|
7 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.10s |
testMouseTrackingSpeed
| |
testTestLuaSuccess
| |
testMouseNames
| |
testMouseCount
| |
testMouseAbsolutePosition
| |
testScrollDirection
| |
testrunLua
|
HSaudiodevice
⏱️ | ||||
---|---|---|---|---|
34 (81%) | 8 (19%) | 0 (0%) | 0 (0%) | 0.11s |
Annotations
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 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 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 5 seconds, with unfulfilled expectations: "testRepeatingHotkey()".
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: "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 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 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 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 215 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 203 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 240 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 197 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 246 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 71 in Hammerspoon Tests/HSaudiodevice.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testFindDeviceByName
Check failure on line 234 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 227 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 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 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 36 in Hammerspoon Tests/HSserial.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testNewFromPath