internal/pipewire: add json struct tags
All checks were successful
Test / Create distribution (push) Successful in 36s
Test / Sandbox (push) Successful in 2m26s
Test / Hakurei (push) Successful in 3m19s
Test / Hpkg (push) Successful in 4m11s
Test / Sandbox (race detector) (push) Successful in 4m23s
Test / Hakurei (race detector) (push) Successful in 5m12s
Test / Flake checks (push) Successful in 1m30s
All checks were successful
Test / Create distribution (push) Successful in 36s
Test / Sandbox (push) Successful in 2m26s
Test / Hakurei (push) Successful in 3m19s
Test / Hpkg (push) Successful in 4m11s
Test / Sandbox (race detector) (push) Successful in 4m23s
Test / Hakurei (race detector) (push) Successful in 5m12s
Test / Flake checks (push) Successful in 1m30s
These match the names found in documentation. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -13,7 +13,7 @@ func TestClientInfo(t *testing.T) {
|
||||
{"sample", samplePWContainer[1][2][1], pipewire.ClientInfo{
|
||||
ID: 34,
|
||||
ChangeMask: pipewire.PW_CLIENT_CHANGE_MASK_PROPS,
|
||||
Props: &pipewire.SPADict{
|
||||
Properties: &pipewire.SPADict{
|
||||
{Key: "pipewire.protocol", Value: "protocol-native"},
|
||||
{Key: "core.name", Value: "pipewire-0"},
|
||||
{Key: "pipewire.sec.socket", Value: "pipewire-0-manager"},
|
||||
@@ -28,7 +28,7 @@ func TestClientInfo(t *testing.T) {
|
||||
{"sample*", samplePWContainer[1][3][1], pipewire.ClientInfo{
|
||||
ID: 34,
|
||||
ChangeMask: pipewire.PW_CLIENT_CHANGE_MASK_PROPS,
|
||||
Props: &pipewire.SPADict{
|
||||
Properties: &pipewire.SPADict{
|
||||
{Key: "pipewire.protocol", Value: "protocol-native"},
|
||||
{Key: "core.name", Value: "pipewire-alice-1443"},
|
||||
{Key: "pipewire.sec.socket", Value: "pipewire-0-manager"},
|
||||
@@ -72,7 +72,7 @@ func TestClientInfo(t *testing.T) {
|
||||
{"sample**", samplePWContainer[1][4][1], pipewire.ClientInfo{
|
||||
ID: 34,
|
||||
ChangeMask: pipewire.PW_CLIENT_CHANGE_MASK_PROPS,
|
||||
Props: &pipewire.SPADict{
|
||||
Properties: &pipewire.SPADict{
|
||||
{Key: "pipewire.protocol", Value: "protocol-native"},
|
||||
{Key: "core.name", Value: "pipewire-alice-1443"},
|
||||
{Key: "pipewire.sec.socket", Value: "pipewire-0-manager"},
|
||||
@@ -120,7 +120,7 @@ func TestClientUpdateProperties(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
encodingTestCases[pipewire.ClientUpdateProperties, *pipewire.ClientUpdateProperties]{
|
||||
{"sample", samplePWContainer[0][1][1], pipewire.ClientUpdateProperties{Props: &pipewire.SPADict{
|
||||
{"sample", samplePWContainer[0][1][1], pipewire.ClientUpdateProperties{Properties: &pipewire.SPADict{
|
||||
{Key: "remote.intention", Value: "manager"},
|
||||
{Key: "application.name", Value: "pw-container"},
|
||||
{Key: "application.process.binary", Value: "pw-container"},
|
||||
|
||||
Reference in New Issue
Block a user