summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Text tests: use the Messages interfaceSimon McVittie2013-09-264-82/+65
| | | | | | | | This makes them more like the ones in 'next', which use the newly unified Text interface (whose API is mostly based on Messages). Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69767 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* gabbletest: don't use GetStatus()Simon McVittie2013-09-251-1/+1
| | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69767 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> [cherry-picked from next to master -smcv]
* Use the "undrafted" version of MailNotificationSimon McVittie2013-09-251-2/+2
| | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69468 Reviewed-by: Guillume Desmottes <guillaume.desmottes@collabora.co.uk> [cherry-picked from next to master, no changes -smcv]
* exec-with-log.sh: add HAZE_TEST_BACKTRACE hookSimon McVittie2013-09-241-0/+2
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=31723 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* tests: stop calling RequestChannelSimon McVittie2013-09-242-8/+14
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* Remove unused function close_all_groups()Simon McVittie2013-09-244-14/+3
| | | | | | | | This was the last reference to Handle_Type_Contact_List, Handle_Type_Contact_Group or Chan.T.ContactList outside constants.py. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* roster/remove-from-rp-subscribe.py: convert to Conn.I.ContactListSimon McVittie2013-09-241-44/+12
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* roster/subscribe.py: convert to ContactList, ContactGroupsSimon McVittie2013-09-241-41/+33
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* roster/publish.py: convert to ContactListSimon McVittie2013-09-241-82/+74
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* roster/groups.py: convert to ContactGroupsSimon McVittie2013-09-241-98/+93
| | | | | | | | As a side-effect, this adds proper test coverage for SetGroupMembers and SetContactGroups. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* initial-roster test: convert to ContactList, ContactGroupsSimon McVittie2013-09-242-81/+52
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* Use inspect_contacts_sync instead of InspectHandlesSimon McVittie2013-09-243-11/+9
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* Fix more uses of RequestHandlesSimon McVittie2013-09-241-2/+2
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* tests: use more constants, reduce hard-coding of o.fd.TSimon McVittie2013-09-245-128/+75
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* Don't test NewChannelSimon McVittie2013-09-2410-229/+82
| | | | | | | | | | | Also use assertEquals(), etc., on the lines I'm touching anyway. Just remove initiate.py: the whole point of that test is to exercise an obsolete API. The modern form of the initiation part is tested by initiate-requestotron.py and the text bits are tested by test-text.py. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* Use get_contact_handle_sync, get_contact_handles_syncSimon McVittie2013-09-2410-28/+12
| | | | | | | Telepathy 1.0 won't have RequestHandles. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* sync gabbletest.py from GabbleSimon McVittie2013-09-241-1/+1
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* sync servicetest.py from GabbleSimon McVittie2013-09-241-5/+24
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* sync constants.py from GabbleSimon McVittie2013-09-241-30/+24
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* simple-caps: stop relying on GetContactCapabilitiesSimon McVittie2013-09-231-5/+1
| | | | | | | 0.99.1 doesn't have it. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69619 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* Tests: replace GetSelfHandle calls with property-gettingSimon McVittie2013-09-238-8/+11
| | | | | | | | | | | sed expression: s/\.GetSelfHandle()/.Properties.Get(cs.CONN, "SelfHandle")/g adjusted by hand to add "import constants as cs" where needed. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69619 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* protocol: implement get_avatar_details()Guillaume Desmottes2013-09-181-0/+21
|
* protocol: claim that we implement AvatarsGuillaume Desmottes2013-09-182-0/+8
|
* protocol: fix 'ConnectionInterfaces'Guillaume Desmottes2013-09-181-0/+8
| | | | | | | Return the set of interfaces actually supported for this specific protocol rather than claiming to support everything. https://bugs.freedesktop.org/show_bug.cgi?id=69466
* Merge branch 'telepathy-haze-0.8'Simon McVittie2013-09-172-2/+12
|\ | | | | | | | | Conflicts: NEWS
| * Test unknown presencesSimon McVittie2013-09-172-2/+12
| | | | | | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69474 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
* | Remove StreamedMedia supportSimon McVittie2013-09-172-40/+0
|/ | | | | | | | | | In Pidgin, it's only implemented for XMPP (for which we have Gabble), MSNP (which will disappear soon), and mxit (which I doubt anyone's actually tested). Empathy can't do StreamedMedia any more, only Call, and Telepathy 1.0 will only have Call. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69318 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* Clean up test filestelepathy-haze-0.7.1Simon McVittie2013-09-172-0/+7
|
* Distribute gabbletestSimon McVittie2013-09-171-0/+1
|
* Distribute with-session-bus.shSimon McVittie2013-09-171-1/+3
|
* Run regression tests under the run-test.sh "driver"Guillaume Desmottes2013-09-122-33/+58
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=69269
* move tests tools to tests/twisted/toolsGuillaume Desmottes2013-09-128-35/+138
| | | | | | Other CMs store these files there. https://bugs.freedesktop.org/show_bug.cgi?id=69269
* Import run-test.sh.in from Gabble masterGuillaume Desmottes2013-09-122-0/+70
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=69269
* Avoid recent libpurple doing "clever" proxy discovery, etc.Simon McVittie2013-06-251-0/+9
| | | | | | | | | The regression tests are not a full desktop session, and don't have GSettings or other GNOME features. They also don't have KDE features, which libpurple also checks. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=65290 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
* Test closing the request_password channelWill Thompson2013-04-122-0/+44
|
* Add sasl/telepathy-password.py from GabbleWill Thompson2013-04-123-0/+190
| | | | | This exercises the happy path of Stefan's patches to support purple_account_request_password().
* Refresh and uncopypasta gabbletestWill Thompson2013-04-1124-876/+1129
| | | | | | hazetest now overrides what it needs to, and reuses the rest of gabbletest verbatim in a separate module. I had to add a couple of hooks which I'll commit to Gabble.
* Set G_MESSAGES_DEBUG during testingSimon McVittie2012-05-071-0/+2
| | | | The same as Gabble commit cbfa9d06.
* caps test: do a simple test for media caps changesJonny Lamb2012-05-021-1/+32
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* twisted tests: add a config module for knowing whether media is enabledJonny Lamb2012-05-021-1/+14
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* tests: add simple test to ensure ContactCapabilities are workingJonny Lamb2012-05-012-0/+75
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* connect/fail.py: try an even more ludicrous portWill Thompson2011-11-211-1/+1
| | | | This test fails on the buildbot, and I don't know why.
* Mangle test name into connection parameters.Will Thompson2011-11-211-1/+2
| | | | | | | | | In Gabble, we push the name of the test being run into the connection parameters by abusing the fact that Gabble accepts a resource as part of the 'account' parameter, but overrides it with the value of the 'resource' parameter. Haze doesn't have a resource parameter, so we can't use that trickā€¦ so, instead, let's shove it into the file transfer proxy list parameter.
* Tests: Don't assert that 'password' is required.Will Thompson2011-07-081-1/+1
| | | | This was broken by 27d51779b804726e0f415459f2f3e0b786cb0361
* Use the TpBaseContactListSimon McVittie2010-12-014-21/+33
| | | | | | This requires some changes in the tests: * the actor that's assumed for some group changes now differs * anyone who sends us a publication request appears in the 'stored' list
* Add close_all_groups() and use it to get rid of any stray groupsSimon McVittie2010-12-014-3/+25
| | | | | The group tests are sensitive to leftover groups that might exist in global libpurple state.
* Add a 'stored' list (which just behaves like 'subscribe') and test itSimon McVittie2010-12-013-23/+51
|
* Implement ConnectionError.Will Thompson2010-11-191-2/+13
| | | | | This lets us expose the technical details of connection errors, which would have helped a bit with this ICQ crap.
* Update hazetest from gabbletest!Will Thompson2010-11-192-149/+448
| | | | | Woo. I had to fix a few issues in gabbletest to make this work, which I am submitting upstream.
* Update constants, namespaces, and servicetest from Gabble.Will Thompson2010-11-183-57/+230
| | | | | I tried to update gabbletest too, but it's changed in ways that break haze. So I've left that for now.