summaryrefslogtreecommitdiff
path: root/tests/dbus/test-tpl-log-iter-xml.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Add a test for log-iter-xml/get-eventsDebarshi Ray2015-04-201-1/+45
| | | | | | | | ... to cover files with invalid XML. Since WARNINGs interfere with the test, we suppress them when testmode is on. https://bugs.freedesktop.org/show_bug.cgi?id=40675 https://bugs.freedesktop.org/show_bug.cgi?id=89595
* include telepathy-glib-dbus.hGuillaume Desmottes2013-09-271-0/+1
| | | | Not needed for now but will be for 1.0
* tests/dbus/test-tpl-log-iters-xml: use tpl_test_create_and_prepare_account()Guillaume Desmottes2013-09-271-7/+22
| | | | | | This test will rely on the TpAccount to be prepared soon. https://bugs.freedesktop.org/show_bug.cgi?id=69814
* log-walker: Run the filter synchronously in the walkerDebarshi Ray2013-01-091-4/+4
| | | | | | | | | | This ensures that the TplLogEventFilter is always run from the same thread which invoked the walker. This is implemented by keeping track of skipped events in the history instead of silently ignoring them within the LogIters. This has the nice side effect that we do not need to run the filter while rewinding. Fixes: https://bugs.freedesktop.org/54270
* Include config.h as the first thing in every .c fileDebarshi Ray2013-01-091-0/+3
| | | | | | | | | | | 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
* Make TplLogStore:name immutable.Will Thompson2012-09-251-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.
* tests: Add a test for log-iter-xml/rewindDebarshi Ray2012-08-281-0/+195
| | | | | | | ... to cover text events spanning multiple days, and a mix of call and text events. Fixes: https://bugs.freedesktop.org/41772
* tests: Add a test for log-iter-xml/get-eventsDebarshi Ray2012-08-281-0/+233
... to cover text events spanning multiple days, and a mix of call and text events. Fixes: https://bugs.freedesktop.org/41772