aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLaurent Contzen <lcontzen@gmail.com>2012-08-10 21:51:47 +0800
committerLaurent Contzen <lcontzen@gmail.com>2012-08-10 21:51:47 +0800
commit91186e9bfcc4dc46d329f18ff0533a6bfff97a65 (patch)
tree87d7d74010a58d0fb91f1258055ff15579878e2e /tests
parent8ace92204ecc0e898ad7286deeb702238b47a8be (diff)
downloadgsoc2013-empathy-91186e9bfcc4dc46d329f18ff0533a6bfff97a65.tar.gz
gsoc2013-empathy-91186e9bfcc4dc46d329f18ff0533a6bfff97a65.tar.zst
gsoc2013-empathy-91186e9bfcc4dc46d329f18ff0533a6bfff97a65.zip
model-aggregator test app filters on avatar presence
Diffstat (limited to 'tests')
-rw-r--r--tests/interactive/test-empathy-roster-model-aggregator.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/interactive/test-empathy-roster-model-aggregator.c b/tests/interactive/test-empathy-roster-model-aggregator.c
index 9d2467ed1..49f2012f0 100644
--- a/tests/interactive/test-empathy-roster-model-aggregator.c
+++ b/tests/interactive/test-empathy-roster-model-aggregator.c
@@ -84,6 +84,10 @@ filter (EmpathyRosterModel *model,
FolksIndividual *individual,
gpointer user_data)
{
+ if (folks_avatar_details_get_avatar (FOLKS_AVATAR_DETAILS (individual))
+ == NULL)
+ return FALSE;
+
return TRUE;
}