Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | util.array: Add a test case for a behavior change in Lua 5.3 | Kim Alvefur | 2020-01-14 | 1 | -0/+1 | |
| | | | | | | | | | | In Lua 5.1 and 5.2 the __eq metamethod is not invoked if the other argument is of a different metatable, but in Lua 5.3 it is. | |||||
* | | net.websocket.frames: Add ping and pong test cases | Kim Alvefur | 2020-01-02 | 1 | -0/+24 | |
| | | ||||||
* | | net.websocket.frames: Add test case for masked data | Kim Alvefur | 2020-01-02 | 1 | -0/+13 | |
| | | | | | | | | ASCI is pretty neat in how lower case alphabet XOR space is upper case | |||||
* | | util.pubsub: Ignore unused argument in tests [luacheck] | Kim Alvefur | 2019-12-29 | 1 | -1/+1 | |
| | | ||||||
* | | util.pubsub: Cover subscription filter in a partial test | Kim Alvefur | 2019-12-26 | 1 | -0/+26 | |
| | | | | | | | | | | | | | | I'm not sure I understand spies well enough to test that the arguments and return values are as expected. Better than nothing at least. | |||||
* | | tests: Silence [luacheck] warnings | Kim Alvefur | 2019-12-23 | 3 | -0/+14 | |
| | | ||||||
* | | scansion: Trim trailing whitespace in tests | Kim Alvefur | 2019-12-19 | 6 | -9/+9 | |
| | | ||||||
* | | rostermanager, mod_presence: Support for subscription preapproval (fixes #686) | Matthew Wild | 2019-12-19 | 1 | -0/+74 | |
| | | ||||||
* | | util.dataforms: Improve descriptions in tests | Kim Alvefur | 2019-12-16 | 1 | -5/+5 | |
| | | ||||||
* | | util.stanza: Accept util.error object to error_reply | Kim Alvefur | 2019-12-14 | 1 | -0/+17 | |
| | | | | | | | | | | | | | | | | If we're moving towards util.error as the standard error container then this makes sense. This may allow for future extensibility without needing a lot of optional arguments. | |||||
* | | util.sasl: Add stub tests | Kim Alvefur | 2019-12-14 | 1 | -0/+43 | |
| | | | | | | | | Random uncommitted file I found when cleaning out my work dir | |||||
* | | net.http.parser tests: Expand tests to include validation of results | Matthew Wild | 2019-12-09 | 1 | -22/+86 | |
| | | ||||||
* | | configmanager tests: Split long line | Matthew Wild | 2019-12-09 | 1 | -1/+3 | |
| | | ||||||
* | | tests: Disable s2s in scansion tests | Kim Alvefur | 2019-11-30 | 1 | -1/+4 | |
| | | | | | | | | These are all c2s tests, no need to have s2s enabled. | |||||
* | | MUC: Indicate origin of registration related errors | Kim Alvefur | 2019-11-25 | 1 | -2/+2 | |
| | | ||||||
* | | MUC: Indicate origin of password related errors | Kim Alvefur | 2019-11-25 | 1 | -1/+1 | |
| | | ||||||
* | | util.stanza: Support the 'by' attribute on errors | Kim Alvefur | 2019-11-25 | 1 | -1/+2 | |
| | | | | | | | | | | This is to be used when the entity generating the error is not the same as the one the stanza was directed to, e.g. an intermediate server. | |||||
* | | util.stanza: Check that argument to error_reply is NOT a stanza of type error | Kim Alvefur | 2019-11-25 | 1 | -0/+10 | |
| | | | | | | | | Replying to an error is Very Bad | |||||
* | | util.stanza: Check that argument to error_reply is a stanza | Kim Alvefur | 2019-11-25 | 1 | -0/+6 | |
| | | ||||||
* | | util.stanza: Remove redundant check for attrs | Kim Alvefur | 2019-11-25 | 1 | -0/+7 | |
| | | | | | | | | A stanza can't not have attrs if created the correct way | |||||
* | | util.stanza: Check that argument to reply is a stanza | Kim Alvefur | 2019-11-25 | 1 | -0/+6 | |
| | | ||||||
* | | MUC: Add testcase for #1466 | Kim Alvefur | 2019-11-24 | 1 | -0/+127 | |
| | | ||||||
* | | util.interpolation: Add commented test case for passing nil to filter | Kim Alvefur | 2019-11-17 | 1 | -0/+1 | |
| | | ||||||
* | | util.interpolation: Test template filters | Kim Alvefur | 2019-11-17 | 1 | -1/+11 | |
| | | ||||||
* | | util.array: Fix typo in test | Kim Alvefur | 2019-11-07 | 1 | -1/+1 | |
| | | ||||||
* | | MUC: Make nickname field in registration form required | Kim Alvefur | 2019-11-02 | 1 | -2/+6 | |
| | | | | | | | | | | | | Prevents traceback from resourceprep(nil) muc#register_roomnick is also required in XEP-0045 | |||||
* | | util.error: Add well-known field 'code' in error templates | Kim Alvefur | 2019-11-01 | 1 | -0/+2 | |
| | | | | | | | | Intended to be for HTTP-ish numeric status codes | |||||
* | | util.pubsub, pubsub.lib and tests: Add text to precondition-not-met error ↵ | Matthew Wild | 2019-10-27 | 2 | -1/+235 | |
| | | | | | | | | (fixes #1455) | |||||
* | | util.interpolation: Test map syntax | Kim Alvefur | 2019-10-20 | 1 | -0/+7 | |
| | | ||||||
* | | util.interpolation: Test array syntax | Kim Alvefur | 2019-10-20 | 1 | -0/+8 | |
| | | ||||||
* | | util.interpolation: Test #1452 | Kim Alvefur | 2019-10-20 | 1 | -1/+5 | |
| | | ||||||
* | | util.promise: Add some additional tests to cover callback return values | Matthew Wild | 2019-09-30 | 1 | -0/+24 | |
| | | ||||||
* | | MUC: Fix XML syntax error in test | Kim Alvefur | 2019-09-21 | 1 | -0/+1 | |
| | | | | | | | | How did this even happen? | |||||
* | | MUC: Update test for vcard-temp changes | Kim Alvefur | 2019-09-21 | 1 | -4/+11 | |
| | | | | | | | | | | | | Should this XEP-0398 behavior even be covered here? The original lines came from a recording. | |||||
* | | tests: Disable TLS in scansion tests | Kim Alvefur | 2019-09-07 | 1 | -1/+1 | |
| | | | | | | | | | | | | They were not using TLS before. With a36af4570b39 TLS context creation will succeed even without a certificate, so TLS will be offered, but since there is no certificate it does not work. | |||||
* | | MUC: Fix delay tag @from in test to be the room JID (#1054 came back) | Kim Alvefur | 2019-08-31 | 1 | -2/+2 | |
| | | ||||||
* | | MUC: Add a test covering basic room creation, messages and destruction | Kim Alvefur | 2019-08-31 | 1 | -0/+242 | |
| | | ||||||
* | | util.error: Add tests | Kim Alvefur | 2019-07-29 | 1 | -0/+68 | |
| | | ||||||
* | | util.array: Add tests | Kim Alvefur | 2019-07-29 | 1 | -0/+154 | |
| | | ||||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-06-20 | 1 | -1/+1 | |
|\| | ||||||
| * | scansion/blocking: Remove the right irrelevant thing | Kim Alvefur | 2019-06-20 | 1 | -1/+1 | |
| | | ||||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-06-20 | 1 | -10/+2 | |
|\| | ||||||
| * | mod_blocklist: Remove unrelated tags from test case | Kim Alvefur | 2019-06-20 | 1 | -10/+2 | |
| | | ||||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-06-20 | 1 | -0/+168 | |
|\| | ||||||
| * | mod_blocklist: Update test case with correct behavior (see #1380) | Kim Alvefur | 2019-06-20 | 1 | -0/+6 | |
| | | | | | | | | Expect failure | |||||
| * | mod_blocklist: Add test case capturing current behavior | Kim Alvefur | 2019-06-20 | 1 | -0/+162 | |
| | | ||||||
* | | util.format: Handle integer formats the same way on Lua versions without ↵ | Kim Alvefur | 2019-05-30 | 1 | -0/+1 | |
| | | | | | | | | integer support | |||||
* | | util.format: Handle formats expecting an integer in Lua 5.3+ (fixes #1371) | Kim Alvefur | 2019-05-30 | 1 | -0/+1 | |
| | | ||||||
* | | util.hashring: Add tests | Matthew Wild | 2019-05-13 | 1 | -0/+85 | |
| | | ||||||
* | | Fix various spelling mistakes [codespell] | Kim Alvefur | 2019-05-03 | 1 | -1/+1 | |
| | |