Add hs.audiodevice:thru() and hs.audiodevice:setThru(thru) #403
Xcode test results
Test Release
Summary
Total | Passed | Failed | Skipped | Expected Failure | ⏱️ Time |
---|---|---|---|---|---|
350 | 315 | 35 | 0 | 0 | 18.74s |
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 | ||||
---|---|---|---|---|---|
HSwebsocket | 9 | 9 | 0 | 0 | 0 |
HSaudiodevice | 42 | 34 | 8 | 0 | 0 |
HSapplicationTests | 16 | 12 | 4 | 0 | 0 |
HSmouseTests | 7 | 7 | 0 | 0 | 0 |
HSwindowTests | 19 | 15 | 4 | 0 | 0 |
HScoresetup | 16 | 16 | 0 | 0 | 0 |
HSbrightness | 5 | 3 | 2 | 0 | 0 |
HSappfinder | 7 | 7 | 0 | 0 | 0 |
HSuielementTests | 6 | 3 | 3 | 0 | 0 |
HSosascript | 16 | 16 | 0 | 0 | 0 |
HStask | 10 | 10 | 0 | 0 | 0 |
HShotkey | 8 | 4 | 4 | 0 | 0 |
HThttp | 6 | 6 | 0 | 0 | 0 |
HSimage | 3 | 3 | 0 | 0 | 0 |
HSsocket | 42 | 38 | 4 | 0 | 0 |
HSTestCase | 2 | 2 | 0 | 0 | 0 |
HSjsonTests | 5 | 5 | 0 | 0 | 0 |
HStimer | 22 | 22 | 0 | 0 | 0 |
HSinspect | 3 | 3 | 0 | 0 | 0 |
HSserial | 8 | 4 | 4 | 0 | 0 |
HSbase64 | 4 | 4 | 0 | 0 | 0 |
HScrash | 4 | 4 | 0 | 0 | 0 |
HSdistributednotifications | 3 | 3 | 0 | 0 | 0 |
HSscreen | 23 | 22 | 1 | 0 | 0 |
HSmath | 4 | 4 | 0 | 0 | 0 |
HSrequire_all | 3 | 3 | 0 | 0 | 0 |
HSfs | 14 | 13 | 1 | 0 | 0 |
HSnoises | 3 | 3 | 0 | 0 | 0 |
HSalert | 4 | 4 | 0 | 0 | 0 |
Failures
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/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/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/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/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/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/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/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/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/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/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/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 |
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/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/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/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/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/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/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()". |
Code Coverage
Details
Test Details
LuaSkinTests
LuaSkinTests
⏱️ | ||||
---|---|---|---|---|
36 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
Hammerspoon Tests
HSwebsocket
⏱️ | ||||
---|---|---|---|---|
9 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.14s |
testNew
| |
testOpenStatus
| |
testClosedStatus
| |
testTestLuaSuccess
| |
testClosingStatus
| |
testLegacy
| |
testEchoText
| |
testEchoData
| |
testrunLua
|
HSaudiodevice
⏱️ | ||||
---|---|---|---|---|
34 (81%) | 8 (19%) | 0 (0%) | 0 (0%) | 0.12s |
testToString
| |
testInputSupportsDataSources
| |
testGetAllOutputDevices
| |
testSetDefaultOutput
| |
testTransportType
| |
testThru
| |
testFindDeviceByUID
| |
testWatcherCallback
| |
testCurrentInputDataSource
| |
testMute
| |
testDataSourceToString
| |
testGetDefaultInput
| |
testTestLuaSuccess
| |
testCurrentOutputDataSource
| |
testFindOutputByUID
| |
testGetCurrentOutput
| |
testUID
| |
testrunLua
| |
testWatcher
| |
testAllInputDataSources
| |
testAllOutputDataSources
| |
testFindInputByUID
| |
testGetAllDevices
| |
testSetDefaultEffect
| |
testName
| |
testDataSourceSetDefault
| |
testGetDefaultOutput
| |
testFindInputByName
| |
testFindDeviceByName
| |
testVolume
| |
testOutputSupportsDataSources
| |
testGetAllInputDevices
| |
testFindOutputByName
| |
testOutputVolume
| |
testGetDefaultEffect
| |
testGetCurrentInput
| |
testSetDefaultInput
| |
testInputVolume
| |
testDataSourceName
| |
testIsOutputDevice
| |
testIsInputDevice
| |
testJackConnected
|
HSapplicationTests
⏱️ | ||||
---|---|---|---|---|
12 (75%) | 4 (25%) | 0 (0%) | 0 (0%) | 0.12s |
testMenus
| |
testBasicAttributes
| |
testUTI
| |
testFrontmostApplication
| |
testTestLuaSuccess
| |
testForceKilling
| |
testHiding
| |
testWindows
| |
testAttributesFromBundleID
| |
testInitWithPid
| |
testrunLua
| |
testInitWithPidFailures
| |
testMenusAsync
| |
testKilling
| |
testLocalizationFunctions
| |
testRunningApplications
|
HSmouseTests
⏱️ | ||||
---|---|---|---|---|
7 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.11s |
testMouseAbsolutePosition
| |
testTestLuaSuccess
| |
testMouseTrackingSpeed
| |
testMouseNames
| |
testMouseCount
| |
testrunLua
| |
testScrollDirection
|
HSwindowTests
⏱️ | ||||
---|---|---|---|---|
15 (79%) | 4 (21%) | 0 (0%) | 0 (0%) | 1.36s |
testAllWindows
| |
testFullscreen
| |
testOrderedWindows
| |
testRoles
| |
testTopLeft
| |
testTestLuaSuccess
| |
testApplication
| |
testrunLua
| |
testFullscreenTwo
| |
testMinimize
| |
testTabs
| |
testDesktop
| |
testSnapshots
| |
testClose
| |
testPID
| |
testTitle
| |
testFocusedWindow
| |
testSize
| |
testFullscreenOne
|
HScoresetup
⏱️ | ||||
---|---|---|---|---|
16 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 4.03s |
HSbrightness
⏱️ | ||||
---|---|---|---|---|
3 (60%) | 2 (40%) | 0 (0%) | 0 (0%) | 0.10s |
testAmbient
| |
testTestLuaSuccess
| |
testGet
| |
testrunLua
| |
testSet
|
HSappfinder
Annotations
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 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 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 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 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 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 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 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 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 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 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 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 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 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 2 seconds, with unfulfilled expectations: "testBasicHotkey()".
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