tests: si-standard-link: test that endpoint-link properties are set

This commit is contained in:
George Kiagiadakis 2020-06-01 19:03:39 +03:00
parent d8a42d2ec3
commit 64347e67e2

View file

@ -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), ==,