Commit graph

60 commits

Author SHA1 Message Date
Florian Zeitz
68d147d22f util.rfc3484: New util implementing RFC3484 sorting 2011-10-22 17:59:33 +02:00
Matthew Wild
257fa9dbd0 tests/test.lua, tests/test_net_http.lua: Tests for net.http's url and form encoding/decoding functions 2011-08-10 17:49:37 -04:00
Matthew Wild
fd692fe406 tests/test_sasl.lua: Convert literal UTF-8/Latin1 chars to escape codes for weak text editors 2011-02-22 21:19:00 +00:00
Waqas Hussain
2c0ba4f75f tests/test_util_stanza.lua: Allow stanza.last_add to be nil. 2010-11-26 05:24:59 +05:00
Waqas Hussain
b7e51a203d Monster whitespace commit (beware the whitespace monster). 2010-10-16 23:00:42 +05:00
Matthew Wild
0c0140fa2d tests/test_util_jid.lua: Add more tests for JID splitting 2010-08-31 00:28:49 +01:00
Matthew Wild
efff82cd94 tests/test_util_jid.lua: Better formatting, comments, and stop giving 5 arguments to a 4-argument function (thanks Asterix :) ) 2010-08-10 14:07:03 +01:00
Waqas Hussain
cc1b764839 tests: Added tests for util.sasl.scram.Hi(). 2010-07-26 01:12:52 +05:00
Kim Alvefur
e21c59154e util.jid: compare() added, with some tests. 2010-07-16 00:36:02 +02:00
Matthew Wild
46c0b8c7f9 Merge 0.6->0.7 2010-03-22 17:24:55 +00:00
Matthew Wild
2bc0606453 Update copyright headers for 2010 2010-03-22 17:06:15 +00:00
Matthew Wild
52d66e5267 Merge with 0.6 2010-02-25 18:03:15 +00:00
Matthew Wild
cc932b9c97 tests/test_core_s2smanager.lua: Fix to compare SRV weights correctly 2010-02-25 17:54:23 +00:00
Matthew Wild
9657f76657 tests/test.lua: Changes to environment handling of tests, and replace module() with dummy function that doesn't alter the current environment 2009-11-27 18:00:47 +00:00
Matthew Wild
8cfd5950a3 tests: Add tests for util.jid.join() 2009-11-27 17:41:52 +00:00
Matthew Wild
822161982a tests/test.lua: Print the current test being run if verbosity sufficient 2009-11-27 17:39:17 +00:00
Matthew Wild
119d80071d tests/modulemanager_option_conversion.lua: Add standalone test script for the new modulemanager config option API 2009-11-23 16:09:44 +00:00
Matthew Wild
aa442a6b88 tests: Add tests for util.jid.join() 2009-11-27 17:41:52 +00:00
Matthew Wild
55e729ef4c tests: Fix stanza_router tests to work with the new routing code, finally all tests pass again \o/ 2009-10-17 13:38:20 +01:00
Matthew Wild
c2161ee15e tests: More environment magic to help get stuff working in a sandbox 2009-10-17 13:36:40 +01:00
Matthew Wild
8b476b284f tests: Have fake module() set _M to satisfy some modules 2009-10-16 22:30:59 +01:00
Matthew Wild
8bfd53c8a6 tests: Add tests for new modulemanager load_modules_for_host code 2009-10-16 22:13:54 +01:00
Matthew Wild
118883d655 Remove version number from copyright headers 2009-07-10 03:11:45 +01:00
Matthew Wild
e45610ce6e Add copyright header to those files missing one 2009-07-10 03:08:38 +01:00
Matthew Wild
c80f91dc02 0.3->0.4 2009-03-20 20:16:25 +00:00
Matthew Wild
fa16fb21e6 tests: Add test for iq error replies 2009-03-03 17:07:35 +00:00
Waqas Hussain
b9fade36aa Added tests/run_tests.bat for running tests on Windows 2009-02-13 22:23:08 +05:00
Waqas Hussain
70133fb356 Fixed tests/test.lua to work on Windows 2009-02-13 22:21:59 +05:00
Matthew Wild
66155f71aa Add tests for util.multitable 2009-02-13 16:43:44 +00:00
Matthew Wild
2aa5caa78e Add test to check for incorrect handling of iq from c2s to local bare JIDs 2009-02-11 19:52:05 +00:00
Matthew Wild
8de5689731 Small fix to change verbosity level of subtests 2009-02-11 19:50:58 +00:00
Matthew Wild
2f8d4df4b3 Correct tests for stanza routing IQs to bare JIDs 2009-02-11 19:35:48 +00:00
Matthew Wild
c5ee166aa9 Update copyright notices for 2009 2009-01-30 17:59:26 +00:00
Matthew Wild
f2d020191f 0.2->0.3 2009-01-30 17:40:25 +00:00
Matthew Wild
bf3b96204d GPL->MIT! 2009-01-30 17:22:56 +00:00
Matthew Wild
365368ef52 Add more tests for util/stanza.lua serialization routines 2009-01-09 17:44:59 +00:00
Matthew Wild
d4f24630f3 Add test for previous commit 2009-01-09 17:36:28 +00:00
Matthew Wild
d3ad4a5123 0.1 -> 0.2 2008-12-10 15:44:03 +00:00
Matthew Wild
dfeabed19f Add hostmanager, and eventmanager 2008-12-06 03:41:49 +00:00
Matthew Wild
d556714369 Add a couple more tests for jid.split 2008-12-05 02:02:40 +00:00
Matthew Wild
0c5cc83112 Insert copyright/license headers 2008-12-03 14:39:07 +00:00
Matthew Wild
3d39b70324 No need for the placeholder file in tests/ because the directory is no longer empty 2008-11-30 18:59:29 +00:00
Matthew Wild
a52274f5e6 Add test for latin1toutf8 (which passes) 2008-11-30 18:57:23 +00:00
Matthew Wild
8d6ef1df38 Also look for binary modules in the parent directory when running tests 2008-11-29 03:49:46 +00:00
Matthew Wild
ede1bd83a8 Import initial configmanager, not sure if it works yet, but it does pass the unit tests ;) 2008-11-21 05:47:27 +00:00
Matthew Wild
44545470c0 Update test.lua with a work-in-progress 2008-11-21 05:46:15 +00:00
Matthew Wild
48e7f5ea64 Improve jid.split() and jid.bare() to pass new test cases with invalid JIDs 2008-11-21 05:02:53 +00:00
Matthew Wild
08f20e796a Oops, never added the tests for s2smanager to the repo 2008-11-20 21:06:27 +00:00
Matthew Wild
662dd712f2 Add run_tests.sh 2008-11-20 21:04:46 +00:00
Matthew Wild
9a9a31d0f2 Update unit testing to output coverage reports 2008-11-20 21:02:49 +00:00