Fixed websocket support in hs.httpserver:start()
#3665
Xcode test results
Test Release
Summary
Total | Passed | Failed | Skipped | Expected Failure | ⏱️ Time |
---|---|---|---|---|---|
349 | 318 | 31 | 0 | 0 | 26.71s |
Test Summary
Hammerspoon Tests
- Device: Apple Virtual Machine 1, 14.6 (23G80)
- SDK: macOS 14.5, 14.5
Test | Total | ||||
---|---|---|---|---|---|
HSmath | 4 | 4 | 0 | 0 | 0 |
HSaudiodevice | 41 | 34 | 7 | 0 | 0 |
HSbase64 | 4 | 4 | 0 | 0 | 0 |
HThttp | 6 | 6 | 0 | 0 | 0 |
HSapplicationTests | 16 | 12 | 4 | 0 | 0 |
HSbrightness | 5 | 3 | 2 | 0 | 0 |
HSjsonTests | 5 | 5 | 0 | 0 | 0 |
HScrash | 4 | 4 | 0 | 0 | 0 |
HSserial | 8 | 4 | 4 | 0 | 0 |
HScoresetup | 16 | 16 | 0 | 0 | 0 |
HSosascript | 16 | 16 | 0 | 0 | 0 |
HSrequire_all | 3 | 3 | 0 | 0 | 0 |
HSinspect | 3 | 3 | 0 | 0 | 0 |
HSscreen | 23 | 22 | 1 | 0 | 0 |
HSuielementTests | 6 | 3 | 3 | 0 | 0 |
HSsocket | 42 | 42 | 0 | 0 | 0 |
HSwindowTests | 19 | 14 | 5 | 0 | 0 |
HSmouseTests | 7 | 7 | 0 | 0 | 0 |
HSimage | 3 | 3 | 0 | 0 | 0 |
HSdistributednotifications | 3 | 3 | 0 | 0 | 0 |
HSalert | 4 | 4 | 0 | 0 | 0 |
HSappfinder | 7 | 7 | 0 | 0 | 0 |
HSfs | 14 | 13 | 1 | 0 | 0 |
HSwebsocket | 9 | 9 | 0 | 0 | 0 |
HStask | 10 | 10 | 0 | 0 | 0 |
HShotkey | 8 | 4 | 4 | 0 | 0 |
HSnoises | 3 | 3 | 0 | 0 | 0 |
HStimer | 22 | 22 | 0 | 0 | 0 |
HSTestCase | 2 | 2 | 0 | 0 | 0 |
LuaSkinTests
- Device: Apple Virtual Machine 1, 14.6 (23G80)
- SDK: macOS 14.5, 14.5
Test | Total | ||||
---|---|---|---|---|---|
LuaSkinTests | 36 | 36 | 0 | 0 | 0 |
Failures
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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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()". |
Code Coverage
Details
Test Details
Hammerspoon Tests
HSmath
⏱️ | ||||
---|---|---|---|---|
4 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.11s |
testRandomFromRange
| |
testrunLua
| |
testRandomFloat
| |
testTestLuaSuccess
|
HSaudiodevice
⏱️ | ||||
---|---|---|---|---|
34 (83%) | 7 (17%) | 0 (0%) | 0 (0%) | 0.13s |
testSetDefaultInput
| |
testTestLuaSuccess
| |
testCurrentOutputDataSource
| |
testrunLua
| |
testIsInputDevice
| |
testGetAllInputDevices
| |
testDataSourceName
| |
testWatcherCallback
| |
testGetAllOutputDevices
| |
testUID
| |
testIsOutputDevice
| |
testWatcher
| |
testFindOutputByUID
| |
testVolume
| |
testGetDefaultEffect
| |
testToString
| |
testDataSourceSetDefault
| |
testAllOutputDataSources
| |
testMute
| |
testCurrentInputDataSource
| |
testOutputVolume
| |
testGetCurrentInput
| |
testSetDefaultOutput
| |
testFindInputByName
| |
testOutputSupportsDataSources
| |
testTransportType
| |
testInputSupportsDataSources
| |
testName
| |
testInputVolume
| |
testSetDefaultEffect
| |
testFindDeviceByName
| |
testGetDefaultOutput
| |
testAllInputDataSources
| |
testGetDefaultInput
| |
testJackConnected
| |
testDataSourceToString
| |
testGetCurrentOutput
| |
testGetAllDevices
| |
testFindInputByUID
| |
testFindDeviceByUID
| |
testFindOutputByName
|
HSbase64
⏱️ | ||||
---|---|---|---|---|
4 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.11s |
testrunLua
| |
testEncode
| |
testTestLuaSuccess
| |
testDecode
|
HThttp
⏱️ | ||||
---|---|---|---|---|
6 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.09s |
HSapplicationTests
⏱️ | ||||
---|---|---|---|---|
12 (75%) | 4 (25%) | 0 (0%) | 0 (0%) | 0.14s |
testInitWithPidFailures
| |
testFrontmostApplication
| |
testrunLua
| |
testWindows
| |
testInitWithPid
| |
testTestLuaSuccess
| |
testBasicAttributes
| |
testKilling
| |
testForceKilling
| |
testMenus
| |
testHiding
| |
testMenusAsync
| |
testLocalizationFunctions
| |
testAttributesFromBundleID
| |
testRunningApplications
| |
testUTI
|
HSbrightness
⏱️ | ||||
---|---|---|---|---|
3 (60%) | 2 (40%) | 0 (0%) | 0 (0%) | 0.20s |
testTestLuaSuccess
| |
testAmbient
| |
testGet
| |
testSet
| |
testrunLua
|
HSjsonTests
⏱️ | ||||
---|---|---|---|---|
5 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.38s |
testReadWrite
| |
testrunLua
| |
testTestLuaSuccess
| |
testEncodeDecode
| |
testEncodeDecodeFailures
|
HScrash
⏱️ | ||||
---|---|---|---|---|
4 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.15s |
testResidentSize
| |
testTestLuaSuccess
| |
testThrowTheWorld
| |
testrunLua
|
HSserial
⏱️ | ||||
---|---|---|---|---|
4 (50%) | 4 (50%) | 0 (0%) | 0 (0%) | 0.12s |
testAvailablePortNames
| |
testOpenAndClose
| |
testAvailablePortPaths
| |
testNewFromPath
| |
testAttributes
| |
testTestLuaSuccess
| |
testNewFromName
| |
testrunLua
|
HScoresetup
⏱️ | ||||
---|---|---|---|---|
16 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.12s |
HSosascript
⏱️ | ||||
---|---|---|---|---|
16 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.10s |
HSrequire_all
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 1.06s |
testrunLua
| |
testTestLuaSuccess
| |
testRequireAll
|
HSinspect
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.11s |
testSimpleInspect
| |
testTestLuaSuccess
| |
testrunLua
|
HSscreen
⏱️ | ||||
---|---|---|---|---|
22 (96%) | 1 (4%) | 0 (0%) | 0 (0%) | 0.11s |
testSetMode
| |
testBrightness
| |
testFrames
| |
Annotations
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 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 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 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 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 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 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: "testWindows()".
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 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 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 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 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 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 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 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 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 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 89 in Hammerspoon Tests/HSwindow.m
github-actions / Xcode test results
Assertion Failure
(([self luaTestFromSelector:_cmd]) is true) failed - Test failed: testTabs