summaryrefslogtreecommitdiff
path: root/tests/dbus
Commit message (Collapse)AuthorAgeFilesLines
* Merge 'master' into telepathy-glib-0.24 (the branch has only fixes)Alexander Akulich2021-01-265-9/+9
|\
| * tests: Fix a service file path to fix the build with installed testsPhilip Withnall2016-06-181-1/+1
| | | | | | | | | | | | Two directories were the wrong way round. https://bugs.freedesktop.org/show_bug.cgi?id=90991
| * tests: Remove a G_GNUC_UNUSED which isn't true any moreIain Lane2016-06-181-1/+1
| |
| * tests: eliminate duplicate test case pathsGeorge Kiagiadakis2016-06-184-7/+7
| | | | | | | | Seems like this doesn't work with recent versions of glib
| * test-connection-error: don't check errors twiceGuillaume Desmottes2014-05-261-10/+2
|/ | | | | | We are already using g_assert_error() to check those. https://bugs.freedesktop.org/show_bug.cgi?id=79006
* tp_list_connection_managers_async: terminate properly if there is no CMGuillaume Desmottes2014-03-172-0/+91
| | | | Fix fdo#68892.
* call-channel: pass our factory to TpCallStream objectsGuillaume Desmottes2014-03-141-0/+4
| | | | Partially fix fdo#76168.
* call-channel: pass our factory to TpCallContent objectsGuillaume Desmottes2014-03-141-1/+3
| | | | Partially fix fdo#76168.
* add tp_protocol_new_vardict()Guillaume Desmottes2014-02-281-1/+12
|
* protocol: add TpProtocol:protocol-properties-vardictGuillaume Desmottes2014-02-281-0/+7
|
* test creating a TpProtocol by passing its immutable propsGuillaume Desmottes2014-02-281-0/+19
|
* test-protocol-objects: factor out check_tp_protocol()Guillaume Desmottes2014-02-281-28/+34
|
* add tp_account_channel_request_set_initial_inviteesGuillaume Desmottes2014-02-261-0/+59
|
* add tp_account_channel_request_set_initial_invitee_ids()Guillaume Desmottes2014-02-261-1/+14
|
* add tp_account_channel_request_set_conference_initial_channels()Guillaume Desmottes2014-02-261-1/+13
|
* account-channel-request: set TargetHandleType: TP_HANDLE_TYPE_NONE if neededGuillaume Desmottes2014-02-261-5/+43
|
* add tp_account_channel_request_set_sms_channel()Guillaume Desmottes2014-02-251-1/+5
|
* add tp_account_channel_request_new_dbus_tube()Guillaume Desmottes2014-02-251-0/+36
|
* add tp_account_channel_request_new_stream_tube()Guillaume Desmottes2014-02-251-0/+35
|
* add tp_account_channel_request_set_file_transfer_hash()Guillaume Desmottes2014-02-251-1/+9
|
* Stop calling g_type_init()Simon McVittie2014-01-0742-48/+0
| | | | | | | | It was deprecated in GLib 2.36, and we already have a hard dependency on that version. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=71048 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* TpProtocol: add high-level API for the Addressing interfaceSimon McVittie2013-11-111-0/+60
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=71048 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* tp_protocol_identify_account_async: add and testSimon McVittie2013-11-111-0/+58
| | | | | | | | To make the test a little more interesting and a little more realistic, we normalize the 'account' parameter to lower-case. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=71048 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* tp_protocol_normalize_contact_async: add and testSimon McVittie2013-11-111-0/+34
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=71048 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* fix spurious.service EXTRA_DIST pathGuillaume Desmottes2013-10-281-1/+1
|
* add TpAccount::avatar-changed signalGuillaume Desmottes2013-10-231-0/+28
| | | | Fix https://bugs.freedesktop.org/show_bug.cgi?id=52938
* Use MKDIR_P instead of deprecated mkdir_pSimon McVittie2013-10-091-2/+2
| | | | | | | | | | In theory, AC_PROG_MKDIR_P only sets MKDIR_P, although for now it also sets the deprecated mkdir_p for compatibility with AM_PROG_MKDIR_P. Similar to MC commit 04dd9b4. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=70045 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* stop using tp_account_manager_is_prepared()Guillaume Desmottes2013-09-271-4/+4
|
* stop using tp_account_is_prepared()Guillaume Desmottes2013-09-272-3/+3
|
* Use tp_value_array_free instead of g_value_array_freeSimon McVittie2013-09-261-1/+1
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69849 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
* Port unit tests to g_test_dbus_up/downXavier Claessens2013-09-2650-134/+64
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=55761
* cm test: test "drop name on get" on a modern CMSimon McVittie2013-09-131-136/+70
| | | | | | | | | | | | | | We were only testing this case on the archaic CM, but that's undesirable when converting to Telepathy 1.0, since a CM with no D-Bus properties will cease to be a valid CM. The diff is a little confusing because I'm basically turning test_dbus_fallback() and its fork test_dbus_ready() back into the same function. The merged version does everything that either of its precursors did. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69283 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* tp_dbus_properties_mixin_dup_all: make publicSimon McVittie2013-09-131-5/+0
| | | | | | | | | There's no real reason not to - anything that implements D-Bus properties is clearly going to have this method in some form. Also, my next commit needs it. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69283 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* Merge branch 'telepathy-glib-0.20'Simon McVittie2013-08-201-7/+69
|\ | | | | | | | | | | Conflicts: NEWS configure.ac
| * TpConnectionManager: retry introspection after CM exits, up to onceSimon McVittie2013-07-241-7/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Many connection managers automatically exit after 5 seconds of inactivity. If the CM has no .manager file *and* exits in this way while we are introspecting it, we would previously consider it to have failed introspection - but with sufficiently unfortunate timing, that can result in empathy-accounts not considering Haze to exist. To avoid this, without going into an infinite loop if the CM fails to introspect, retry once, but only once. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=67183 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
| * contact-lists test: add a regression test for fd.o #52011Simon McVittie2013-06-101-5/+67
| | | | | | | | | | | | Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=52011 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
* | Use AC_PROG_MKDIR_P instead of deprecated AM_PROG_MKDIR_PSimon McVittie2013-06-111-2/+2
| | | | | | | | | | | | | | | | | | | | This means we define MKDIR_P instead of mkdir_p - adjust. Strictly speaking this requires Autoconf 2.59d, but 2.60 is hardly a new innovation (it was released in 2006). Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=65517
* | Verify that TpConnection is not leaked in contacts unit testsXavier Claessens2013-04-031-7/+17
| | | | | | | | This plugs various leaks in the tests as well.
* | TpAccount: implement change notification on uri-schemes propertyGuillaume Desmottes2013-01-091-0/+9
| |
* | add TpAccount:uri-schemes: propertyGuillaume Desmottes2013-01-091-5/+26
| | | | | | | | The property was missing for some reason.
* | add missing config.h includesGuillaume Desmottes2013-01-081-0/+2
| | | | | | | | | | g_type_init() has been deprecated in GLib master. By including config.h we avoid the deprecation warning as it contains GLib's versions macros.
* | contact-lists test: add a regression test for fd.o #52011Simon McVittie2013-01-031-5/+67
|/ | | | | | Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=52011 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
* self-handle test: test with a modern CM, not just an archaic oneSimon McVittie2012-10-082-12/+38
| | | | | | | | | If we'd done this at the time, we wouldn't have broken SelfHandleChanged. Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=55666 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk> [g_debug -> DEBUG as per Xavier's review -smcv]
* Run the tests with G_MESSAGES_DEBUG=allSimon McVittie2012-10-081-0/+1
| | | | | | Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=55666 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
* tp_message_set_variant: add and testSimon McVittie2012-09-261-2/+2
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=55096
* tp_message_dup_part: addSimon McVittie2012-09-261-0/+12
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=55096
* tp_account_channel_request_dup_request, request-vardict property: addSimon McVittie2012-09-261-0/+21
| | | | | Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=55099
* tp_account_channel_request_new_vardict: addSimon McVittie2012-09-261-57/+40
| | | | | Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=55099
* tp_channel_request_dup_immutable_properties: addSimon McVittie2012-09-261-0/+10
| | | | | | | Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=55101 https://bugs.freedesktop.org/show_bug.cgi?id=55103
* tp_channel_request_dup_hints: addSimon McVittie2012-09-261-0/+11
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=55103