aboutsummaryrefslogtreecommitdiff
path: root/tests/test-libcustomindicator.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-libcustomindicator.c')
-rw-r--r--tests/test-libcustomindicator.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/test-libcustomindicator.c b/tests/test-libcustomindicator.c
index fab411d..6dc9fe9 100644
--- a/tests/test-libcustomindicator.c
+++ b/tests/test-libcustomindicator.c
@@ -2,6 +2,25 @@
#include <glib.h>
#include <glib-object.h>
+#include <libcustomindicator/custom-indicator.h>
+
+void
+test_libcustomindicator_init (void)
+{
+ CustomIndicator * ci = CUSTOM_INDICATOR(g_object_new(CUSTOM_INDICATOR_TYPE, NULL));
+ g_assert(ci != NULL);
+ g_object_unref(G_OBJECT(ci));
+}
+
+void
+test_libcustomindicator_props_suite (void)
+{
+ g_test_add_func ("/indicator-custom/libcustomindicator/init", test_libcustomindicator_init);
+
+
+ return;
+}
+
gint
main (gint argc, gchar * argv[])
{
@@ -9,6 +28,8 @@ main (gint argc, gchar * argv[])
g_test_init(&argc, &argv, NULL);
/* Test suites */
+ test_libcustomindicator_props_suite();
+
return g_test_run ();
}