summaryrefslogtreecommitdiff
path: root/tests/dbus/test-tpl-log-store-xml.c
Commit message (Collapse)AuthorAgeFilesLines
* use account's normalized name instead of its account idGuillaume Desmottes2013-09-271-2/+4
| | | | | | It doesn't make sense to use the account opaque ID as 'self id'. Fix fdo#69814.
* tests/dbus/test-tpl-log-store-xml: use tpl_test_create_and_prepare_account()Guillaume Desmottes2013-09-271-18/+38
| | | | | | This test will rely on the TpAccount to be prepared soon. https://bugs.freedesktop.org/show_bug.cgi?id=69814
* fix tp-glib single headersGuillaume Desmottes2013-09-251-1/+1
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=69797
* stop using tp_account_new()Guillaume Desmottes2013-09-251-19/+22
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=69797
* Make log-manager tests writableDan Vrátil2013-04-081-22/+1
|
* Include config.h as the first thing in every .c fileDebarshi Ray2013-01-091-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
* 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.
* Port TplCallChannel to Call1 APINicolas Dufresne2012-03-281-6/+4
| | | | | This include a API break in the unstable Call code. Code using the unstable call log feature will need porting.
* test_add_superseding_event: add some edit timestampsDavid Laban2011-05-261-3/+14
| | | | They should be preserved, but shouldn't affect how events are processed.
* Revert "Update tests to use original-timestamp"David Laban2011-05-261-9/+5
| | | | This reverts commit 31411d5c9d19678ff862e07c508ff3cf78cbf40a.
* Test case where first call is older then any textNicolas Dufresne2011-05-261-2/+28
|
* Add comment to explain a bit the testsNicolas Dufresne2011-05-261-0/+4
|
* Fixed initial call event_queue_insert_sorted_after()Nicolas Dufresne2011-05-261-15/+16
| | | | The current code would always insert after the first element.
* Fixed initialised but unused warningNicolas Dufresne2011-05-261-3/+1
|
* Fix warn not checking system() return valueNicolas Dufresne2011-05-251-1/+4
|
* Update tests to use original-timestampDavid Laban2011-05-241-5/+9
|
* text-event: s/dup_supersedes/get_supersedes/David Laban2011-05-241-11/+5
| | | | | | Copying and freeing lists of events is a waste of time. Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
* fixup! fixup! Test message edits that have broken timestampsDavid Laban2011-05-191-9/+9
| | | | cast to GFunc
* fixup! fixup! Add tests to cover messages arriving a bit/a lot lateDavid Laban2011-05-191-2/+2
| | | | cast to GFunc
* fixup! Test message edits that have broken timestampsDavid Laban2011-05-191-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.
* fixup! Add tests to cover messages arriving a bit/a lot lateDavid Laban2011-05-191-2/+4
|
* Test message edits that have broken timestampsDavid Laban2011-05-181-3/+80
| | | | | Note that the timestamps on edits should be that of the original message if possible.
* Add tests to cover messages arriving a bit/a lot lateDavid Laban2011-05-181-7/+39
|
* assert_cmp_text_event Change the order of assertionsDavid Laban2011-05-181-4/+4
| | | | | This makes things easier to debug, because the message is usually more easily identifiable.
* test_add_superseding_eventDavid Laban2011-05-171-0/+120
| | | | | | a; b supersedes a; c supersedes a;
* Store, save and test message-token and supersedes-tokenDavid Laban2011-05-171-0/+2
|
* all: fix -Wunused-but-set-variable warningsJonny Lamb2011-05-111-2/+1
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Test XML store get_events_for_date()Nicolas Dufresne2011-05-051-0/+111
|
* Test reimplemented exists() methodNicolas Dufresne2011-05-031-0/+58
|
* Add debug trace supportNicolas Dufresne2011-05-031-1/+15
|
* Remove left ofter tempory tracesNicolas Dufresne2011-05-031-2/+0
|
* Cast to gint64 before setting "duration" propertyNicolas Dufresne2011-03-251-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.
* Implement call storage testNicolas Dufresne2011-03-251-0/+197
|
* Use regex instead of simple strstr to search XMLNicolas Dufresne2011-03-251-14/+14
|
* Remove log_id from XML log storeNicolas Dufresne2011-03-151-4/+0
|
* Fix XML store test crash on 32bit machineNicolas Dufresne2011-03-011-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.
* Add a XML log store test for add_eventNicolas Dufresne2011-02-281-0/+174
|
* Change fixture->store to be a TplLogStoreNicolas Dufresne2011-02-281-24/+22
| | | | | This reduces the amount of code since it is used as a TplLogStore mostly everywhere.
* test-tpl-log-store-xml: don't ignore system() return value so gcc is happyGuillaume Desmottes2011-02-241-1/+3
|
* Set logs file mod so it can be cleared in distcheckNicolas Dufresne2011-02-231-0/+5
|
* Introduce TplEventTypeMask to be able to select event typeNicolas Dufresne2011-02-221-12/+14
|
* Make TplEntity constructors publicNicolas Dufresne2011-02-221-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.
* Implement XML store test for clear_entityNicolas Dufresne2011-02-101-0/+96
|
* Implement XML log store test for clear_accountNicolas Dufresne2011-02-101-0/+57
|
* Implement test for XML logstore clear methodNicolas Dufresne2011-02-101-0/+116