mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-04 21:18:03 +02:00
tests: si-standard-link: test that endpoint-link properties are set
This commit is contained in:
parent
d8a42d2ec3
commit
64347e67e2
1 changed files with 10 additions and 0 deletions
|
|
@ -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_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;
|
||||
g_assert_cmpuint (wp_endpoint_link_get_state (ep_link, &error), ==,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue