summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2010-07-20Updated license notices to use the correct MIT format. Also corrected ↵Lance Stout
references to nonexistant license.txt to LICENSE.
2010-07-20Updated message stanza tests.Lance Stout
2010-07-20Updated presence stanza to include a 'show' interface. Presence stanza tests ↵Lance Stout
updated accordingly.
2010-07-19Updated SleekTest to implement the checkPresence method.Lance Stout
Also, removed unnecessary TestStream class and shortened timeout during stream connection.
2010-07-19more set/get Values changesNathan Fritz
2010-07-19updated sleektest to use new stanza get/set values apiNathan Fritz
2010-07-19Condensed all of the stanzaPlugin functions into a single ↵Lance Stout
registerStanzaPlugin function. Updated plugins and tests to use new function.
2010-07-14Updated SleekTest to be able to simulate and test interactions with an XML ↵Lance Stout
stream.
2010-07-14Added initial stanza object version of the xep_0004 plugin. Items/reported ↵Lance Stout
elements still need to be unit tested
2010-07-11Reworked the Gmail notification plugin to use stanza objects and expose more ↵Lance Stout
information.
2010-06-27Refactored unit tests for XEP-0030, XEP-0033, and XEP-0085 to use the new ↵Lance Stout
SleekTest class.
2010-06-27Added a new SleekTest class that provides useful methods for test cases.Lance Stout
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-22Added plugin and tests for XEP-0033, Extended Stanza Addresses.Lance Stout
XEP-0033 can be useful for interacting with XMPP<->Email gateways.
2010-05-31Merge branch 'xep_0085' into developLance stout
2010-05-31Added implementation and tests for XEP-0085 - Chat State Notifications.Lance stout
Chat states may be set using: msg['chat_state'].active() msg['chat_state'].composing() msg['chat_state'].gone() msg['chat_state'].inactive() msg['chat_state'].paused() Checking a chat state can be done with either: msg['chat_state'].getState() msg['chat_state'].name When a message with a chat state is receieved, the following events may occur: chatstate_active chatstate_composing chatstate_gone chatstate_inactive chatstate_paused where the event data is the message stanza. Note that currently these events are also triggered for messages sent by SleekXMPP, not just those received.
2010-05-31Added unit tests for the new XEP-0030 stanza objects. All pass.Lance Stout
(cherry picked from commit e1b814f27bf160f20bb30c315ca30769d217482d)
2010-05-27added pubsub state stanzas and scheduled eventsNathan Fritz
2010-05-26fixed dns unicode problemNathan Fritz
2010-05-20added test_events and testing new del_event_handlerNathan Fritz
2010-05-12added test for unsolicided unavailable presence and fixed bug to make it passNathan Fritz
2010-04-22forgot to add file required to pass testall.pyNathan Fritz
2010-04-21added pubsub#event stanzas, multi-subtypes iterable stanzas, pubsub#event ↵Nathan Fritz
test coverage
2010-04-19added pubsub tests and fixed match on iterator errorNathan Fritz
2010-04-14adding tests, fixed stanzapath matching to match keys, fixed pubsub#owner ↵Nathan Fritz
stanzas
2010-04-07fixed html-im stanza pluginNathan Fritz
2010-04-07added missing docstrings to tests and added deprecated warning to ↵Nathan Fritz
basexmpp.send when using xml mask waiting
2010-03-26added memleak test and attempted to fix presence leakNathan Fritz
2010-01-29added separate tostring filesNathan Fritz
2010-01-15xep 30 and 50 always reply from jid iq sent toNathan Fritz
2010-01-13Completed basic test coverage of xmlns http://jabber.org/protocol/pubsub stanzasNathan Fritz
2010-01-08* tests need module fileNathan Fritz
2010-01-08* added testsNathan Fritz
2010-01-08* fixed stanza.keys()Nathan Fritz
2010-01-08* added first stanza testsNathan Fritz
* added stanza.keys() * stanza.getValues() now return substanzas and plugins * stanza.setValues() now can read substanzas and plugins * stanzas can now be iterable if stanza.subitem is set to a class