summaryrefslogtreecommitdiffstats
path: root/test/test-mock.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-08-31 23:14:16 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-09-19 15:11:06 +0200
commit034204d3d8d1a32b1a20e50697c5f81db6fb20cf (patch)
treed2c8265bacbd591aa53865310437a6bfa4366c45 /test/test-mock.c
parent539b6cebd615d71b377941e250117ebb99e49c27 (diff)
downloaduca-034204d3d8d1a32b1a20e50697c5f81db6fb20cf.tar.gz
uca-034204d3d8d1a32b1a20e50697c5f81db6fb20cf.tar.bz2
uca-034204d3d8d1a32b1a20e50697c5f81db6fb20cf.tar.xz
uca-034204d3d8d1a32b1a20e50697c5f81db6fb20cf.zip
Initial plugin manager
Diffstat (limited to 'test/test-mock.c')
-rw-r--r--test/test-mock.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/test-mock.c b/test/test-mock.c
index 7594a3a..625a3fe 100644
--- a/test/test-mock.c
+++ b/test/test-mock.c
@@ -1,6 +1,7 @@
#include <glib.h>
#include "uca-camera.h"
+#include "uca-plugin-manager.h"
#include "cameras/uca-mock-camera.h"
typedef struct {
@@ -160,6 +161,14 @@ static void test_signal(Fixture *fixture, gconstpointer data)
int main(int argc, char *argv[])
{
g_type_init();
+
+ UcaPluginManager *manager = uca_plugin_manager_new ();
+ GList *list = uca_plugin_manager_get_available_cameras (manager);
+
+ g_list_free (list);
+
+ g_object_unref (manager);
+
g_test_init(&argc, &argv, NULL);
g_test_bug_base("http://ufo.kit.edu/ufo/ticket");