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:
parent
e3597f4a88
commit
0b73103384
1 changed files with 5 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue