Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 0.10->trunk | Kim Alvefur | 2016-07-14 | 3 | -180/+201 |
|\ | |||||
| * | test_util_cache: wrap individual test blocks in do-end [luacheck] | Anton Shestakov | 2016-07-14 | 1 | -123/+134 |
| | | |||||
| * | test_util_stanza: wrap individual test blocks in do-end [luacheck] | Anton Shestakov | 2016-07-14 | 1 | -56/+66 |
| | | |||||
| * | run_tests: use "$@" for passing arguments [shellcheck] | Anton Shestakov | 2016-07-14 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-07-13 | 3 | -3/+51 |
|\| | |||||
| * | tests: Add basic test for net.http.parser | Kim Alvefur | 2016-07-12 | 2 | -0/+48 |
| | | |||||
| * | test_util_cache: rename a variable (c is already defined) [luacheck] | Anton Shestakov | 2016-07-09 | 1 | -2/+2 |
| | | |||||
| * | test_util_cache: remove unused argument c3 [luacheck] | Anton Shestakov | 2016-07-09 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-07-08 | 2 | -3/+3 |
|\| | |||||
| * | test_util_jid: make function test() local [luacheck] | Anton Shestakov | 2016-07-09 | 1 | -1/+1 |
| | | |||||
| * | test_util_multitable: make mt variable local [luacheck] | Anton Shestakov | 2016-07-09 | 1 | -2/+2 |
| | | |||||
* | | tests: Add initial tests for util.async | Matthew Wild | 2016-05-22 | 2 | -0/+149 |
| | | |||||
* | | Merge 0.10->trunk | Matthew Wild | 2016-03-18 | 1 | -0/+70 |
|\| | |||||
| * | util.jid+tests: Add simple helpers... node(), host() and resource() for ↵ | Matthew Wild | 2016-03-17 | 1 | -0/+70 |
| | | | | | | | | extracting specific parts of a JID | ||||
* | | Merge 0.10->trunk | Matthew Wild | 2016-03-17 | 1 | -10/+79 |
|\| | |||||
| * | tests: util.cache: Tests for different return values of on_evict | Matthew Wild | 2016-03-17 | 1 | -0/+24 |
| | | |||||
| * | util.cache: Change behaviour of on_evict (and tests). Now accepts false ↵ | Matthew Wild | 2016-03-17 | 1 | -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 Wild | 2016-03-17 | 1 | -1/+26 |
| | | |||||
* | | Merge 0.10->trunk | Matthew Wild | 2016-03-09 | 1 | -0/+115 |
|\| | |||||
| * | tests: Expand util.stanza tests | Matthew Wild | 2016-03-09 | 1 | -0/+115 |
| | | |||||
* | | tests: Add namespace/prefix tracking test for util.xml | Matthew Wild | 2016-03-05 | 1 | -0/+1 |
|/ | |||||
* | tests: Add basic tests for util.xml and util.xmppstream | Matthew Wild | 2016-03-05 | 3 | -0/+97 |
| | |||||
* | tests: Add extra tests for util.json | Matthew Wild | 2016-03-05 | 37 | -0/+139 |
| | |||||
* | Add tests for util.json | Matthew Wild | 2016-03-04 | 2 | -0/+22 |
| | |||||
* | tests: Add minimal test for util.random that checks that it returns the ↵ | Kim Alvefur | 2016-02-21 | 2 | -0/+11 |
| | | | | number of bytes requested | ||||
* | tests: Use util.envload to load chunks (fixes #608) | Kim Alvefur | 2016-01-28 | 1 | -6/+5 |
| | |||||
* | tests: Add test for util.uuid (checks that the output format is correct) | Kim Alvefur | 2016-01-10 | 2 | -0/+25 |
| | |||||
* | tests: Correct mistake from latst merge, use the same variable name in all 3 ↵ | Kim Alvefur | 2016-01-10 | 1 | -2/+2 |
| | | | | places where it matters | ||||
* | tests: Fix merge, modulemanager test was removed | Kim Alvefur | 2016-01-08 | 1 | -1/+0 |
| | |||||
* | Merge 0.9->0.10 | Kim Alvefur | 2016-01-08 | 1 | -2/+6 |
|\ | |||||
| * | tests/test.lua: Fix fake module() function to prevent _M from being _G ↵ | Matthew Wild | 2016-01-06 | 1 | -1/+4 |
| | | | | | | | | (test.lua's environment), which caused modules to break the sandbox when they set _M.* | ||||
* | | tests: Add small test for util.throttle | Kim Alvefur | 2015-12-23 | 2 | -0/+35 |
| | | |||||
* | | util.cache (and tests): Call on_evict after insertion of the new key, so ↵ | Matthew Wild | 2015-12-22 | 1 | -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.cache | Matthew Wild | 2015-11-26 | 2 | -0/+175 |
| | | |||||
* | | tests/run_tests.sh: Let status code propagate to shell | Matthew Wild | 2015-09-04 | 1 | -1/+1 |
| | | |||||
* | | tests: Return status code depending on whether tests passed | Matthew Wild | 2015-09-04 | 1 | -1/+6 |
| | | |||||
* | | tests: Add tests for util.queue | Matthew Wild | 2015-06-03 | 1 | -0/+68 |
| | | |||||
* | | Merge 0.9->0.10 (third time lucky) | Matthew Wild | 2015-03-27 | 3 | -0/+72 |
|\| | |||||
| * | utf8_sequences.txt: Oops | Matthew Wild | 2015-03-23 | 1 | -1/+1 |
| | | |||||
| * | tests: Add UTF-8 validity tests | Matthew Wild | 2015-03-23 | 3 | -0/+72 |
| | | |||||
* | | Remove all trailing whitespace | Florian Zeitz | 2013-08-09 | 12 | -51/+51 |
| | | |||||
* | | test_util_rfc6724: Update with new test vectors from RFC 6724 | Florian Zeitz | 2013-05-20 | 1 | -29/+75 |
| | | |||||
* | | test_util_ip.lua: Add more tests for util.ip | Matthew Wild | 2013-05-18 | 1 | -3/+62 |
| | | |||||
* | | test_util_ip: Add tests for IP matching | Matthew Wild | 2013-05-18 | 1 | -5/+28 |
| | | |||||
* | | tests/test_core_configmanager.lua: Update to remove tests based on sections ↵ | Matthew Wild | 2013-05-18 | 1 | -13/+9 |
| | | | | | | | | (now removed) | ||||
* | | tests: Some much-needed cleanup... | Matthew Wild | 2013-05-18 | 6 | -53/+21 |
|/ | |||||
* | util.hmac, util.hashes: Implement HMAC functions in C, and move to util.hashes | Florian Zeitz | 2013-04-27 | 1 | -1/+1 |
| | |||||
* | util.rfc3484: New util implementing RFC3484 sorting | Florian Zeitz | 2011-10-22 | 2 | -0/+52 |
| | |||||
* | tests/test.lua, tests/test_net_http.lua: Tests for net.http's url and form ↵ | Matthew Wild | 2011-08-10 | 2 | -0/+39 |
| | | | | encoding/decoding functions | ||||
* | tests/test_sasl.lua: Convert literal UTF-8/Latin1 chars to escape codes for ↵ | Matthew Wild | 2011-02-22 | 1 | -8/+1 |
| | | | | weak text editors |