summaryrefslogtreecommitdiff
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* Changed use of Event to directly use Condition to workaround problems on ↵Gordon Sim2007-07-261-12/+20
| | | | | | other platforms (where Event.wait() returned immediately after a set()/clear()). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@559869 13f79535-47bb-0310-9956-ffa450edef68
* made query[...] support both navigation and filteringRafael H. Schloming2007-07-251-20/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@559299 13f79535-47bb-0310-9956-ffa450edef68
* Made attributes queryable.Rafael H. Schloming2007-07-241-9/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@559241 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused regex.Rafael H. Schloming2007-07-241-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@559184 13f79535-47bb-0310-9956-ffa450edef68
* Some initial 0-10 support including placeholders for new domains, use of ↵Gordon Sim2007-07-2420-21/+3283
| | | | | | 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/qpid@559055 13f79535-47bb-0310-9956-ffa450edef68
* Added a better XML library.Rafael H. Schloming2007-07-236-139/+632
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@558742 13f79535-47bb-0310-9956-ffa450edef68
* Applied a modified version of the range checking patch from QPID-498.Rafael H. Schloming2007-07-232-18/+142
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@558741 13f79535-47bb-0310-9956-ffa450edef68
* Added extra test for new execution layer methods.Gordon Sim2007-07-231-0/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@558705 13f79535-47bb-0310-9956-ffa450edef68
* Added initial 'execution-layer' to try out methods form the 0-10 execution ↵Gordon Sim2007-07-233-1/+34
| | | | | | class. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@558700 13f79535-47bb-0310-9956-ffa450edef68
* fix 0-8 cancel test alsoCarl C. Trieloff2007-07-171-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@557058 13f79535-47bb-0310-9956-ffa450edef68
* fixed raise issue in testCarl C. Trieloff2007-07-171-4/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@557057 13f79535-47bb-0310-9956-ffa450edef68
* cancel test assumes threading model -- added sleep, once we move to 0-10 ↵Carl C. Trieloff2007-07-171-2/+2
| | | | | | | | | | should wait for publish ack git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@557047 13f79535-47bb-0310-9956-ffa450edef68
* Changes to python tests for QPID-533 and QPID-407.Gordon Sim2007-07-033-4/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@552872 13f79535-47bb-0310-9956-ffa450edef68
* Fixes and tests:Gordon Sim2007-06-271-0/+69
| | | | | | | | | * ExchangeRegistry::get() caused a pair to be inserted with a 'null' pointer if the xchange didn't exist * HeadersExchange::isBound() didn't check queue param git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@551197 13f79535-47bb-0310-9956-ffa450edef68
* Added preview of exchange- and binding- query methods that have been ↵Gordon Sim2007-06-271-0/+155
| | | | | | approved for 0-10. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@551144 13f79535-47bb-0310-9956-ffa450edef68
* Timeout handling for dtx, plus tests.Gordon Sim2007-06-081-0/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@545531 13f79535-47bb-0310-9956-ffa450edef68
* Merged in channel.flow implementation and interoperability tests.Gordon Sim2007-06-061-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@544879 13f79535-47bb-0310-9956-ffa450edef68
* Some tests and fixes for dtx preview.Gordon Sim2007-06-054-13/+557
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@544522 13f79535-47bb-0310-9956-ffa450edef68
* disabled the tests directory until the failures are fixedRafael H. Schloming2007-05-311-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@543123 13f79535-47bb-0310-9956-ffa450edef68
* tests moved to test directoryRafael H. Schloming2007-05-301-38/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@542957 13f79535-47bb-0310-9956-ffa450edef68
* added listener support to queues, also added support for non version ↵Rafael H. Schloming2007-05-306-13/+742
| | | | | | specific tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@542955 13f79535-47bb-0310-9956-ffa450edef68
* example modsRafael H. Schloming2007-05-301-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@542954 13f79535-47bb-0310-9956-ffa450edef68
* Load domain docs into the python spec structure.Rafael H. Schloming2007-05-301-9/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@542951 13f79535-47bb-0310-9956-ffa450edef68
* removed python/tests: replaced by tests_0-8/tests_0-9Alan Conway2007-03-219-2112/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@520707 13f79535-47bb-0310-9956-ffa450edef68
* * python/qpid/*.py:: apply 0-9 changes missed by merge.Alan Conway2007-03-214-11/+22
| | | | | | | * python/cpp_failing_0-9.txt: update tests to refer to tess_0-9 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@520704 13f79535-47bb-0310-9956-ffa450edef68
* * cpp-0-9: svn copy of 0-9 branch cpp, will rename to cpp on next update.Alan Conway2007-03-2111-6/+2166
| | | | | | | | | | * cpp-0-9/gentools: independent copy of gentools for cpp. Temporary measure till /java and /gentools are at 0-9 * python/tests_0-9: tests from 0-9 branch. * python/qpid/testlib.py: Use tests_0-9 with 0-9 spec (default is still 0-8) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@520690 13f79535-47bb-0310-9956-ffa450edef68
* * python/cpp_failing_0-8.txt,java_failing_0-8.txt: updated to current failuresAlan Conway2007-03-193-0/+0
| | | | | | | * java_failing.txt,cpp_failing.txt: renamed to *_failing_0-9.txt for clarity. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@520098 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions ↵Alan Conway2007-03-1910-75/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 507491-507559,507561-507601,507603-507621,507623-507671,507673-507959,507961-507992,507994-508097,508099-508149,508151-508155,508157-508232,508234-508378,508380-508390,508392-508459,508461-508704,508707-509615,509617-509737,509739-509753,509756-509833,509835-510106,510108-510160,510162-510179,510181-510552,510554-510704,510706-510911,510913-510985,510987-511003,511005-514750,514752-515720,515722-516156,516158-516458,516461-516484,516486-516488,516490-517823,517825,517827,517829,517831-517832,517834-517848,517850,517852-517854,517856-517858,517860-517877,517879-517886,517888-517891,517893-517903,517905,517907-517928,517930,517932-518197,518201-518206,518208-518230,518232,518235,518237,518239-518240,518243-518245,518247-518255,518257,518259-518260,518262,518264,518266-518292,518294-518707 via svnmerge from https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9 ........ r507491 | gsim | 2007-02-14 06:39:26 -0500 (Wed, 14 Feb 2007) | 3 lines Expanded the use of batched acks to a few other places in tests. ........ r508377 | gsim | 2007-02-16 07:03:37 -0500 (Fri, 16 Feb 2007) | 4 lines Updated failing list for java (some of these result in test suite blocking) Added better error handling when connection closes without close method ........ r508396 | gsim | 2007-02-16 08:54:54 -0500 (Fri, 16 Feb 2007) | 3 lines Fix: use message_resume not channel_resume ........ r509611 | gsim | 2007-02-20 10:39:14 -0500 (Tue, 20 Feb 2007) | 3 lines Fixed bug where response id rather than request id was being used to get listener for response. ........ r509617 | gsim | 2007-02-20 10:52:31 -0500 (Tue, 20 Feb 2007) | 3 lines Updated list of failing tests for java broker on this branch. ........ r510096 | gsim | 2007-02-21 11:49:27 -0500 (Wed, 21 Feb 2007) | 5 lines Fixed bug in references where map wasn't qualified in close 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 ........ r510114 | astitcher | 2007-02-21 12:37:36 -0500 (Wed, 21 Feb 2007) | 3 lines r1224@fuschia: andrew | 2007-02-21 17:20:59 +0000 Updated expected cpp broker test failures ........ r510128 | gsim | 2007-02-21 13:06:02 -0500 (Wed, 21 Feb 2007) | 3 lines Ensure socket is closed in tearDown ........ r510913 | gsim | 2007-02-23 06:37:08 -0500 (Fri, 23 Feb 2007) | 3 lines Revised list of failing tests for java broker on this branch ........ r515363 | aconway | 2007-03-06 18:35:08 -0500 (Tue, 06 Mar 2007) | 6 lines * python/qpid/peer.py (Channel.__init__): use reliable framing if version >= 0-8. * python/qpid/spec.py (Spec.__init__): Remove unused parameter. * python/qpid/testlib.py (TestRunner._parseargs): Add --errata option, set default errata only if --spec is not present. ........ r518707 | aconway | 2007-03-15 13:49:44 -0400 (Thu, 15 Mar 2007) | 6 lines * python/qpid/peer.py (Peer.close): Close delegate *before* channels. Otherwise we get a race: closing a channel can wake a client thread, which may see client.closed as still false. Was causing bogus exceptions in some tests. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@520094 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions ↵Alan Conway2007-03-193-22/+70
| | | | | | | | | | | | | | | | | | | | | | | 504601-504602,504604-504609,504611-504702,504704-504707,504709-504849 via svnmerge from https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9 ........ r504601 | gsim | 2007-02-07 11:09:16 -0500 (Wed, 07 Feb 2007) | 3 lines Added list of valid responses to method descriptions where appropriate. ........ r504700 | aconway | 2007-02-07 16:30:32 -0500 (Wed, 07 Feb 2007) | 2 lines Use self.queue_open to ensure deletion of queue - was clashing with message.py tests. ........ r504849 | gsim | 2007-02-08 05:14:50 -0500 (Thu, 08 Feb 2007) | 3 lines Fixes to qos and get tests. Added test for correct completion of references. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@520073 13f79535-47bb-0310-9956-ffa450edef68
* Changed tests.* to tests_0-8.*.Alan Conway2007-03-191-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@520067 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 504590 via svnmerge from Alan Conway2007-03-196-14/+256
| | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9 ........ r504590 | gsim | 2007-02-07 10:36:01 -0500 (Wed, 07 Feb 2007) | 6 lines Added support for receiving and sending of references 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/trunk/qpid@520061 13f79535-47bb-0310-9956-ffa450edef68
* * python/testlib.py: -s (spec) option now also takes abbreviations "0-8" and ↵Alan Conway2007-03-194-27/+54
| | | | | | | | | | | | | | | | | | | "0-9" to load default 0-8 or 0-9 XML respectively. Default is still 0-8. Merged revisions 501586 via svnmerge from https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9 ........ r501586 | rhs | 2007-01-30 16:44:41 -0500 (Tue, 30 Jan 2007) | 1 line updated python spec parse to load from multiple files, changed default specs to include errata ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@520051 13f79535-47bb-0310-9956-ffa450edef68
* * python/testlib.py: -s (spec) option now also takes abbreviations "0-8" and ↵Alan Conway2007-03-193-48/+69
| | | | | | | | | | | | | | | | | | | "0-9" to load default 0-8 or 0-9 XML respectively. Default is still 0-8. Merged revisions 501586 via svnmerge from https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9 ........ r501586 | rhs | 2007-01-30 16:44:41 -0500 (Tue, 30 Jan 2007) | 1 line updated python spec parse to load from multiple files, changed default specs to include errata ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@520050 13f79535-47bb-0310-9956-ffa450edef68
* Add java_failing_0-1.txt for current Java failures against python/tests_0-8.Alan Conway2007-03-191-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@520007 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 501143 via svnmerge from Alan Conway2007-03-192-2/+415
| | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9 ........ r501143 | gsim | 2007-01-29 13:51:18 -0500 (Mon, 29 Jan 2007) | 4 lines Added test suite for the message class. Updated list of failing tests for java broker on this branch. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@519999 13f79535-47bb-0310-9956-ffa450edef68
* * python/qpid/client.py (Client.__init__): Use "/" as default vhost.Alan Conway2007-03-192-20/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@519988 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 501025 via svnmerge from Alan Conway2007-03-191-1/+1
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9 ........ r501025 | gsim | 2007-01-29 07:26:19 -0500 (Mon, 29 Jan 2007) | 3 lines Pass in application headers directly ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@519974 13f79535-47bb-0310-9956-ffa450edef68
* * python/qpid/testlib.py:Alan Conway2007-03-171-15/+35
| | | | | | | | | | | | | - fix testlib ops to use 0-8 or 0-9 classes as appropriate. - fix bug in arg parsing of specfile. * cpp/tests/run-python-tests: Fix scripting bug that gave a OK build result even if there were python failures. * cpp/gen: svn:ignore all generated source and Makefile. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@519194 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 500305 via svnmerge from Alan Conway2007-03-1611-131/+140
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9 ........ r500305 | gsim | 2007-01-26 13:51:21 -0500 (Fri, 26 Jan 2007) | 3 lines Updates to use message class in place of basic. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@519171 13f79535-47bb-0310-9956-ffa450edef68
* * python/tests_0-8/*: copy of python/tests to preserve 0-8 version of tests.Alan Conway2007-03-169-4/+1481
| | | | | | | | | | | | python/tests will be merged from the 0-9 branch. * python/qpid/testlib.py: select tests or tests_0-8 based on spec version. * python/tests_0-8/basic.py (BasicTests): replace get-ok with get_ok, Python client now replaces - with _ for all names from the spec. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@519166 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 497277 via svnmerge from Alan Conway2007-03-161-1/+4
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9 ........ r497277 | rhs | 2007-01-17 20:27:33 -0500 (Wed, 17 Jan 2007) | 1 line updated hello-world smoke test ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@519132 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 496593 via svnmerge from Alan Conway2007-03-1611-215/+424
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9 ........ r496593 | rhs | 2007-01-16 00:28:25 -0500 (Tue, 16 Jan 2007) | 1 line 0-9 request/response framing for python ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@519129 13f79535-47bb-0310-9956-ffa450edef68
* Fixed cases where open channel was re-opened.Gordon Sim2007-02-211-6/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@510160 13f79535-47bb-0310-9956-ffa450edef68
* Proper fix to race condition where connection-close is sent by server. Now ↵Gordon Sim2007-01-231-15/+9
| | | | | | handle socket close on worker thread also. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@498983 13f79535-47bb-0310-9956-ffa450edef68
* QPID-275 : Patch supplied by Rob Godfrey - Update list of expected failures ↵Robert Greig2007-01-191-14/+0
| | | | | | in Python test git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497779 13f79535-47bb-0310-9956-ffa450edef68
* Locked Channel::close() due to race.Gordon Sim2007-01-181-7/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497404 13f79535-47bb-0310-9956-ffa450edef68
* Modified handling of reason for closing in peer to work around race between ↵Gordon Sim2007-01-184-3/+7
| | | | | | | | | | | | worker and reader where a connection.close is followed by the socket closing (this is a bit of a hack). Modified test for queue_purge to do cleanup on new connection. Separated testing of scenario where closed channel is used from that where an unopened channel is used. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497342 13f79535-47bb-0310-9956-ffa450edef68
* QPID-275 : (Patch supplied by Rob Godfrey) Fixes to allow broker to pass ↵Robert Greig2007-01-102-16/+2
| | | | | | more of the Python tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@494769 13f79535-47bb-0310-9956-ffa450edef68
* use pythonized names to reference spec constantsRafael H. Schloming2007-01-041-11/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@492730 13f79535-47bb-0310-9956-ffa450edef68
* add support for 0-9 style usage of the domain attribute, and added content ↵Rafael H. Schloming2007-01-041-3/+6
| | | | | | primitive type git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@492724 13f79535-47bb-0310-9956-ffa450edef68