aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pipewire/client_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-11-27 20:06:01 +0900
committerOphestra <cat@gensokyo.uk>2025-11-27 20:06:01 +0900
commit2bafde99e352ffec2e35a1e45aaf6c26bf864485 (patch)
treea2ea7fd2a624cbf25a884eeabdf23e2d14564f00 /internal/pipewire/client_test.go
parent91efeb101a00b7d85843c5b609349d6781c4e4a4 (diff)
internal/pipewire: shorten test data filenames
These were getting very annoying to type. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pipewire/client_test.go')
-rw-r--r--internal/pipewire/client_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/pipewire/client_test.go b/internal/pipewire/client_test.go
index 96ea8fa5..3eb89623 100644
--- a/internal/pipewire/client_test.go
+++ b/internal/pipewire/client_test.go
@@ -10,7 +10,7 @@ func TestClientInfo(t *testing.T) {
t.Parallel()
encodingTestCases[pipewire.ClientInfo, *pipewire.ClientInfo]{
- {"sample", []byte(recvmsg00Message02POD), pipewire.ClientInfo{
+ {"sample", []byte(c1r2pod), pipewire.ClientInfo{
ID: 34,
ChangeMask: pipewire.PW_CLIENT_CHANGE_MASK_PROPS,
Props: &pipewire.SPADict{NItems: 9, Items: []pipewire.SPADictItem{
@@ -25,7 +25,7 @@ func TestClientInfo(t *testing.T) {
{Key: "object.serial", Value: "34"},
}}}, nil},
- {"sample*", []byte(recvmsg00Message03POD), pipewire.ClientInfo{
+ {"sample*", []byte(c1r3pod), pipewire.ClientInfo{
ID: 34,
ChangeMask: pipewire.PW_CLIENT_CHANGE_MASK_PROPS,
Props: &pipewire.SPADict{NItems: 38, Items: []pipewire.SPADictItem{
@@ -69,7 +69,7 @@ func TestClientInfo(t *testing.T) {
{Key: "core.version", Value: "1.4.7"},
}}}, nil},
- {"sample**", []byte(recvmsg00Message04POD), pipewire.ClientInfo{
+ {"sample**", []byte(c1r4pod), pipewire.ClientInfo{
ID: 34,
ChangeMask: pipewire.PW_CLIENT_CHANGE_MASK_PROPS,
Props: &pipewire.SPADict{NItems: 39, Items: []pipewire.SPADictItem{
@@ -120,7 +120,7 @@ func TestClientUpdateProperties(t *testing.T) {
t.Parallel()
encodingTestCases[pipewire.ClientUpdateProperties, *pipewire.ClientUpdateProperties]{
- {"sample", []byte(sendmsg00Message01POD), pipewire.ClientUpdateProperties{Props: &pipewire.SPADict{NItems: 0x1e, Items: []pipewire.SPADictItem{
+ {"sample", []byte(c0s1pod), pipewire.ClientUpdateProperties{Props: &pipewire.SPADict{NItems: 0x1e, Items: []pipewire.SPADictItem{
{Key: "remote.intention", Value: "manager"},
{Key: "application.name", Value: "pw-container"},
{Key: "application.process.binary", Value: "pw-container"},