summaryrefslogtreecommitdiff
path: root/tests/dbus
AgeCommit message (Collapse)AuthorFilesLines
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-03-01Moved sqlite test with dbus testsNicolas Dufresne2-0/+34
2011-03-01Moves observer test with dbus testsNicolas Dufresne2-0/+50
Also removed unused dependency to TplChannelTest.
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-24Merge branch 'tests-fix'Nicolas Dufresne2-78/+137
2011-02-24test-tpl-log-store-xml: don't ignore system() return value so gcc is happyGuillaume Desmottes1-1/+3
2011-02-24Fix test_get_dates() to use GDate methodNicolas Dufresne1-3/+3
This test was using g_free() to free dates. Also was sorting GDate with g_strcmp0.
2011-02-24Convert test_get_events_for_date() to _async() methodNicolas Dufresne1-6/+24
2011-02-24Convert test_get_entities() to use _async() methodNicolas Dufresne1-7/+26
2011-02-24Convert test_get_dates() to use _async() methodNicolas Dufresne1-8/+29
2011-02-24Move non-test code on topNicolas Dufresne1-77/+78
2011-02-24Replace empty log-manager test with test-searchesNicolas Dufresne2-1/+1
2011-02-24Sort entities to make test deterministictelepathy-logger-0.2.0Danielle Madeley1-0/+12
2011-02-23Set logs file mod so it can be cleared in distcheckNicolas Dufresne1-0/+5
2011-02-23Fix 'make dist' so it worksNicolas Dufresne1-5/+0
2011-02-23Fix double free in xml log store and unit testNicolas Dufresne1-0/+32
2011-02-22Introduce TplEventTypeMask to be able to select event typeNicolas Dufresne3-19/+28
2011-02-22Make TplEntity constructors publicNicolas Dufresne4-32/+23
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-22Fix valgrind support in tests/dbusNicolas Dufresne1-1/+1
This is just a quick fix, there seems to be redondant stuff between valgrind.mk and the Makefiles.am.
2011-02-22Move away from id/type pair in favor of TplEntityNicolas Dufresne2-16/+46
In the first rework step, TplEventSearchType was introduced with wrong assomption. This item was merging entity type and event type together. To make thing simple, this patch replace the pair with a TplEntity object that contain all the required information about the Entity. This enable for more complete logs in the future and fix bugs where get_entities() won't return chatrooms.
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 Dufresne2-0/+117
2011-02-08Renamed TplEventText into TplTextEventNicolas Dufresne1-4/+4
This renames the subclass in a more natural and more traditional way as found in many other GObject based APIs.
2011-02-07Refactored TplEvent/TplEventTextNicolas Dufresne1-2/+2
Enforces using g_object_new() instead of the partial _new() method with loads of get/set. This imply removing all the get/set methods that are not strictly required, making the properties construct only and porting the rest of the code. This change also make "make check" work again. Some more cleanup is also included.
2011-02-07Room can be deduced from the receiver typeNicolas Dufresne1-2/+2
Rename and move is_chatroom from TplEventText to TplEvent and implement it by looking at the receiver type. Note that this breaks make check because none of the current log-store sets the receiver.
2011-01-21Remove white space at end of linesNicolas Dufresne1-2/+2
2011-01-21Move test-entity to dbus enabled test and cleanupNicolas Dufresne4-18/+194
As tpl-entity uses dbus, move it to dbus enabled test so it runs in sep dbus session. Also cleanup makefiles and headers so it all compiles well.
2011-01-21Remove search_in_identifier test since it deprecatedNicolas Dufresne1-37/+0
2011-01-21Add test/dbus testsuites, as tp-glib does.Cosimo Alfarano4-0/+990
Importing only the needed modules from tests/lib/