aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-02-03 14:37:56 -0600
committerTed Gould <ted@gould.cx>2012-02-03 14:37:56 -0600
commit7256c1864e94cf172a4c487a5f434e58f6f71666 (patch)
tree753e4ef9395c1313dd77bf2893df9ea19c94e7ed /tests
parent334e44dbb08303113ece1baf163ab7d9dd5561a4 (diff)
parent4ccb5d75887671bce24df6eeaacd7eb89b2be189 (diff)
downloadlibayatana-appindicator-7256c1864e94cf172a4c487a5f434e58f6f71666.tar.gz
libayatana-appindicator-7256c1864e94cf172a4c487a5f434e58f6f71666.tar.bz2
libayatana-appindicator-7256c1864e94cf172a4c487a5f434e58f6f71666.zip
Import upstream version 0.4.90
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.in2
-rw-r--r--tests/test-libappindicator.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/Makefile.in b/tests/Makefile.in
index 4cc9396..2241c74 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -264,6 +264,8 @@ MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@
MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@
+MONO_NUNIT_CFLAGS = @MONO_NUNIT_CFLAGS@
+MONO_NUNIT_LIBS = @MONO_NUNIT_LIBS@
NM = @NM@
NMEDIT = @NMEDIT@
NUNIT_CFLAGS = @NUNIT_CFLAGS@
diff --git a/tests/test-libappindicator.c b/tests/test-libappindicator.c
index cadf783..7afd3ba 100644
--- a/tests/test-libappindicator.c
+++ b/tests/test-libappindicator.c
@@ -123,10 +123,12 @@ test_libappindicator_init_set_props (void)
app_indicator_set_status(ci, APP_INDICATOR_STATUS_ACTIVE);
app_indicator_set_attention_icon(ci, "my-attention-name");
+ app_indicator_set_title(ci, "My Title");
g_assert(!g_strcmp0("my-id", app_indicator_get_id(ci)));
g_assert(!g_strcmp0("my-name", app_indicator_get_icon(ci)));
g_assert(!g_strcmp0("my-attention-name", app_indicator_get_attention_icon(ci)));
+ g_assert(!g_strcmp0("My Title", app_indicator_get_title(ci)));
g_assert(app_indicator_get_status(ci) == APP_INDICATOR_STATUS_ACTIVE);
g_assert(app_indicator_get_category(ci) == APP_INDICATOR_CATEGORY_APPLICATION_STATUS);