Expose live application audio groups
This commit is contained in:
@@ -77,6 +77,14 @@ mute_result="$(qs_for_harness ipc call application-volume-test mutateMute)"
|
||||
jq -e '.changed == true and .muted == [true, true]' <<<"$mute_result" >/dev/null \
|
||||
|| fail "mute mutation did not reach every stream: $mute_result"
|
||||
|
||||
service_summary="$(qs_for_harness ipc call application-volume-test serviceSummary)"
|
||||
jq -e '.count >= 0 and .validTypes == true' <<<"$service_summary" >/dev/null \
|
||||
|| fail "live service exposed invalid playback groups: $service_summary"
|
||||
|
||||
invalid_result="$(qs_for_harness ipc call application-volume-test invalidMutations)"
|
||||
jq -e '.nullVolume == false and .emptyMute == false' <<<"$invalid_result" >/dev/null \
|
||||
|| fail "service mutators accepted missing audio nodes: $invalid_result"
|
||||
|
||||
if rg -n 'ReferenceError|TypeError|Binding loop|Cannot assign|PwObjectTracker' "$shell_log"; then
|
||||
fail 'isolated harness emitted a QML runtime error'
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user