aboutsummaryrefslogtreecommitdiff
path: root/tests/indicate-alot.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-01-16 12:47:51 -0600
committerTed Gould <ted@canonical.com>2009-01-16 12:47:51 -0600
commit8f801277df211416ca9636b3d28ead43f9f50a35 (patch)
tree9ba348e8bdd89ecaec99fe600641673e44eff206 /tests/indicate-alot.c
parent487239d3df7362f7f5ec5d4934a8672787f557e7 (diff)
downloadlibayatana-indicator-8f801277df211416ca9636b3d28ead43f9f50a35.tar.gz
libayatana-indicator-8f801277df211416ca9636b3d28ead43f9f50a35.tar.bz2
libayatana-indicator-8f801277df211416ca9636b3d28ead43f9f50a35.zip
Moving the tests so that they can guarantee to build after the library
builds as otherwise they end up getting built first.
Diffstat (limited to 'tests/indicate-alot.c')
-rw-r--r--tests/indicate-alot.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/indicate-alot.c b/tests/indicate-alot.c
new file mode 100644
index 0000000..bebf726
--- /dev/null
+++ b/tests/indicate-alot.c
@@ -0,0 +1,24 @@
+
+#include <glib.h>
+#include "libindicate/indicator.h"
+
+#define ALOT 30
+
+
+int
+main (int argc, char ** argv)
+{
+ g_type_init();
+
+ IndicateIndicator * indicators[ALOT];
+ int i;
+
+ for (i = 0; i < ALOT; i++) {
+ indicators[i] = indicate_indicator_new();
+ indicate_indicator_show(indicators[i]);
+ }
+
+ g_main_loop_run(g_main_loop_new(NULL, FALSE));
+
+ return 0;
+}