aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
...
* util.promise: Add additional test for promise.reject()Matthew Wild2018-10-181-0/+6
|
* util.promise: Fix promise.reject() to return a rejected promise, and fix ↵Matthew Wild2018-10-181-1/+1
| | | | buggy test for it
* util.http: Add tests for normalize_pathKim Alvefur2018-10-141-0/+23
|
* storagemanager tests: Also cover memory driverKim Alvefur2018-10-121-0/+3
|
* util.serialization: Simpler metatable pre-processingKim Alvefur2018-10-121-0/+8
| | | | It was too difficult to describe what it did.
* util.serialization: Test table keys that are Lua keywordsKim Alvefur2018-10-111-0/+1
|
* util.serialization: Test that it rejects tables wit cyclesKim Alvefur2018-10-111-0/+7
|
* util.serialization: Make errors fatal by default (like the previous ↵Kim Alvefur2018-10-111-1/+11
| | | | implementation)
* storagemanager tests: Remove debug print()Matthew Wild2018-10-111-1/+0
|
* storagemanager tests: Add many more archive tests, including (failing) cases ↵Matthew Wild2018-10-111-0/+105
| | | | for #1200 and #1073
* storagemanager tests: Add additional archive query testsMatthew Wild2018-10-111-18/+103
|
* storagemanager tests: Add some additional checksMatthew Wild2018-10-101-0/+12
|
* storagemanager tests: Add initial basic tests for archive storesMatthew Wild2018-10-101-18/+59
|
* util.promise tests: Fix luacheck warningsMatthew Wild2018-10-101-7/+6
|
* util.promise: ES6-like API for promisesMatthew Wild2018-10-101-0/+262
|
* Fix storage tests so they run, but not by defaultMatthew Wild2018-10-011-4/+11
|
* util.pubsub tests: Ensure necessary tests run in the defined orderMatthew Wild2018-10-011-0/+8
|
* Add storage tests (currently only internal and sqlite)Matthew Wild2018-09-291-0/+79
|
* mod_bosh: Add tests (run with 'busted -r bosh')Matthew Wild2018-09-231-0/+674
|
* util.serialization: Use deserialize instead of envload directlyKim Alvefur2018-09-231-4/+2
|
* util.serialization: Add brief initial testsKim Alvefur2018-09-231-0/+33
|
* mod_pep: Add test publishing a nicknameKim Alvefur2018-09-221-0/+72
|
* util.iterators tests: Check value matches expected [luacheck]Matthew Wild2018-09-211-0/+2
|
* util.iterators: Add sorted_pairs() methodMatthew Wild2018-09-211-0/+30
|
* util.json tests: Add [luacheck] annotation to mark intentionally-empty if branchMatthew Wild2018-09-171-1/+1
|
* util.cache tests: Add annotation to fix [luacheck] warningMatthew Wild2018-09-171-1/+1
|
* scansion: muc_register.scs: Test to ensure MUC registration by unaffiliated ↵Matthew Wild2018-09-171-0/+36
| | | | users is disabled by default
* util.poll: Test that it loads after being compiledKim Alvefur2018-09-151-0/+6
|
* MUC: Don't kick user of a reserved nick if it's theirs (thanks pep.)Matthew Wild2018-09-141-0/+62
|
* MUC: Include 'nick' attribute in affiliation lists (thanks jc)Matthew Wild2018-09-141-0/+16
|
* util.stanza tests: Remove unused variable #luacheckMatthew Wild2018-09-131-2/+2
|
* util.stanza: Don't automatically generate ids for iq stanzasMatthew Wild2018-09-131-3/+14
| | | | | | | | | | Users of this API should provide their own id attribute that meets their uniqueness requirements. The current implementation leaks information (i.e. how many iq stanzas have been sent by the server to other JIDs). Providing any strong guarantees of randomness here would need to pull in additional dependencies that we don't want in this simple library.
* spec/scansion/basic_roster.scs: Add tests for actually modifying the rosterMatthew Wild2018-09-131-8/+40
|
* util.stanza tests: Fix test name (copy/paste error?)Matthew Wild2018-09-131-1/+1
|
* MUC: Fix to correctly return 'node' in disco#info responses (thanks jc)Matthew Wild2018-09-131-2/+16
|
* MUC: If a user with an existing affiliation registers, preserve that ↵Matthew Wild2018-09-131-0/+65
| | | | affiliation (thanks jc)
* spec/scansion/prosody.cfg.lua: daemonize by defaultMatthew Wild2018-09-121-0/+1
|
* spec/scansion/prosody.cfg.lua: Add pidfile option so Prosody can be daemonizedMatthew Wild2018-09-121-0/+2
|
* spec/scansion/prosody.cfg.lua: Config file to be used for integration testsMatthew Wild2018-09-121-0/+76
|
* spec/scansion: Ensure all scripts have sensible titlesMatthew Wild2018-09-1112-1/+22
|
* spec/scansion: Multiple fixes to make all tests pass in latest ↵Matthew Wild2018-09-106-155/+9
| | | | (c35386e4b456) scansion
* spec/scansion: Add scansion scripts used for testingMatthew Wild2018-09-0613-0/+1474
| | | | | | All past, except issue978-multi which fails randomly based on ordering of elements - this is a scansion issue to be resolved.
* util.dataforms: Add support for XEP-0122: Data Forms ValidationKim Alvefur2018-09-011-0/+22
| | | | Initially only basic validation of xs:integer
* util.dataforms: Allow field names to be different from the 'var' attributeKim Alvefur2018-09-011-0/+15
| | | | | | This should allow the usage of long prefixes and namespace-like names to be contained to the XML representation of the form, so that the code can use more convenient names.
* util.stanza + tests: Bail out of loop if we are iterating too far, fixes #981Matthew Wild2018-08-191-0/+7
|
* util.stanza tests: Add tests for maptags() methodMatthew Wild2018-08-191-0/+71
|
* tests: Add muc/util tests for filtering MUC elementsMatthew Wild2018-08-191-0/+35
|
* util.pubsub tests: Fix whitespaceKim Alvefur2018-08-181-2/+2
|
* util.pubsub tests: Add tests for get_items()Matthew Wild2018-08-181-0/+28
|
* Pubsub: Add tests for :get_last_item() and fix for non-persistent nodesMatthew Wild2018-08-181-0/+26
|