internal/pipewire: move test data to files

These get very big later on, and would be painful to represent as the compound literal.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-11-25 08:09:10 +09:00
parent 88d3e46413
commit e77652bf89
8 changed files with 29 additions and 433 deletions

View File

@@ -0,0 +1,17 @@
package pipewire_test
import (
_ "embed"
)
var (
//go:embed testdata/00-sendmsg00-message00-header
sendmsg00Message00Header string
//go:embed testdata/01-sendmsg00-message00-POD
sendmsg00Message00POD string
//go:embed testdata/02-sendmsg00-message01-header
sendmsg00Message01Header string
//go:embed testdata/03-sendmsg00-message01-POD
sendmsg00Message01POD string
)