Commit Graph

15 Commits (eeb98faa3a09ab9bdfeaa8ed9d2ff3d1d3a94de9)

Author SHA1 Message Date
Kim Alvefur 1bf2e5f5f4 util.stanza: Improve tests 7 years ago
Kim Alvefur 50f6335501 util.stanza: Validate input to clone() (with brief tests) 7 years ago
Matthew Wild 2219abbc3f util.stanza tests: Remove unused variable #luacheck 7 years ago
Matthew Wild 27d8902b8e util.stanza: Don't automatically generate ids for iq stanzas 7 years ago
Matthew Wild af5fac0a9c util.stanza tests: Fix test name (copy/paste error?) 7 years ago
Matthew Wild 3b0271f560 util.stanza + tests: Bail out of loop if we are iterating too far, fixes #981 8 years ago
Matthew Wild c17a785604 util.stanza tests: Add tests for maptags() method 8 years ago
Kim Alvefur 3322ba6449 util.stanza: Brief tests for :remove_children 8 years ago
Matthew Wild 7a83585658 util.stanza: tests: Add more invalid data types and update for :text(nil) and :text("") 8 years ago
Matthew Wild 65f4b853a0 util.stanza: Switch from asserts to if's, improve performance, errors and tests 8 years ago
Kim Alvefur 6c8d196c98 util.stanza: Test coverage of is_stanza() 8 years ago
Matthew Wild 6d7cd57d44 util.stanza: Add stricter validation for data passed to stanza builder API 8 years ago
Matthew Wild b7fd84b6e5 util.stanza: Add tests ensuring support for unicode in tag/attr names 8 years ago
Matthew Wild a65352b35f util.stanza: Fix tests to call error_reply() correctly, and add tests to ensure it vaguely works 8 years ago
Waqas Hussain 67293fc09f Port tests to the `busted` test runner 8 years ago