aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* util.time: Add brief testsKim Alvefur2018-08-181-0/+31
|
* util.pubsub: Silence warnings in tests [luacheck]Kim Alvefur2018-08-161-1/+1
| | | | Warnings introduced in c53663e13b51 according to bisect
* util.pubsub tests: Add TODOMatthew Wild2018-08-121-0/+10
|
* util.pubsub tests: Add tests to confirm new access model is enforced on ↵Matthew Wild2018-08-121-0/+24
| | | | config change
* util.pubsub tests: Add initial node config testsMatthew Wild2018-08-121-0/+18
|
* util.pubsub tests: Extend publishing tests to check for correct notification ↵Matthew Wild2018-08-121-1/+13
| | | | behaviour on subscribe/unsubscribe
* util.pubsub tests: Add tests for publish_model (publishers, open, subscribers)Matthew Wild2018-08-121-6/+64
|
* util.pubsub tests: Add some initial access model tests (open and whitelist)Matthew Wild2018-08-111-0/+52
|
* spec: Correct order of arguments to asserts in configmanager testsKim Alvefur2018-08-111-10/+10
| | | | assert.foo(expect, got, ...)
* util.pubsub: Drop now redundant capabilities from testsKim Alvefur2018-08-081-6/+0
|
* util.dataforms: Allow passing the current values to be used in stead of ↵Kim Alvefur2018-08-051-0/+39
| | | | omitted fields
* util.dataforms: Add failing test for #1177Kim Alvefur2018-06-301-0/+27
|
* util.dataforms: Include a fixed field in testKim Alvefur2018-07-151-0/+10
|
* util.xmppstream: Add tests for various XML features forbidden by the RFCMatthew Wild2018-07-111-44/+90
|
* util_pubsub_spec: Add test for #1082Kim Alvefur2018-07-101-0/+53
|
* util.stanza: Brief tests for :remove_childrenKim Alvefur2018-07-081-0/+22
|
* util.dataforms: Add a simple function for identifying form typesKim Alvefur2018-06-021-0/+9
| | | | | This is meant to allow identifying forms without parsing them completely.
* util.dataforms: Add initial testsKim Alvefur2018-06-021-0/+305
| | | | | This covers basic form generation, that the fields have the correct attributes, children and text content.
* spec/util_pubsub: Test whether someone can subscribe to a nodeKim Alvefur2018-05-201-1/+13
| | | | Test fails because of missing normalize_jid
* spec/util_iterators: Remove unused import of util.set [luacheck]Kim Alvefur2018-05-181-1/+0
|
* Fix wrong tests committed with 7b621a4a2e8dMatthew Wild2018-05-182-21/+15
|
* util.iterators: Add join() method and testsMatthew Wild2018-05-181-0/+21
|
* util.events: Add more tests (100% line coverage)Matthew Wild2018-04-251-0/+21
|
* util.events: Add testsMatthew Wild2018-04-241-0/+191
|
* net.http.server: Prevent loading of net.server in tests (breaks unrelated ↵Kim Alvefur2018-03-241-0/+1
| | | | tests for some reason)