1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2025-01-06 03:25:31 +00:00

test: test-plugins: Add SIP plugin

This commit is contained in:
Evangelos Ribeiro Tzaras 2021-04-05 02:05:00 +02:00
parent e3597f4a88
commit 0b73103384

View file

@ -17,6 +17,7 @@ test_calls_plugin_loading ()
g_autoptr (CallsProvider) dummy_provider = NULL;
g_autoptr (CallsProvider) mm_provider = NULL;
g_autoptr (CallsProvider) ofono_provider = NULL;
g_autoptr (CallsProvider) sip_provider = NULL;
g_autoptr (CallsProvider) not_a_provider = NULL;
dummy_provider = calls_provider_load_plugin ("dummy");
@ -28,12 +29,16 @@ test_calls_plugin_loading ()
ofono_provider = calls_provider_load_plugin ("ofono");
g_assert_nonnull (ofono_provider);
sip_provider = calls_provider_load_plugin ("sip");
g_assert_nonnull (sip_provider);
not_a_provider = calls_provider_load_plugin ("not-a-valid-provider-plugin");
g_assert_null (not_a_provider);
calls_provider_unload_plugin ("dummy");
calls_provider_unload_plugin ("mm");
calls_provider_unload_plugin ("ofono");
calls_provider_unload_plugin ("sip");
}