~ubuntu-branches/ubuntu/quantal/telepathy-logger/quantal

« back to all changes in this revision

Viewing changes to tests/dbus/test-log-manager.c

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2011-05-13 12:35:32 UTC
  • mfrom: (14.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110513123532-9rbt6z6gs50o3as4
Tags: 0.2.9-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#include "lib/simple-account.h"
5
5
#include "lib/simple-account-manager.h"
6
6
 
7
 
#include <telepathy-logger/debug-internal.h>
8
 
#include <telepathy-logger/log-manager-internal.h>
9
 
#include <telepathy-logger/log-store-internal.h>
 
7
#include "telepathy-logger/debug-internal.h"
 
8
#include "telepathy-logger/log-manager-internal.h"
 
9
#include "telepathy-logger/log-store-internal.h"
10
10
 
11
11
#include <telepathy-glib/debug-sender.h>
12
12
 
13
 
/* it was defined in telepathy-logger/log-store-pidgin.c */
 
13
/* it was defined in telepathy-logger/log-manager.c */
14
14
#undef DEBUG_FLAG
15
15
#define DEBUG_FLAG TPL_DEBUG_TESTSUITE
16
 
#include <telepathy-logger/debug-internal.h>
17
16
 
18
17
#define ACCOUNT_PATH_JABBER TP_ACCOUNT_OBJECT_PATH_BASE "gabble/jabber/user_40collabora_2eco_2euk"
19
18
#define MY_ID "user@collabora.co.uk"
440
439
      get_entities_cb, fixture);
441
440
  g_main_loop_run (fixture->main_loop);
442
441
 
443
 
  g_assert_cmpint (g_list_length (fixture->ret), ==, 2);
 
442
  g_assert_cmpint (g_list_length (fixture->ret), ==, 4);
444
443
 
445
444
  /* we do not want duplicates */
446
445
  fixture->ret = g_list_sort (fixture->ret, (GCompareFunc) _tpl_entity_compare);