From 0b731033843d0a7fbe2d13ac047b66e6fe391833 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Mon, 5 Apr 2021 02:05:00 +0200 Subject: [PATCH] test: test-plugins: Add SIP plugin --- tests/test-plugins.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test-plugins.c b/tests/test-plugins.c index 63400b6..b857b5e 100644 --- a/tests/test-plugins.c +++ b/tests/test-plugins.c @@ -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"); }