aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-21 09:23:21 -0500
committerTed Gould <ted@canonical.com>2009-10-21 09:23:21 -0500
commit10e95506d81335d394b9cd955b7728b528c0fe4e (patch)
tree8a24fc179d7ba464f61fdf61c0ee323074d6046e
parent5e928c9ce0cbeaa1a1050a7c0e8f10fb7027514c (diff)
downloadayatana-indicator-application-10e95506d81335d394b9cd955b7728b528c0fe4e.tar.gz
ayatana-indicator-application-10e95506d81335d394b9cd955b7728b528c0fe4e.tar.bz2
ayatana-indicator-application-10e95506d81335d394b9cd955b7728b528c0fe4e.zip
Woot! We can build a custom indicator, and it exists.
-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 ();
}