summaryrefslogtreecommitdiff
path: root/python/tests
Commit message (Collapse)AuthorAgeFilesLines
* synchronized with trunk except for ruby dirRafael H. Schloming2009-12-269-333/+206
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid.rnr@893970 13f79535-47bb-0310-9956-ffa450edef68
* Merged r685189 (specify literal as decimal for the sake of python 2.3)Gordon Sim2008-08-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@685198 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1143: added buffering, we now only issue one write per assemblyRafael H. Schloming2008-06-161-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@668345 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1142: made session.sync() always set the sync flag on execution_syncRafael H. Schloming2008-06-161-3/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@668344 13f79535-47bb-0310-9956-ffa450edef68
* load the old version of the spec file for old codec tests, removed unused ↵Rafael H. Schloming2008-06-111-1/+1
| | | | | | test exclude list git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@666743 13f79535-47bb-0310-9956-ffa450edef68
* QPID-947: added test for nested listsRafael H. Schloming2008-05-231-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@659673 13f79535-47bb-0310-9956-ffa450edef68
* QPID-947: added codec and tests for array and list typesRafael H. Schloming2008-05-231-0/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@659671 13f79535-47bb-0310-9956-ffa450edef68
* QPID-947: Switched over to using proper RFC 1982 serial numbers.Rafael H. Schloming2008-05-231-0/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@659647 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1055: use int64 for encoding python both python int and longs; this ↵Rafael H. Schloming2008-05-131-1/+1
| | | | | | ensures consistent behavior on both 64 bit and non 64 bit systems git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655951 13f79535-47bb-0310-9956-ffa450edef68
* QPID-947: added handler for known_completed and generate known_completed ↵Rafael H. Schloming2008-05-121-0/+28
| | | | | | when timely-reply is set git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655533 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1045: always notify incoming message queues of session closure and ↵Rafael H. Schloming2008-05-091-2/+66
| | | | | | provide API for notifying listeners of closure; also preserve connection close code and report in errors git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@654907 13f79535-47bb-0310-9956-ffa450edef68
* QPID-979: added convenience accessors for headersRafael H. Schloming2008-05-071-0/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@654158 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1033: made loading of the spec file not fail if the results cannot be ↵Rafael H. Schloming2008-05-061-0/+12
| | | | | | cached, e.g. due to an unwritable directory git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@653875 13f79535-47bb-0310-9956-ffa450edef68
* QPID-979: added backwards compatible uuid to qpid.datatypesRafael H. Schloming2008-04-291-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@652086 13f79535-47bb-0310-9956-ffa450edef68
* QPID-947: update cpp and python management to 0-10 finalRafael H. Schloming2008-04-222-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@650565 13f79535-47bb-0310-9956-ffa450edef68
* fixed encode/decode of structs in command/control arguments to include the ↵Rafael H. Schloming2008-04-141-1/+9
| | | | | | type code when specified git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@647887 13f79535-47bb-0310-9956-ffa450edef68
* renamed datatypes.Struct.type -> datatypes.Struct._type; this avoids naming ↵Rafael H. Schloming2008-03-102-8/+12
| | | | | | conflicts with metadata-driven fields; moved argument validation -> datatypes.Struct and improved error checking; improved datatypes.Struct.__repr__ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@635660 13f79535-47bb-0310-9956-ffa450edef68
* added support for mapsRafael H. Schloming2008-03-072-0/+58
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634803 13f79535-47bb-0310-9956-ffa450edef68
* added session.sync(); session.auto_sync; made transfers not auto-complete; ↵Rafael H. Schloming2008-03-072-0/+12
| | | | | | fixed bug in RangedSet git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634744 13f79535-47bb-0310-9956-ffa450edef68
* added codec for sequence_set; added id to Message; RangeSet -> RangedSet; ↵Rafael H. Schloming2008-03-061-3/+3
| | | | | | added RangedSet.add(lower, upper) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634255 13f79535-47bb-0310-9956-ffa450edef68
* added incoming queues for messages; altered session dispatch to send entire ↵Rafael H. Schloming2008-03-051-13/+11
| | | | | | assembly to a single handler; added logging switch for hello-010-world git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@633861 13f79535-47bb-0310-9956-ffa450edef68
* import of in-process 0-10 final python clientRafael H. Schloming2008-03-046-0/+462
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@633610 13f79535-47bb-0310-9956-ffa450edef68
* put queue listeners in their own threadRafael H. Schloming2008-02-251-23/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@631002 13f79535-47bb-0310-9956-ffa450edef68
* added imports to test module __init__.pysRafael H. Schloming2008-01-241-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@614968 13f79535-47bb-0310-9956-ffa450edef68
* Enabled packed struct encoding in python, cpp, and java. Also fixed ↵Rafael H. Schloming2007-10-141-3/+3
| | | | | | computation of required byte credit in Message.cpp. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@584474 13f79535-47bb-0310-9956-ffa450edef68
* added support for 0-10 field table encodingRafael H. Schloming2007-09-271-7/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@580122 13f79535-47bb-0310-9956-ffa450edef68
* made codec.py load the spec file on demandRafael H. Schloming2007-08-211-3/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@568074 13f79535-47bb-0310-9956-ffa450edef68
* Permit skipping of self tests and specify a folder for the spec file. Patch ↵Rafael H. Schloming2007-08-202-7/+8
| | | | | | is mostly as supplied by eokyere@gmail.com with minor modifications. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@567764 13f79535-47bb-0310-9956-ffa450edef68
* added support for unpacked structs and execution.resultRafael H. Schloming2007-08-101-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@564637 13f79535-47bb-0310-9956-ffa450edef68
* added support for parsing structs and results into the spec metadataRafael H. Schloming2007-08-091-0/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@564362 13f79535-47bb-0310-9956-ffa450edef68
* Some initial 0-10 support including placeholders for new domains, use of ↵Gordon Sim2007-07-241-7/+0
| | | | | | 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 listener support to queues, also added support for non version ↵Rafael H. Schloming2007-05-303-0/+707
| | | | | | specific tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@542955 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
* Merged revisions ↵Alan Conway2007-03-192-40/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-192-22/+66
| | | | | | | | | | | | | | | | | | | | | | | 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
* Merged revisions 504590 via svnmerge from Alan Conway2007-03-191-0/+64
| | | | | | | | | | | | | | | | 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-192-26/+44
| | | | | | | | | | | | | | | | | | | "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
* Merged revisions 501143 via svnmerge from Alan Conway2007-03-191-0/+397
| | | | | | | | | | | | | | 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
* 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
* Merged revisions 500305 via svnmerge from Alan Conway2007-03-166-115/+98
| | | | | | | | | | | | | 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
* Merged revisions 496593 via svnmerge from Alan Conway2007-03-161-2/+2
| | | | | | | | | | | | | 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
* Modified handling of reason for closing in peer to work around race between ↵Gordon Sim2007-01-182-3/+4
| | | | | | | | | | | | 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-101-2/+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
* 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