aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* tests: Add failing tests for util.asyncMatthew Wild2017-09-121-7/+160
|
* Merge 0.10->trunkKim Alvefur2017-03-063-20/+20
|\
| * tests: Trim trailing whitespaceKim Alvefur2017-03-063-20/+20
| |
* | Merge 0.10->trunkKim Alvefur2017-03-011-2/+3
|\|
| * tests/util.logger: Remove use of deprecated module functionKim Alvefur2017-02-271-2/+3
| |
* | Merge 0.10->trunkKim Alvefur2016-07-234-11/+14
|\|
| * test_utf8: remove 2 unused variables and an undefined variable [luacheck]Anton Shestakov2016-07-231-1/+0
| |
| * test_util_http: wrap individual test blocks in do-end [luacheck]Anton Shestakov2016-07-231-8/+12
| |
| * test_util_uuid: remove unused one-letter loop variable [luacheck]Anton Shestakov2016-07-231-1/+1
| |
| * test_util_multitable: remove unused one-letter loop variable [luacheck]Anton Shestakov2016-07-231-1/+1
| |
* | Merge 0.10->trunkMatthew Wild2016-07-212-54/+61
|\|
| * 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
| |
* | Merge 0.10->trunkKim Alvefur2016-07-143-180/+201
|\|
| * 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
| |
* | Merge 0.10->trunkKim Alvefur2016-07-133-3/+51
|\|
| * 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
| |
* | Merge 0.10->trunkKim Alvefur2016-07-082-3/+3
|\|
| * 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
| |
* | tests: Add initial tests for util.asyncMatthew Wild2016-05-222-0/+149
| |
* | Merge 0.10->trunkMatthew Wild2016-03-181-0/+70
|\|
| * util.jid+tests: Add simple helpers... node(), host() and resource() for ↵Matthew Wild2016-03-171-0/+70
| | | | | | | | extracting specific parts of a JID
* | Merge 0.10->trunkMatthew Wild2016-03-171-10/+79
|\|
| * 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
| |
* | Merge 0.10->trunkMatthew Wild2016-03-091-0/+115
|\|
| * tests: Expand util.stanza testsMatthew Wild2016-03-091-0/+115
| |
* | tests: Add namespace/prefix tracking test for util.xmlMatthew Wild2016-03-051-0/+1
|/
* 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
| |