summaryrefslogtreecommitdiff
path: root/python/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug in references where map wasn't qualified in closeGordon Sim2007-02-211-5/+6
| | | | | | | | | Attach reference to transfer, as it will be deleted on close Altered tests to get reference from the message on the queue rather than looking them up from channel as they are already gone there git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@510096 13f79535-47bb-0310-9956-ffa450edef68
* r1152@fuschia: andrew | 2007-02-17 21:14:42 +0000Andrew Stitcher2007-02-211-1/+1
| | | | | | | | | More support for references (and transfers of reference content) r1220@fuschia: andrew | 2007-02-21 00:22:53 +0000 Working version of delivering Message Transfers by reference git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@509834 13f79535-47bb-0310-9956-ffa450edef68
* Fix: use message_resume not channel_resumeGordon Sim2007-02-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@508396 13f79535-47bb-0310-9956-ffa450edef68
* Expanded the use of batched acks to a few other places in tests.Gordon Sim2007-02-142-25/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@507491 13f79535-47bb-0310-9956-ffa450edef68
* r1111@fuschia: andrew | 2007-02-09 15:51:10 +0000Andrew Stitcher2007-02-131-8/+4
| | | | | | | | | | Removed currently unused request tracking logic r1125@fuschia: andrew | 2007-02-13 21:51:30 +0000 Implemented receiveing batched Message.ok in c++ broker Implemented batched response frames in python client code git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@507249 13f79535-47bb-0310-9956-ffa450edef68
* Minor update to checkpoint testGordon Sim2007-02-121-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@506566 13f79535-47bb-0310-9956-ffa450edef68
* Added test for checkpointingGordon Sim2007-02-121-2/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@506565 13f79535-47bb-0310-9956-ffa450edef68
* Added a test for message_reject.Gordon Sim2007-02-121-0/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@506545 13f79535-47bb-0310-9956-ffa450edef68
* * qpid/client.py - altered handling of transfer for references, Gordon Sim2007-02-121-18/+123
| | | | | | | | | | | add the transfer to queue as before and require client to look up the reference themselves. this lets application access the other transfer fields * tests/message.py - added some more tests for references git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@506477 13f79535-47bb-0310-9956-ffa450edef68
* * qpid/client.py - added channel_pong handler to delegateGordon Sim2007-02-092-0/+57
| | | | | | | | | * tests/broker.py - simple ping/pong test * tests/queue.py - queue_unbind tests for all standard exchanges git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@505388 13f79535-47bb-0310-9956-ffa450edef68
* Modified error handling to detect failure due to invalid response.Gordon Sim2007-02-091-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@505304 13f79535-47bb-0310-9956-ffa450edef68
* Fix for topic tests. Content fields must be explicitly filled at present.Gordon Sim2007-02-091-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@505300 13f79535-47bb-0310-9956-ffa450edef68
* * qpid/peer.py - fix to prevent race between handling of connection.close ↵Gordon Sim2007-02-092-6/+5
| | | | | | | | | | | | request and socket close * qpid/testlib.py - close client (if not closed) on tearDown * tests/basic.py - revert back to using exclusive queue which should now be cleaned up on tear down * tests/message.py - fix to prefetch tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@505287 13f79535-47bb-0310-9956-ffa450edef68
* r1104@fuschia: andrew | 2007-02-09 02:14:00 +0000Andrew Stitcher2007-02-091-8/+12
| | | | | | | Initial implementation of Message.get delivery git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@505139 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to qos and get tests. Added test for correct completion of references.Gordon Sim2007-02-081-19/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@504849 13f79535-47bb-0310-9956-ffa450edef68
* Use self.queue_open to ensure deletion of queue - was clashing with ↵Alan Conway2007-02-071-1/+1
| | | | | | message.py tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@504700 13f79535-47bb-0310-9956-ffa450edef68
* Added support for receiving and sending of referencesGordon Sim2007-02-071-0/+64
| | | | | | | | | | Added asynchronous mode to channels (responses can be tracked via a future, rather than blocking on each request) Added ability to override server suggested connection tune params Added two tests for reference functionality (more to follow) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@504590 13f79535-47bb-0310-9956-ffa450edef68
* * cpp/lib/broker/BrokerQueue.cpp (): Centralized exceptions.Alan Conway2007-02-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | * cpp/lib/broker/BrokerAdapter.cpp (consume): Moved exceptions to Queue * cpp/lib/broker/BrokerChannel.cpp (consume): Moved exceptions to Queue * cpp/lib/broker/BrokerMessageBase.cpp: - Added getApplicationHeaders. * cpp/lib/broker/BrokerMessageMessage.cpp: - Fixed exchangeName/destination mix up. - Removed redundant constructor. - Added getApplicationHeaders * cpp/lib/broker/MessageHandlerImpl.cpp: - Added missing acknowledgements - Replaced assert(0) with throw "unimplemented". - Moved exchange existence exceptions to ExchangeRegistry - Handle transfers with references. * cpp/tests/Makefile.am (check): Don't run tests unless all libs built OK. * cpp/tests/python_tests: Re-enabled python tests. Not all passing. * python/tests/message.py (MessageTests.test_get): Replace get-ok with ok. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@504305 13f79535-47bb-0310-9956-ffa450edef68
* Change get-empty to get_emptyGordon Sim2007-02-051-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@503736 13f79535-47bb-0310-9956-ffa450edef68
* Changed "get-ok" to "get_ok".Alan Conway2007-02-051-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@503695 13f79535-47bb-0310-9956-ffa450edef68
* Some fixes to the tests for message class.Gordon Sim2007-02-011-19/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@502176 13f79535-47bb-0310-9956-ffa450edef68
* Added test suite for the message class.Gordon Sim2007-01-291-0/+397
| | | | | | | | Updated list of failing tests for java broker on this branch. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@501143 13f79535-47bb-0310-9956-ffa450edef68
* Pass in application headers directlyGordon Sim2007-01-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@501025 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to tests.Gordon Sim2007-01-292-6/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@501022 13f79535-47bb-0310-9956-ffa450edef68
* Updates to use message class in place of basic.Gordon Sim2007-01-266-123/+103
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@500305 13f79535-47bb-0310-9956-ffa450edef68
* 0-9 request/response framing for pythonRafael H. Schloming2007-01-161-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@496593 13f79535-47bb-0310-9956-ffa450edef68
* Changed assertTrue(x) to assertEquals(True, x) as older version od pyunit ↵Gordon Sim2006-12-071-2/+2
| | | | | | seems not to have the former. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483471 13f79535-47bb-0310-9956-ffa450edef68
* Fixes for cleaning up behind tests that fail on re-run if broker is not ↵Gordon Sim2006-11-221-2/+2
| | | | | | restarted. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478287 13f79535-47bb-0310-9956-ffa450edef68
* Some fixes and tests for bugs uncovered during testing of persistence.Gordon Sim2006-11-171-1/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@476108 13f79535-47bb-0310-9956-ffa450edef68
* update Apache licenses to the current versionStephen Vinoski2006-11-108-91/+131
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@473568 13f79535-47bb-0310-9956-ffa450edef68
* More reorg to separate APR/posix code, work in progress.Alan Conway2006-11-081-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472545 13f79535-47bb-0310-9956-ffa450edef68
* Hid locking within exchange registry, switched to shared_ptr for exchanges, ↵Gordon Sim2006-10-311-3/+33
| | | | | | added some extra error handling and tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469599 13f79535-47bb-0310-9956-ffa450edef68
* c++ broker now passes the basic tx testsGordon Sim2006-10-301-2/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469243 13f79535-47bb-0310-9956-ffa450edef68
* Added test for simple commit and rollback.Gordon Sim2006-10-171-0/+143
| | | | | | | | | Updated 'failing' lists Fix for amqp methods with no arguments git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@464943 13f79535-47bb-0310-9956-ffa450edef68
* Implementation of basic_get.Gordon Sim2006-10-112-2/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@462729 13f79535-47bb-0310-9956-ffa450edef68
* Implementation and tests for basic_qos (i.e. prefetching)Gordon Sim2006-10-101-3/+94
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@454677 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: ↵Alan Conway2006-09-272-18/+67
| | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@450556 13f79535-47bb-0310-9956-ffa450edef68
* Moved ack tests to basic class, added test for requeueing on recovery.Gordon Sim2006-09-272-44/+101
| | | | | | | | Implemented requeuing on recovery. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@450504 13f79535-47bb-0310-9956-ffa450edef68
* Initial implementation of basic_ack & basic_recoverGordon Sim2006-09-271-0/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@450434 13f79535-47bb-0310-9956-ffa450edef68
* Close channels on fatal errors to prevent hangs, provide useful stack trace.Alan Conway2006-09-251-0/+54
| | | | | | | Stated test module for the testlib itself. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@449763 13f79535-47bb-0310-9956-ffa450edef68
* Added tests for basic_cancel and for handling of invalid channel ids.Gordon Sim2006-09-222-0/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@448881 13f79535-47bb-0310-9956-ffa450edef68
* Updated test for fix in broker to use un-named exchange as the default ↵Gordon Sim2006-09-221-2/+2
| | | | | | (rather than amq.direct) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@448851 13f79535-47bb-0310-9956-ffa450edef68
* Implemented topic pattern matching for the TopicExchange.Alan Conway2006-09-212-16/+36
| | | | | | | | | | | Corrected default bindings to use the exchange named "" rather than "amqp.direct". Added python and unit tests for all of the above. Minor improvements to testlib.py, also some tests for testlib itself. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@448624 13f79535-47bb-0310-9956-ffa450edef68
* Import of qpid from etp:Rafael H. Schloming2006-09-196-0/+779
URL: https://etp.108.redhat.com/svn/etp/trunk/blaze Repository Root: https://etp.108.redhat.com/svn/etp Repository UUID: 06e15bec-b515-0410-bef0-cc27a458cf48 Revision: 608 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@447994 13f79535-47bb-0310-9956-ffa450edef68