SleekXMPP/tests
Lance Stout 5c76d969f7 Added a new SleekTest class that provides useful methods for test cases.
Can now use: (where self is a SleekTest instance)
self.stanzaPlugin(stanza, plugin)
self.Message()  \
self.Iq()        > Just like basexmpp.Message(), etc.
self.Presence() /
self.checkMessage(msg, xmlstring)
self.checkIq(iq, xmlstring)
self.checkPresence(pres, xmlstring) <- Not implemented yet, but stub is there.

The check* methods also accept a use_values keyword argument that defaults to True.
When this value is True, an additional test is executed by creating a stanza using
getValues() and setValues(). Since some stanza objects can override these two methods,
disabling this test is sometimes required.
2010-06-27 17:33:43 -04:00
..
__init__.py * tests need module file 2010-01-08 07:07:43 +00:00
sleektest.py Added a new SleekTest class that provides useful methods for test cases. 2010-06-27 17:33:43 -04:00
test_addresses.py Added plugin and tests for XEP-0033, Extended Stanza Addresses. 2010-06-22 23:22:50 -04:00
test_chatstates.py Added implementation and tests for XEP-0085 - Chat State Notifications. 2010-05-31 13:24:14 -04:00
test_disco.py Added unit tests for the new XEP-0030 stanza objects. All pass. 2010-05-31 05:30:47 +08:00
test_events.py added test_events and testing new del_event_handler 2010-05-20 13:09:04 -07:00
test_messagestanzas.py fixed html-im stanza plugin 2010-04-07 23:56:44 -07:00
test_presencestanzas.py added test for unsolicided unavailable presence and fixed bug to make it pass 2010-05-12 18:07:20 -07:00
test_pubsubstanzas.py added pubsub state stanzas and scheduled events 2010-05-27 04:58:57 -07:00
xmlcompare.py forgot to add file required to pass testall.py 2010-04-22 23:40:50 -07:00