aboutsummaryrefslogtreecommitdiffstats
path: root/tests/check_jabber_util.c
Commit message (Collapse)AuthorAgeLines
* tests: fix build warnings in jabber_buddy_by_jid testsdequis2017-10-05-2/+2
|
* jabber: handle nulls in jabber_compare_jiddequis2016-08-23-0/+2
| | | | | As far as I can see this isn't remotely exploitable (and if it were it would be just DoS of the child process), but i'm still looking into it
* hipchat: 'chat add hipchat "channel name"' now tries to guess the JIDdequis2015-11-23-0/+20
| | | | | | | | | | | It's basically prepending the organization id, appending the default MUC host from the success packet, and generating a slug based on the name for the middle part, which is replacing a few characters with underscores and doing a unicode aware lowercasing. Includes tests, which are useless other than validating the initial implementation with the test vectors that i already tested manually. Guaranteed to detect zero breakages in the future. Good test code.
* check_jabber_util: adapt to new behavior of GET_BUDDY_EXACTdequis2015-10-22-1/+1
| | | | | | | I can't believe the tests did something! Returning the bare jabber_buddy when asking for GET_BUDDY_EXACT is now acceptable, since the google talk typing commit.
* Reindent everything to K&R style with tabsIndent2015-02-20-78/+78
| | | | | | | Used uncrustify, with the configuration file in ./doc/uncrustify.cfg Commit author set to "Indent <please@skip.me>" so that it's easier to skip while doing git blame.
* Added jabber_compare_jid to fix JID comparison case sensitivityGRMrGecko2014-07-24-0/+11
|
* Fixed a bug that caused full JIDs to get lost sometimes with the new wayWilmer van der Gaast2010-03-18-0/+9
| | | | | of storing full JIDs belongong to a contact.
* Test activity_timeout and some other test tweaks.Wilmer van der Gaast2010-03-12-1/+14
|
* Fixed jabber_util unittest. It passes, yet something still seems to beWilmer van der Gaast2010-03-12-3/+3
| | | | | broken. :-(
* Now preserving case in JID resources, and handling them with case sensitivityWilmer van der Gaast2008-06-22-14/+28
| | | | | | | since apparently that's how the RFC wants it. (While the rest of the JID should be case IN-sensitive. Consistency is hard to find these days...) Also extended the unittests a little bit. Closes #422.
* Added jabber_util unittests (buddy_add/_by_jid only ATM).Wilmer van der Gaast2008-06-22-0/+77