Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.strbitop: Add tests covering basics | Kim Alvefur | 2020-10-15 | 1 | -0/+41 |
| | | | | Also as docs | ||||
* | net.websocket.frames: Add test for empty frame with MASK and key set | Matthew Wild | 2020-10-15 | 1 | -0/+10 |
| | |||||
* | net.websocket.frames: Use C string XOR implementation | Kim Alvefur | 2020-10-14 | 1 | -1/+1 |
| | |||||
* | net.websocket.frames: Add small test covering xor-masking | Kim Alvefur | 2020-10-14 | 1 | -0/+13 |
| | | | | This is basically a recording of current behavior, to detect changes. | ||||
* | util.dbuffer: Expose length as :len() method, like strings | Kim Alvefur | 2020-10-12 | 1 | -0/+1 |
| | | | | Ref #1598 | ||||
* | Merge | Matthew Wild | 2020-09-30 | 1 | -0/+130 |
|\ | |||||
| * | util.dbuffer: Simplify test case | Kim Alvefur | 2020-08-24 | 1 | -0/+130 |
| | | | | | | | | | | | | | | | | | | An earlier theory involved the bug being related to collapsing multiple items, so it exercised that too. Also correct the comment, it referred to the space in "hello world" in an earlier version before the test string was changed to "foobar", which was what was tested in a REPL | ||||
* | | util.indexedbheap: Fix heap datastructure corruption in ↵ | Waqas Hussain | 2020-09-29 | 1 | -0/+33 |
|/ | | | | :reschedule(smaller_value) | ||||
* | MUC tests: Add missing affiliation attribute | Matthew Wild | 2020-04-23 | 1 | -1/+1 |
| | |||||
* | Backed out changeset 18f2c7bc5795 (was testing against wrong branch) | Matthew Wild | 2020-04-23 | 1 | -6/+2 |
| | |||||
* | MUC tests: Add <required/> to expected form field | Matthew Wild | 2020-04-23 | 1 | -2/+6 |
| | |||||
* | scansion/blocking: Remove the right irrelevant thing | Kim Alvefur | 2019-06-20 | 1 | -1/+1 |
| | |||||
* | mod_blocklist: Remove unrelated tags from test case | Kim Alvefur | 2019-06-20 | 1 | -10/+2 |
| | |||||
* | 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.pubsub: Validate node configuration on node creation (fixes #1328) | Kim Alvefur | 2019-03-03 | 1 | -0/+41 |
| | |||||
* | spec: Add test case for #1322 | Kim Alvefur | 2019-02-27 | 1 | -0/+202 |
| | |||||
* | util.pubsub: Add support for requesting multiple specific items (needed for ↵ | Kim Alvefur | 2019-01-28 | 1 | -0/+31 |
| | | | | #1305) | ||||
* | util.pubsub: Restore subscription index from stored data (fixes #1281) | Kim Alvefur | 2018-12-29 | 1 | -0/+30 |
| | |||||
* | mod_mam: Add test for JID normalization in prefs (see #1275) | Kim Alvefur | 2018-12-23 | 2 | -1/+38 |
| | |||||
* | MUC: Allow changing data attached to an only owner (fixes #1273) | Kim Alvefur | 2018-12-20 | 1 | -0/+22 |
| | | | | | | | This previously prevented a single owner from setting their own nickname via admin query. The form method uses `true` as actor so it bypasses this check. | ||||
* | spec/scansion: Fix test names of tests added in 0d97768b0ea9 | Matthew Wild | 2018-12-19 | 2 | -2/+2 |
| | |||||
* | spec/scansion: Add tests for members-only rooms | Matthew Wild | 2018-12-19 | 2 | -0/+236 |
| | |||||
* | util.stanza: Improve tests | Kim Alvefur | 2018-12-02 | 1 | -9/+19 |
| | |||||
* | net.websocket.frames: Add some brief tests | Kim Alvefur | 2018-11-29 | 1 | -0/+56 |
| | | | | These are mostly just recordings of minimal input roundtripped back into tables. | ||||
* | util.stanza: Validate input to clone() (with brief tests) | Kim Alvefur | 2018-11-17 | 1 | -0/+14 |
| | |||||
* | spec/scansion/prosody.cfg.lua: Add comment about mod_scansion_record | Kim Alvefur | 2018-11-12 | 1 | -1/+3 |
| | | | | | This was accidentally included in a previous commit, but having it here makes it easier to enable when making new test cases. | ||||
* | MUC: Add scanison test case for #1230 | Kim Alvefur | 2018-11-12 | 2 | -0/+102 |
| | |||||
* | issue1224.scs: Fix to expect new affiliation change notifications | Matthew Wild | 2018-10-31 | 1 | -0/+7 |
| | |||||
* | issue1224.scs: Update title | Matthew Wild | 2018-10-31 | 1 | -1/+1 |
| | |||||
* | muc_affiliation_notify.scs: Remove trailing whitespace | Matthew Wild | 2018-10-31 | 1 | -1/+1 |
| | |||||
* | muc_register.scs: Fix to expect new affiliation change notifications | Matthew Wild | 2018-10-31 | 1 | -0/+25 |
| | |||||
* | MUC: Announce affiliation changes for JIDs that are not in the room | Matthew Wild | 2018-10-31 | 1 | -0/+137 |
| | |||||
* | pubsub: Set pubsub#title as name attribute in disco#items (fixes #1226) | Kim Alvefur | 2018-10-30 | 1 | -0/+205 |
| | |||||
* | spec/scansion: Add pep_publish_subscribe (fixes #1222) | Matthew Wild | 2018-10-30 | 1 | -0/+210 |
| | |||||
* | util.serialization: Add option for allowing multiple references to the same ↵ | Kim Alvefur | 2018-10-27 | 1 | -1/+15 |
| | | | | table (but not cycles) | ||||
* | util.serialization: Test rejection of multiple references to same table | Kim Alvefur | 2018-10-27 | 1 | -0/+8 |
| | |||||
* | util.promise: Add tests ensuring returning a promise resolves the current ↵ | Matthew Wild | 2018-10-26 | 1 | -0/+49 |
| | | | | promise with that promise | ||||
* | util.promise tests: Fix declared but unused variables | Matthew Wild | 2018-10-25 | 1 | -2/+2 |
| | |||||
* | util.promise: Fix missing parameters | Matthew Wild | 2018-10-25 | 1 | -2/+28 |
| | |||||
* | util.promise: Ensure chained promises always receive a value/rejection even ↵ | Matthew Wild | 2018-10-25 | 1 | -0/+37 |
| | | | | if an intermediate promise has no handlers | ||||
* | storagemanager: Fix tests on Lua 5.3 | Kim Alvefur | 2018-10-21 | 1 | -0/+1 |
| | | | | _G.unpack moved to table.unpack | ||||
* | MUC: Use the bare JID when performing a lookup for COMPAT with clients that ↵ | Matthew Wild | 2018-10-21 | 1 | -0/+108 |
| | | | | | | don't set it (fixes #1224) The full JID is never meant to be the target of affiliation changes. | ||||
* | tests: Add some comments to xep54 test | Kim Alvefur | 2018-10-20 | 1 | -0/+3 |
| | |||||
* | tests: Remove initial read since XEP is unclear (see #1104) | Kim Alvefur | 2018-10-20 | 1 | -10/+0 |
| | | | | | If the store is empty then either this empty vCard element or an item-not-found error is acceptable. | ||||
* | tests: Set a proper title for vCard test | Kim Alvefur | 2018-10-20 | 1 | -0/+1 |
| | |||||
* | tests: Add simple test case for XEP-0054 | Kim Alvefur | 2018-10-20 | 1 | -0/+86 |
| | |||||
* | util.promise: Add promise.try() | Matthew Wild | 2018-10-18 | 1 | -0/+51 |
| | |||||
* | util.pubsub: Allow publishing with a config that should be used as defaults only | Matthew Wild | 2018-10-18 | 1 | -0/+28 |
| | |||||
* | util.promise: Add promise:finally() | Matthew Wild | 2018-10-18 | 1 | -0/+67 |
| |