aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_stanza_spec.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* util.stanza: Brief tests for :remove_childrenKim Alvefur2018-07-081-0/+22
|
* util.stanza: tests: Add more invalid data types and update for :text(nil) ↵Matthew Wild2018-03-211-10/+20
| | | | and :text("")
* util.stanza: Switch from asserts to if's, improve performance, errors and testsMatthew Wild2018-03-181-26/+37
|
* util.stanza: Test coverage of is_stanza()Kim Alvefur2018-03-171-0/+16
|
* util.stanza: Add stricter validation for data passed to stanza builder APIMatthew Wild2018-03-161-0/+34
|
* util.stanza: Add tests ensuring support for unicode in tag/attr namesMatthew Wild2018-03-161-0/+6
|
* util.stanza: Fix tests to call error_reply() correctly, and add tests to ↵Matthew Wild2018-03-161-2/+4
| | | | ensure it vaguely works
* Port tests to the `busted` test runnerWaqas Hussain2017-09-151-0/+159