aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeLines
* Rename SRCDIR directory to _SRCDIR_. I guess #907 was caused by SRCDIRWilmer van der Gaast2012-02-11-3/+3
| | | | | unexpectedly being set to something already.
* Make the unittests work *slightly* better with libevent. (Still won't workWilmer van der Gaast2010-07-29-0/+1
| | | | | | completely because events.h doesn't export a way to run a single event loop iteration.
* Fixing http_encode(): BitlBee now calls setlocale() (for nicknameWilmer van der Gaast2010-07-29-0/+11
| | | | | | | | | transliteration to work), which changes the behaviour of isalpha() (turns out it's not a simple macro). For HTTP-encoding, this sucks, especially when doing OAuth (which is very picky about the way HTTP encoding is done). This should fix problems some people were seeing with posting Twitter messages containing accents.
* "Fix up" unittests enough to at least compile. Never touched these duringWilmer van der Gaast2010-07-29-55/+6
| | | | | the ui-fix works.
* Allow one to run the configure script from a different directory and put allWilmer van der Gaast2010-05-25-1/+4
| | | | | | build files in there. I need this to properly make Debian package variants (i.e. libpurple and native).
* 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. :-(
* Killed the test for setting non-existing variables since I killed supportWilmer van der Gaast2008-12-13-9/+1
| | | | | | | for them as well. Thanks to cedk@gentoo.org for noticing (Bug #448). Also including chat.o when building the tests to fix linking issues.
* 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-2/+82
|
* Be more liberal with accepted line endings. ERC on Windows likes to useWilmer van der Gaast2008-03-29-2/+2
| | | | | | | "\r\r\n", for example, and until now BitlBee only chopped off the \r\n, leaving the first \r as part of the command, which means it couldn't log in to BitlBee at all. (Bad character in nickname.)
* Adding padding to encrypted IM-passwords so the exact password length can'tWilmer van der Gaast2008-03-16-13/+22
| | | | | be guessed from the encrypted data anymore.
* Added help_free() test, and fixed compiler warning in SASL test.Wilmer van der Gaast2008-02-16-3/+6
|
* Improved sasl_get_part() to deal with whitespace in challenge strings, asWilmer van der Gaast2008-02-16-2/+123
| | | | | described in RFC 2831 secion 7.1 (the #rule description). Closes bug #362.
* Fixed broken check in check_arc.cWilmer van der Gaast2008-02-16-2/+3
|
* Don't allow nicks that start with a number.Wilmer van der Gaast2007-12-10-3/+9
|
* Added word_wrap() function to misc.c and using it at the right places soWilmer van der Gaast2007-10-12-0/+58
| | | | | | that long messages in groupchats also get wrapped properly (instead of truncated).
* "Changed" the ArcFour implementation. I'm afraid this was a waste of time,Wilmer van der Gaast2007-10-07-1/+1
| | | | | but at least I added a neat unittest...
* Adding test for arc.c so that I can now safely replace the RC4 code with aWilmer van der Gaast2007-10-07-1/+100
| | | | | (compatible) ArcFour implementation.
* Merge from Jelmer (mainly unit testing things).Wilmer van der Gaast2007-07-01-1/+380
|\
| * Add tests for setJelmer Vernooij2007-01-21-1/+137
| |
| * Add testsuite for crypting.Jelmer Vernooij2007-01-21-1/+52
| |
| * Add unit testing for user codeJelmer Vernooij2007-01-21-1/+91
| |
| * Add tests for set_url(). Fixed a bug where the default port wasn't Jelmer Vernooij2006-12-24-0/+66
| | | | | | | | | | set when socks5 was used.
| * Refactor the help code to take a filename rather than using the global struct.Jelmer Vernooij2006-12-24-1/+35
| |
| * Fix check for non-debug builds.Jelmer Vernooij2006-12-24-0/+2
| |
* | Fixed Makefiles (make distclean was completely broken).Wilmer van der Gaast2007-02-18-1/+3
|/
* Some simple tests for irc_*()Jelmer Vernooij2006-12-06-2/+82
|
* Support arguments passed to tests/check to enable verbose logging or Jelmer Vernooij2006-12-06-3/+25
| | | | | to disable forking (for debugging purposes).
* Add tests for md5.Jelmer Vernooij2006-12-06-1/+81
|
* Fix testsuite.Jelmer Vernooij2006-12-06-4/+4
|
* Add support for checking test suite coverage using gcov.Jelmer Vernooij2006-07-07-3/+8
|
* Add checks for nick functions as well, fix bug where nick lengths weren't Jelmer Vernooij2006-06-16-1/+107
| | | | | being honored.
* Add unit testing infrastructure.Jelmer Vernooij2006-06-16-0/+65