summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/dbus/test-log-manager.c2
-rw-r--r--tests/dbus/test-tpl-log-store-xml.c2
-rw-r--r--tests/logs/TpLogger/logs/gabble_jabber_user_40collabora_2eco_2euk/user6@collabora.co.uk/20140101.log6
-rw-r--r--tests/logs/TpLogger/logs/gabble_jabber_user_40collabora_2eco_2euk/user6@collabora.co.uk/20140102.log6
-rw-r--r--tests/logs/TpLogger/logs/gabble_jabber_user_40collabora_2eco_2euk/user6@collabora.co.uk/20140103.log5
5 files changed, 19 insertions, 2 deletions
diff --git a/tests/dbus/test-log-manager.c b/tests/dbus/test-log-manager.c
index 3a2bf3f..701d948 100644
--- a/tests/dbus/test-log-manager.c
+++ b/tests/dbus/test-log-manager.c
@@ -540,7 +540,7 @@ test_get_entities (TestCaseFixture *fixture,
get_entities_cb, fixture);
g_main_loop_run (fixture->main_loop);
- g_assert_cmpint (g_list_length (fixture->ret), ==, 5);
+ g_assert_cmpint (g_list_length (fixture->ret), ==, 6);
/* we do not want duplicates */
fixture->ret = g_list_sort (fixture->ret, (GCompareFunc) _tpl_entity_compare);
diff --git a/tests/dbus/test-tpl-log-store-xml.c b/tests/dbus/test-tpl-log-store-xml.c
index e2bd4d8..5b109e0 100644
--- a/tests/dbus/test-tpl-log-store-xml.c
+++ b/tests/dbus/test-tpl-log-store-xml.c
@@ -122,7 +122,7 @@ test_clear (XmlTestCaseFixture *fixture,
TPL_EVENT_MASK_TEXT);
g_assert (hits != NULL);
- g_assert_cmpint (g_list_length (hits), ==, 4);
+ g_assert_cmpint (g_list_length (hits), ==, 5);
tpl_log_manager_search_free (hits);
diff --git a/tests/logs/TpLogger/logs/gabble_jabber_user_40collabora_2eco_2euk/user6@collabora.co.uk/20140101.log b/tests/logs/TpLogger/logs/gabble_jabber_user_40collabora_2eco_2euk/user6@collabora.co.uk/20140101.log
new file mode 100644
index 0000000..26a149c
--- /dev/null
+++ b/tests/logs/TpLogger/logs/gabble_jabber_user_40collabora_2eco_2euk/user6@collabora.co.uk/20140101.log
@@ -0,0 +1,6 @@
+<?xml version='1.0' encoding='utf-8'?>
+<?xml-stylesheet type="text/xsl" href="log-store-xml.xsl"?>
+<log>
+<message time='20140101T09:26:07' cm_id='456' id='user6@collabora.co.uk' name='User6' token='' isuser='false' type='normal'>1</message>
+<message time='20140101T09:27:20' cm_id='456' id='user6@collabora.co.uk' name='User6' token='' isuser='false' type='normal'>2</message>
+</log>
diff --git a/tests/logs/TpLogger/logs/gabble_jabber_user_40collabora_2eco_2euk/user6@collabora.co.uk/20140102.log b/tests/logs/TpLogger/logs/gabble_jabber_user_40collabora_2eco_2euk/user6@collabora.co.uk/20140102.log
new file mode 100644
index 0000000..5cd55b8
--- /dev/null
+++ b/tests/logs/TpLogger/logs/gabble_jabber_user_40collabora_2eco_2euk/user6@collabora.co.uk/20140102.log
@@ -0,0 +1,6 @@
+<?xml version='1.0' encoding='utf-8'?>
+<?xml-stylesheet type="text/xsl" href="log-store-xml.xsl"?>
+<log>
+<message time='20140102T16:27:50' cm_id='456' id='user6@collabora.co.uk' name='User6' token='' isuser='false' type='normal'>&#x8;</message>
+<message time='20140102T16:27:51' cm_id='456' id='user6@collabora.co.uk' name='User6' token='' isuser='false' type='normal'>3&#x8;4</message>
+</log>
diff --git a/tests/logs/TpLogger/logs/gabble_jabber_user_40collabora_2eco_2euk/user6@collabora.co.uk/20140103.log b/tests/logs/TpLogger/logs/gabble_jabber_user_40collabora_2eco_2euk/user6@collabora.co.uk/20140103.log
new file mode 100644
index 0000000..80a9e6c
--- /dev/null
+++ b/tests/logs/TpLogger/logs/gabble_jabber_user_40collabora_2eco_2euk/user6@collabora.co.uk/20140103.log
@@ -0,0 +1,5 @@
+<?xml version='1.0' encoding='utf-8'?>
+<?xml-stylesheet type="text/xsl" href="log-store-xml.xsl"?>
+<log>
+<message time='20140103T09:26:07' cm_id='456' id='user@collabora.co.uk' name='User1' token='' isuser='false' type='normal'>5</message>
+</log>