Commit Graph

14 Commits (dc1690029d807c815be87f0f94de383decef52b0)

Author SHA1 Message Date
Kim Alvefur a83cf53a22 util.stanza: Validate input to clone() (with brief tests) 7 years ago
Matthew Wild 39ff6a385e util.stanza tests: Remove unused variable #luacheck 7 years ago
Matthew Wild b3cfe2bd75 util.stanza: Don't automatically generate ids for iq stanzas 7 years ago
Matthew Wild 2854d8c2b0 util.stanza tests: Fix test name (copy/paste error?) 7 years ago
Matthew Wild 028db90d4b util.stanza + tests: Bail out of loop if we are iterating too far, fixes #981 8 years ago
Matthew Wild 5005ab3e55 util.stanza tests: Add tests for maptags() method 8 years ago
Kim Alvefur b27447e37d util.stanza: Brief tests for :remove_children 8 years ago
Matthew Wild b05ae66934 util.stanza: tests: Add more invalid data types and update for :text(nil) and :text("") 8 years ago
Matthew Wild 7d4e55d567 util.stanza: Switch from asserts to if's, improve performance, errors and tests 8 years ago
Kim Alvefur d1d9e835d3 util.stanza: Test coverage of is_stanza() 8 years ago
Matthew Wild d0a4392817 util.stanza: Add stricter validation for data passed to stanza builder API 8 years ago
Matthew Wild 6d97f869e8 util.stanza: Add tests ensuring support for unicode in tag/attr names 8 years ago
Matthew Wild bbc5d5a638 util.stanza: Fix tests to call error_reply() correctly, and add tests to ensure it vaguely works 8 years ago
Waqas Hussain f9ead37d00 Port tests to the `busted` test runner 8 years ago