summaryrefslogtreecommitdiff
path: root/tests/dbus/test-tpl-log-store-xml.c
AgeCommit message (Collapse)AuthorFilesLines
2015-04-20tests: Add new TpLogger logs that don't parse as XMLDebarshi Ray1-1/+1
This is meant to flex the error handling code paths. https://bugs.freedesktop.org/show_bug.cgi?id=40675 https://bugs.freedesktop.org/show_bug.cgi?id=89595
2013-09-30test-tpl-log-store: test end reasonsGuillaume Desmottes1-0/+15
2013-09-27use account's normalized name instead of its account idGuillaume Desmottes1-2/+4
It doesn't make sense to use the account opaque ID as 'self id'. Fix fdo#69814.
2013-09-27tests/dbus/test-tpl-log-store-xml: use tpl_test_create_and_prepare_account()Guillaume Desmottes1-18/+38
This test will rely on the TpAccount to be prepared soon. https://bugs.freedesktop.org/show_bug.cgi?id=69814
2013-09-25fix tp-glib single headersGuillaume Desmottes1-1/+1
https://bugs.freedesktop.org/show_bug.cgi?id=69797
2013-09-25stop using tp_account_new()Guillaume Desmottes1-19/+22
https://bugs.freedesktop.org/show_bug.cgi?id=69797
2013-04-08Make log-manager tests writableDan Vrátil1-22/+1
2013-01-09Include config.h as the first thing in every .c fileDebarshi Ray1-0/+2
This is Autoconf best-practice, and ensures that the GLib and Telepathy version-selection macros defined by configure.ac work as intended. Including config.h turns on ENABLE_DEBUG, which in turn leads to the usage of _tpl_debug_set_flags_from_env. In those cases we should include telepathy-logger/debug-internal.h also. Fixes: https://bugs.freedesktop.org/59165
2012-09-25Make TplLogStore:name immutable.Will Thompson1-1/+0
For all log stores except the Xml one, this is always set to the same thing. For the Xml one, the name of the store depends entirely on the value of empathy-legacy.
2012-03-28Port TplCallChannel to Call1 APINicolas Dufresne1-6/+4
This include a API break in the unstable Call code. Code using the unstable call log feature will need porting.
2011-05-26test_add_superseding_event: add some edit timestampsDavid Laban1-3/+14
They should be preserved, but shouldn't affect how events are processed.
2011-05-26Revert "Update tests to use original-timestamp"David Laban1-9/+5
This reverts commit 31411d5c9d19678ff862e07c508ff3cf78cbf40a.
2011-05-26Test case where first call is older then any textNicolas Dufresne1-2/+28
2011-05-26Add comment to explain a bit the testsNicolas Dufresne1-0/+4
2011-05-26Fixed initial call event_queue_insert_sorted_after()Nicolas Dufresne1-15/+16
The current code would always insert after the first element.
2011-05-26Fixed initialised but unused warningNicolas Dufresne1-3/+1
2011-05-25Fix warn not checking system() return valueNicolas Dufresne1-1/+4
2011-05-24Update tests to use original-timestampDavid Laban1-5/+9
2011-05-24text-event: s/dup_supersedes/get_supersedes/David Laban1-11/+5
Copying and freeing lists of events is a waste of time. Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
2011-05-19fixup! fixup! Test message edits that have broken timestampsDavid Laban1-9/+9
cast to GFunc
2011-05-19fixup! fixup! Add tests to cover messages arriving a bit/a lot lateDavid Laban1-2/+2
cast to GFunc
2011-05-19fixup! Test message edits that have broken timestampsDavid Laban1-9/+22
Note that this also fixes something from "test_add_superseding_event" but rebasing to fix that would cause conflicts so I'm not going to.
2011-05-19fixup! Add tests to cover messages arriving a bit/a lot lateDavid Laban1-2/+4
2011-05-18Test message edits that have broken timestampsDavid Laban1-3/+80
Note that the timestamps on edits should be that of the original message if possible.
2011-05-18Add tests to cover messages arriving a bit/a lot lateDavid Laban1-7/+39
2011-05-18assert_cmp_text_event Change the order of assertionsDavid Laban1-4/+4
This makes things easier to debug, because the message is usually more easily identifiable.
2011-05-17test_add_superseding_eventDavid Laban1-0/+120
a; b supersedes a; c supersedes a;
2011-05-17Store, save and test message-token and supersedes-tokenDavid Laban1-0/+2
2011-05-11all: fix -Wunused-but-set-variable warningsJonny Lamb1-2/+1
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-05-05Test XML store get_events_for_date()Nicolas Dufresne1-0/+111
2011-05-03Test reimplemented exists() methodNicolas Dufresne1-0/+58
2011-05-03Add debug trace supportNicolas Dufresne1-1/+15
2011-05-03Remove left ofter tempory tracesNicolas Dufresne1-2/+0
2011-03-25Cast to gint64 before setting "duration" propertyNicolas Dufresne1-4/+4
Without the cast, a 32bit integer will be stored in the va_list, which will lead to a shorter structure and potential crash.
2011-03-25Implement call storage testNicolas Dufresne1-0/+197
2011-03-25Use regex instead of simple strstr to search XMLNicolas Dufresne1-14/+14
2011-03-15Remove log_id from XML log storeNicolas Dufresne1-4/+0
2011-03-01Fix XML store test crash on 32bit machineNicolas Dufresne1-4/+5
The XML store was allocating event passing native integers as timestamp property, which was causing crash on 32bit since TPL timestamp are 64bit.
2011-02-28Add a XML log store test for add_eventNicolas Dufresne1-0/+174
2011-02-28Change fixture->store to be a TplLogStoreNicolas Dufresne1-24/+22
This reduces the amount of code since it is used as a TplLogStore mostly everywhere.
2011-02-24test-tpl-log-store-xml: don't ignore system() return value so gcc is happyGuillaume Desmottes1-1/+3
2011-02-23Set logs file mod so it can be cleared in distcheckNicolas Dufresne1-0/+5
2011-02-22Introduce TplEventTypeMask to be able to select event typeNicolas Dufresne1-12/+14
2011-02-22Make TplEntity constructors publicNicolas Dufresne1-8/+3
Implement a generic constructor along with making public all TplEntity constructors. This is required now that the LogManager API require TplEntity object instead of id/is_room pair.
2011-02-10Implement XML store test for clear_entityNicolas Dufresne1-0/+96
2011-02-10Implement XML log store test for clear_accountNicolas Dufresne1-0/+57
2011-02-10Implement test for XML logstore clear methodNicolas Dufresne1-0/+116