Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-10-07 | Changed SleekTest to use underscored names. | Lance Stout | |
2010-10-06 | Corrected stream header tester. | Lance Stout | |
Added test for testing stream headers. | |||
2010-10-06 | Updated SleekTest and related tests. | Lance Stout | |
May now use a component for stream testing. Methods provided for testing stream headers. | |||
2010-08-27 | Fixed SleekTest compare method to check XML text. | Lance Stout | |
Corrected resulting test failures. All pass again. | |||
2010-08-13 | Added a generic checkStanza method to SleekTest. Updated the other check ↵ | Lance Stout | |
methods to use it. | |||
2010-08-12 | Updated SleekTest with docs and PEP8 style. | Lance Stout | |
2010-08-11 | Updated SleekTest.streamClose to check that the stream was actually started ↵ | Lance Stout | |
before closing it. Updated tests for Iq stanzas to not start a stream for every test; tests now run a lot faster. The call to streamClose must still be in the tearDown method to ensure it is called in the case of an error. | |||
2010-08-06 | Updated SleekTest to use the new tostring function instead of ET.tostring | Lance Stout | |
2010-08-03 | Fix whitespace issues, and make some debugging statements clearer. | Lance Stout | |
2010-07-29 | Remove extra debugging lines and speed up stream testing in SleekTest. | Lance Stout | |
2010-07-20 | Updated license notices to use the correct MIT format. Also corrected ↵ | Lance Stout | |
references to nonexistant license.txt to LICENSE. | |||
2010-07-19 | Updated SleekTest to implement the checkPresence method. | Lance Stout | |
Also, removed unnecessary TestStream class and shortened timeout during stream connection. | |||
2010-07-19 | more set/get Values changes | Nathan Fritz | |
2010-07-19 | updated sleektest to use new stanza get/set values api | Nathan Fritz | |
2010-07-19 | Condensed all of the stanzaPlugin functions into a single ↵ | Lance Stout | |
registerStanzaPlugin function. Updated plugins and tests to use new function. | |||
2010-07-14 | Updated SleekTest to be able to simulate and test interactions with an XML ↵ | Lance Stout | |
stream. | |||
2010-06-27 | Added 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. |