Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Martin Koch
wireplumber
Commits
64347e67
Commit
64347e67
authored
Jun 01, 2020
by
George Kiagiadakis
Browse files
tests: si-standard-link: test that endpoint-link properties are set
parent
d8a42d2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/modules/si-standard-link.c
View file @
64347e67
...
@@ -214,6 +214,16 @@ test_si_standard_link_main (TestFixture * f, gconstpointer user_data)
...
@@ -214,6 +214,16 @@ test_si_standard_link_main (TestFixture * f, gconstpointer user_data)
g_assert_cmpuint
(
in_stream
,
==
,
wp_proxy_get_bound_id
(
WP_PROXY
(
sink_stream
)));
g_assert_cmpuint
(
in_stream
,
==
,
wp_proxy_get_bound_id
(
WP_PROXY
(
sink_stream
)));
}
}
{
g_autoptr
(
WpProperties
)
p
=
wp_proxy_get_properties
(
WP_PROXY
(
ep_link
));
g_assert_nonnull
(
p
);
g_assert_nonnull
(
wp_properties_get
(
p
,
"endpoint-link.input.endpoint"
));
g_assert_nonnull
(
wp_properties_get
(
p
,
"endpoint-link.input.stream"
));
g_assert_nonnull
(
wp_properties_get
(
p
,
"endpoint-link.output.endpoint"
));
g_assert_nonnull
(
wp_properties_get
(
p
,
"endpoint-link.output.stream"
));
}
{
{
const
gchar
*
error
=
NULL
;
const
gchar
*
error
=
NULL
;
g_assert_cmpuint
(
wp_endpoint_link_get_state
(
ep_link
,
&
error
),
==
,
g_assert_cmpuint
(
wp_endpoint_link_get_state
(
ep_link
,
&
error
),
==
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment