summaryrefslogtreecommitdiff
path: root/qpid/python/tests_0-10/message.py
Commit message (Collapse)AuthorAgeFilesLines
* moved protocol tests from qpid/python to qpid/testsRafael H. Schloming2010-02-051-918/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@906961 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2191: Fix browsing behaviour where messages may have been released out ↵Gordon Sim2009-11-091-0/+35
| | | | | | of order git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@834026 13f79535-47bb-0310-9956-ffa450edef68
* - removed old and redundent testsRafael H. Schloming2009-08-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | - removed old test harness in favor of qpid-python-test - modified qpid-python-test to support "skipped" tests, these are tests that failed due to an anticipated environmental reason such as the broker is not running or it is the wrong version - modified the qpid-python-test harness to exit with appropriate error codes based on the test results - modified the python clients to report version mismatches rather than framing errors - made qpid_config provide variables for 0-8, 0-9, and 0-10 versions of the spec - modified the 0-10 client to directly codegen classes - added new 0-10 framing layer based on push parsing rather than pull parsing - added numerous framing tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803168 13f79535-47bb-0310-9956-ffa450edef68
* use longs for large hex constant literals, this avoids scary looking ↵Rafael H. Schloming2009-03-251-38/+38
| | | | | | warnings on earlier versions of python git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@758389 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bug in credit reallocation, along with test from rafaels@redhat.com ↵Gordon Sim2009-02-251-0/+36
| | | | | | that reproduces it. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747833 13f79535-47bb-0310-9956-ffa450edef68
* Adjust sizes in tests for change to timestamp settingGordon Sim2008-10-131-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@704213 13f79535-47bb-0310-9956-ffa450edef68
* Handle ttl in messages transfers received by the broker 7 added test for itGordon Sim2008-10-101-3/+25
| | | | | | | | Moved Timer instance from DtxManager to Broker so it can be shared git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@703521 13f79535-47bb-0310-9956-ffa450edef68
* cleanup old irrelevant tests (from 0-10 preview functions)Gordon Sim2008-06-051-207/+0
| | | | | | | | fix dtx.recover test git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@663675 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1045 and QPID-1041: added a destination attribute to incoming queues, ↵Rafael H. Schloming2008-05-091-1/+17
| | | | | | and added a start() method to incoming queues as syntactic sugar for the verbose message flow idiom git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@654918 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1042: ensure delievery record is kept where accept_mode=not-required, ↵Gordon Sim2008-05-091-1/+26
| | | | | | acquire_mode=not-acquired and flow_mode=credit git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@654737 13f79535-47bb-0310-9956-ffa450edef68
* QPID-979: added access to enums through the session so that symbolic ↵Rafael H. Schloming2008-05-081-57/+57
| | | | | | constants can be used rather than hard coded ones; also added default loading of the spec git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@654618 13f79535-47bb-0310-9956-ffa450edef68
* Correct expected error codes for final 0-10 specGordon Sim2008-04-241-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@651421 13f79535-47bb-0310-9956-ffa450edef68
* Added to the no-local tests, cleaned up comments (and highlighted ↵Gordon Sim2008-04-231-13/+48
| | | | | | | | | non-standard nature of these tests) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@650795 13f79535-47bb-0310-9956-ffa450edef68
* QPID-944: do no-local checking where requested when there is an exclusive ↵Gordon Sim2008-04-221-0/+28
| | | | | | subscription active git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@650450 13f79535-47bb-0310-9956-ffa450edef68
* Re-introduced old 'no-local' behaviour for exclusive queues via a ↵Gordon Sim2008-03-311-16/+15
| | | | | | proprietary arg to queue.declare. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@642981 13f79535-47bb-0310-9956-ffa450edef68
* Enabled tx methods on final 0-10 path and converted tests accordinglyGordon Sim2008-03-111-17/+15
| | | | | | | | Added read/write- uuid to codec010 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@636121 13f79535-47bb-0310-9956-ffa450edef68
* Converted some more testsGordon Sim2008-03-111-15/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@635995 13f79535-47bb-0310-9956-ffa450edef68
* Added acquire impl to final 0-10 codepathGordon Sim2008-03-071-18/+33
| | | | | | | | Converted some more python tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634780 13f79535-47bb-0310-9956-ffa450edef68
* Converted some more tests to use new clientGordon Sim2008-03-071-12/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634729 13f79535-47bb-0310-9956-ffa450edef68
* Altered management of delivery records to support separateion of completion ↵Gordon Sim2008-03-071-25/+35
| | | | | | | | | | (which drives flow control) and acceptance. Converted flow control python tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634661 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to c++ broker:Gordon Sim2008-03-061-268/+304
| | | | | | | | | | | | | - use final version of delivery properties where appropriate - start sequence numbering of outgoing messages at 0 - explicit accept-mode is now 0 (no more confirm-mode) - add default initialisers for numeric fields in methods Converted some more python tests to use final 0-10 client. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634368 13f79535-47bb-0310-9956-ffa450edef68
* Requests to release a message that has not been acquired should be ignored.Gordon Sim2008-02-181-0/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@628659 13f79535-47bb-0310-9956-ffa450edef68
* Fixed bug in browsing that failed to deal correctly with 'gaps' in message ↵Gordon Sim2008-02-141-0/+43
| | | | | | sequence. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@627718 13f79535-47bb-0310-9956-ffa450edef68
* whitespace cleanupRafael H. Schloming2008-02-081-34/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@620011 13f79535-47bb-0310-9956-ffa450edef68
* fixed python dependence on the content-length attribute (bz 419371)Rafael H. Schloming2008-01-181-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@613211 13f79535-47bb-0310-9956-ffa450edef68
* Set the exchange field in delivery properties on the broker.Gordon Sim2008-01-171-1/+1
| | | | | | | | (required an adjustment to the size of messages in the bytes based credit test) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612805 13f79535-47bb-0310-9956-ffa450edef68
* Additional test covering the current hack for no-local used on exclusive queuesGordon Sim2007-11-161-0/+42
| | | | | | | | Additional check to second not-acquired test, asserting that messages aren't consumed git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@595636 13f79535-47bb-0310-9956-ffa450edef68
* Fix to QPID-640. The fields actually set/encoded are now tracked explicitly.Gordon Sim2007-11-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@592753 13f79535-47bb-0310-9956-ffa450edef68
* Additional testing of subscriber in not-acquired modeGordon Sim2007-10-251-5/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@588287 13f79535-47bb-0310-9956-ffa450edef68
* Fixed return of acquired message ranges (and added tests)Gordon Sim2007-10-181-2/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@585952 13f79535-47bb-0310-9956-ffa450edef68
* Enabled packed struct encoding in python, cpp, and java. Also fixed ↵Rafael H. Schloming2007-10-141-12/+16
| | | | | | computation of required byte credit in Message.cpp. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@584474 13f79535-47bb-0310-9956-ffa450edef68
* Exclusive no longer implies auto-delete on queue.declare.Gordon Sim2007-10-111-22/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@583821 13f79535-47bb-0310-9956-ffa450edef68
* Ensure recovered messages have the redelivered flag setGordon Sim2007-10-111-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@583740 13f79535-47bb-0310-9956-ffa450edef68
* Additional tests and fixesGordon Sim2007-10-041-0/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@581957 13f79535-47bb-0310-9956-ffa450edef68
* Added test for ordering of released messagesGordon Sim2007-10-041-0/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@581880 13f79535-47bb-0310-9956-ffa450edef68
* Fixed recovery; unacked message records are now updated to hold the new ↵Gordon Sim2007-10-021-0/+46
| | | | | | | | | | command id when messages are resent. Added unit and python test as previous bug was not being picked up by the existing tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@581175 13f79535-47bb-0310-9956-ffa450edef68
* Moved c++ over to using the same preview file for 0-10 work as java.Gordon Sim2007-09-211-2/+2
| | | | | | | | | | Removed all channel class related code from broker as a result. Did the same for some python tests I missed earlier. Renamed ChannelAdapter to ChannelHandler. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@578167 13f79535-47bb-0310-9956-ffa450edef68
* In ClientChannel: Use subscribe and flush in place of get; use ↵Gordon Sim2007-09-121-30/+22
| | | | | | | | | | per-subscriber flow control for managing prefetches. In brokers Session: set credit to 0 when subscription is created (modified python tests accordingly) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@574979 13f79535-47bb-0310-9956-ffa450edef68
* Initial implementation (plus very simple tests) of message.acquire, ↵Gordon Sim2007-09-031-7/+71
| | | | | | message.release, message.reject and message.flush. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@572394 13f79535-47bb-0310-9956-ffa450edef68
* Updated message.transfer encoding to use header and content segments ↵Gordon Sim2007-08-281-353/+57
| | | | | | | | | | (including new structs). Unified more between the basic and message classes messages. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@570538 13f79535-47bb-0310-9956-ffa450edef68
* Refresh of transitional xml to more closely reflect latest specificationGordon Sim2007-08-211-32/+32
| | | | | | | | | Initial execution-result support (not yet handled on c++ client) Generation is now all done through the ruby code (it is a little slower at present I'm afraid, will try to speed it up over the next weeks) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@568174 13f79535-47bb-0310-9956-ffa450edef68
* Broker management of message acknowledgements now runs entirely off ↵Gordon Sim2007-08-101-0/+138
| | | | | | | | | | execution layer. Flow control support. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@564611 13f79535-47bb-0310-9956-ffa450edef68
* Use execution layer to acknowledge messages. Gordon Sim2007-07-271-13/+11
| | | | | | | | | Turn off 0-9 framing of requests and responses. Some refactoring around message delivery. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@560285 13f79535-47bb-0310-9956-ffa450edef68
* Some initial 0-10 support including placeholders for new domains, use of ↵Gordon Sim2007-07-241-0/+657
execution layer for synchronising methods with no explicit responses and a new set of tests (mainly just copies of the 0-9 ones, but these will be altered as 0-10 support progresses). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@559055 13f79535-47bb-0310-9956-ffa450edef68