aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* test_util_queue: finish stress-test by emptying the queueAnton Shestakov2016-07-211-0/+2
|
* test_util_queue: Reduce iteration count of loop and add assertsKim Alvefur2016-07-201-3/+3
|
* tests: Adapt test for util.queue to the test frameworkKim Alvefur2016-07-202-54/+59
|
* test_util_cache: wrap individual test blocks in do-end [luacheck]Anton Shestakov2016-07-141-123/+134
|
* test_util_stanza: wrap individual test blocks in do-end [luacheck]Anton Shestakov2016-07-141-56/+66
|
* run_tests: use "$@" for passing arguments [shellcheck]Anton Shestakov2016-07-141-1/+1
|
* tests: Add basic test for net.http.parserKim Alvefur2016-07-122-0/+48
|
* test_util_cache: rename a variable (c is already defined) [luacheck]Anton Shestakov2016-07-091-2/+2
|
* test_util_cache: remove unused argument c3 [luacheck]Anton Shestakov2016-07-091-1/+1
|
* test_util_jid: make function test() local [luacheck]Anton Shestakov2016-07-091-1/+1
|
* test_util_multitable: make mt variable local [luacheck]Anton Shestakov2016-07-091-2/+2
|
* util.jid+tests: Add simple helpers... node(), host() and resource() for ↵Matthew Wild2016-03-171-0/+70
| | | | extracting specific parts of a JID
* tests: util.cache: Tests for different return values of on_evictMatthew Wild2016-03-171-0/+24
|
* util.cache: Change behaviour of on_evict (and tests). Now accepts false ↵Matthew Wild2016-03-171-9/+29
| | | | instead of a function (never evict), or on_evict can return false to prevent eviction.
* util.cache: Add head() and tail() methods (and tests)Matthew Wild2016-03-171-1/+26
|
* tests: Expand util.stanza testsMatthew Wild2016-03-091-0/+115
|
* tests: Add basic tests for util.xml and util.xmppstreamMatthew Wild2016-03-053-0/+97
|
* tests: Add extra tests for util.jsonMatthew Wild2016-03-0537-0/+139
|
* Add tests for util.jsonMatthew Wild2016-03-042-0/+22
|
* tests: Add minimal test for util.random that checks that it returns the ↵Kim Alvefur2016-02-212-0/+11
| | | | number of bytes requested
* tests: Use util.envload to load chunks (fixes #608)Kim Alvefur2016-01-281-6/+5
|
* tests: Add test for util.uuid (checks that the output format is correct)Kim Alvefur2016-01-102-0/+25
|
* tests: Correct mistake from latst merge, use the same variable name in all 3 ↵Kim Alvefur2016-01-101-2/+2
| | | | places where it matters
* tests: Fix merge, modulemanager test was removedKim Alvefur2016-01-081-1/+0
|
* Merge 0.9->0.10Kim Alvefur2016-01-081-2/+6
|\
| * tests/test.lua: Fix fake module() function to prevent _M from being _G ↵Matthew Wild2016-01-061-1/+4
| | | | | | | | (test.lua's environment), which caused modules to break the sandbox when they set _M.*
* | tests: Add small test for util.throttleKim Alvefur2015-12-232-0/+35
| |
* | util.cache (and tests): Call on_evict after insertion of the new key, so ↵Matthew Wild2015-12-221-0/+55
| | | | | | | | inside on_evict we can be more certain about the current state of the cache (i.e. full, new item added, old item removed)
* | tests: Add tests for util.cacheMatthew Wild2015-11-262-0/+175
| |
* | tests/run_tests.sh: Let status code propagate to shellMatthew Wild2015-09-041-1/+1
| |
* | tests: Return status code depending on whether tests passedMatthew Wild2015-09-041-1/+6
| |
* | tests: Add tests for util.queueMatthew Wild2015-06-031-0/+68
| |
* | Merge 0.9->0.10 (third time lucky)Matthew Wild2015-03-273-0/+72
|\|
| * utf8_sequences.txt: OopsMatthew Wild2015-03-231-1/+1
| |
| * tests: Add UTF-8 validity testsMatthew Wild2015-03-233-0/+72
| |
* | Remove all trailing whitespaceFlorian Zeitz2013-08-0912-51/+51
| |
* | test_util_rfc6724: Update with new test vectors from RFC 6724Florian Zeitz2013-05-201-29/+75
| |
* | test_util_ip.lua: Add more tests for util.ipMatthew Wild2013-05-181-3/+62
| |
* | test_util_ip: Add tests for IP matchingMatthew Wild2013-05-181-5/+28
| |
* | tests/test_core_configmanager.lua: Update to remove tests based on sections ↵Matthew Wild2013-05-181-13/+9
| | | | | | | | (now removed)
* | tests: Some much-needed cleanup...Matthew Wild2013-05-186-53/+21
|/
* util.hmac, util.hashes: Implement HMAC functions in C, and move to util.hashesFlorian Zeitz2013-04-271-1/+1
|
* util.rfc3484: New util implementing RFC3484 sortingFlorian Zeitz2011-10-222-0/+52
|
* tests/test.lua, tests/test_net_http.lua: Tests for net.http's url and form ↵Matthew Wild2011-08-102-0/+39
| | | | encoding/decoding functions
* tests/test_sasl.lua: Convert literal UTF-8/Latin1 chars to escape codes for ↵Matthew Wild2011-02-221-8/+1
| | | | weak text editors
* tests/test_util_stanza.lua: Allow stanza.last_add to be nil.Waqas Hussain2010-11-261-1/+0
|
* Monster whitespace commit (beware the whitespace monster).Waqas Hussain2010-10-166-28/+28
|
* tests/test_util_jid.lua: Add more tests for JID splittingMatthew Wild2010-08-311-3/+6
|
* tests/test_util_jid.lua: Better formatting, comments, and stop giving 5 ↵Matthew Wild2010-08-101-4/+7
| | | | arguments to a 4-argument function (thanks Asterix :) )
* tests: Added tests for util.sasl.scram.Hi().Waqas Hussain2010-07-262-0/+24
|