aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-01-28 21:42:34 -0600
committerTed Gould <ted@gould.cx>2012-01-28 21:42:34 -0600
commit2d03f1d2b167e4b0ca56d4034e039cbfb9ffbd70 (patch)
treec5887397409d6af467ee68daff1879814ddef89c /tests
parent84ba24014072bc09f8200d252c6e8a35b00e593c (diff)
downloadlibayatana-appindicator-2d03f1d2b167e4b0ca56d4034e039cbfb9ffbd70.tar.gz
libayatana-appindicator-2d03f1d2b167e4b0ca56d4034e039cbfb9ffbd70.tar.bz2
libayatana-appindicator-2d03f1d2b167e4b0ca56d4034e039cbfb9ffbd70.zip
Adding a test to track setting of the title
Diffstat (limited to 'tests')
-rw-r--r--tests/test-libappindicator.c2
1 files changed, 2 insertions, 0 deletions
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);