diff options
Diffstat (limited to 'tests/bliptv/test_bliptv.c')
-rw-r--r-- | tests/bliptv/test_bliptv.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/bliptv/test_bliptv.c b/tests/bliptv/test_bliptv.c index 3ada272..15dddfa 100644 --- a/tests/bliptv/test_bliptv.c +++ b/tests/bliptv/test_bliptv.c @@ -38,6 +38,17 @@ test_setup (void) } static void +test_unload (const gchar *plugin_id) +{ + GError *error = NULL; + GrlRegistry *registry; + + registry = grl_registry_get_default (); + grl_registry_unload_plugin (registry, plugin_id, &error); + g_assert_no_error (error); +} + +static void test_browse (void) { GError *error = NULL; @@ -274,4 +285,6 @@ main(int argc, char **argv) g_test_add_func ("/bliptv/autosplit", test_autosplit); return g_test_run (); + + test_unload (BLIPTV_ID); } |