From f64b5d9528ff05508224d48652edbfde1d497243 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 13 Jan 2009 13:44:00 -0600 Subject: Forgot to actually add the test --- libindicate/tests/indicate-alot.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 libindicate/tests/indicate-alot.c (limited to 'libindicate/tests/indicate-alot.c') diff --git a/libindicate/tests/indicate-alot.c b/libindicate/tests/indicate-alot.c new file mode 100644 index 0000000..bebf726 --- /dev/null +++ b/libindicate/tests/indicate-alot.c @@ -0,0 +1,24 @@ + +#include +#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; +} -- cgit v1.2.3