summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge 'master' into telepathy-glib-0.24 (the branch has only fixes)Alexander Akulich2021-01-268-27/+27
|\
| * Tests: Make tests Python 3 compatibleJakub Kulík2020-05-191-1/+1
| |
| * Sort generated types and adjust expected accordinglyJakub Kulík2020-05-192-12/+12
| |
| * Tests: Adjust expected gtypes sources to conform with the types orderAlexander Akulich2019-12-122-16/+16
| |
| * 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
| * stop hardcoding python's path in .py scriptsGuillaume Desmottes2014-05-081-1/+1
|/ | | | https://bugs.freedesktop.org/show_bug.cgi?id=76495
* 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-0754-71/+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>
* Tests: use g_test_dbus_unset()Xavier Claessens2013-11-151-4/+4
| | | | | Also link to https://bugzilla.gnome.org/show_bug.cgi?id=697348 to explain why we still have to unset STARTER env variables.
* 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
* simple-account: claim that we support AvatarGuillaume Desmottes2013-10-231-0/+1
|
* simple-account: add test API to change the avatarGuillaume Desmottes2013-10-232-7/+25
|
* 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
|
* Suppress remaining GValueArray deprecation warningsSimon McVittie2013-09-264-0/+16
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69849 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
* Use tp_value_array_free instead of g_value_array_freeSimon McVittie2013-09-265-5/+8
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69849 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
* Make more use of tp_value_array_unpack, tp_value_array_buildSimon McVittie2013-09-261-10/+4
| | | | | | | | | | | As well as being less code, they're not flagged as deprecated. This requires a bit of extra copying, because there's no tp_value_array_unpack_dup() or tp_value_array_build_take(), but it seems worth it. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69849 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
* simple-account: set 'parameters' as writableGuillaume Desmottes2013-09-261-2/+27
| | | | Some logger tests relies on this.
* Port unit tests to g_test_dbus_up/downXavier Claessens2013-09-2652-135/+127
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=55761
* Tests: disable single includeXavier Claessens2013-09-2551-140/+58
| | | | | This will make tests rebuild more often, but makes life easier to other projects who copy/paste our test utilities (e.g. folks)
* 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-132-16/+2
| | | | | | | | | 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>
* Regression tests: also avoid tmpnam() hereSimon McVittie2013-09-064-4/+34
| | | | | | | | This is a bit simpler than in production code, because we can just abort on errors that "should never happen". Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68350 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>
* | Merge branch 'telepathy-glib-0.20'Simon McVittie2013-06-113-1/+1
|\ \ | |/ | | | | | | Conflicts: NEWS
| * Make tool tests executable rather than putting sh in TESTS_ENVIRONMENTSimon McVittie2013-06-113-1/+1
| | | | | | | | | | | | | | | | | | This makes it possible to run the tool tests under the Automake 1.12+ parallel test harness, which is the default from 1.13 onwards. 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
| * 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>