summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* Use amq.direct for control queue in topic test.Gordon Sim2008-05-042-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@653251 13f79535-47bb-0310-9956-ffa450edef68
* Use BOOST_CHECK_EQUAL in place of BOOST_REQUIRE_EQUAL (compatible with older ↵Gordon Sim2008-05-021-1/+1
| | | | | | boost) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@652799 13f79535-47bb-0310-9956-ffa450edef68
* Boost's string split function causes problems on older versions of the ↵Gordon Sim2008-05-012-0/+78
| | | | | | library. Replaced with homegrown equivalent. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@652689 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup: Re-enable tests that now pass; delete unused templates directory.Gordon Sim2008-05-011-25/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@652451 13f79535-47bb-0310-9956-ffa450edef68
* QPID-974: allow the size of the queue of outgoing frames to be restrictedGordon Sim2008-04-2913-76/+72
| | | | | | | | QPID-544: tidy up configuration (ensuring desired settings are used correctly, allowing tcp socket options to be set etc) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@652083 13f79535-47bb-0310-9956-ffa450edef68
* QPID-977: shutdown mgmt client cleanly in federation tests (patch from ↵Gordon Sim2008-04-291-5/+85
| | | | | | | | | tross@redhat.com) QPID-981: added custom options to queue declare to tag each message as it goes through a bridge queue and allow loop prevention through specifying exclusions git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@652075 13f79535-47bb-0310-9956-ffa450edef68
* Session state as per AMQP 0-10 specification.Alan Conway2008-04-271-25/+229
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@651997 13f79535-47bb-0310-9956-ffa450edef68
* Generate c++ code from final 0-10 specGordon Sim2008-04-244-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@651423 13f79535-47bb-0310-9956-ffa450edef68
* add include for list, for gcc4.3Nuno Santos2008-04-241-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@651346 13f79535-47bb-0310-9956-ffa450edef68
* Fix build error introduced by earlier commit.Alan Conway2008-04-232-8/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@651088 13f79535-47bb-0310-9956-ffa450edef68
* Reverted earlier change to valgrind suppressionsAndrew Stitcher2008-04-231-74/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@650999 13f79535-47bb-0310-9956-ffa450edef68
* src/tests/ClientSessionTest.cpp: uncommented tests for session resume as ↵Alan Conway2008-04-232-21/+56
| | | | | | | | | EXPECTED_FAILURES tests. src/tests/unit_test.h: workarounds for broken EXPECTED_FAILURES tests in boost <= 1.34 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@650997 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Mick Goulish: Fixes to previous improved portability patchAndrew Stitcher2008-04-231-0/+74
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@650970 13f79535-47bb-0310-9956-ffa450edef68
* Make python tests work with VPATH buildsAndrew Stitcher2008-04-232-5/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@650922 13f79535-47bb-0310-9956-ffa450edef68
* - SequenceSet implemented on RangeSet.Alan Conway2008-04-233-2/+26
| | | | | | | - Reduced #include dependencides on SequenceSet.h git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@650906 13f79535-47bb-0310-9956-ffa450edef68
* Moved federation to final 0-10 codepathGordon Sim2008-04-221-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@650635 13f79535-47bb-0310-9956-ffa450edef68
* QPID-947: update cpp and python management to 0-10 finalRafael H. Schloming2008-04-225-35/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@650565 13f79535-47bb-0310-9956-ffa450edef68
* QPID-944: do no-local checking where requested when there is an exclusive ↵Gordon Sim2008-04-221-0/+1
| | | | | | subscription active git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@650450 13f79535-47bb-0310-9956-ffa450edef68
* Disable compilation of amqp_0_10 codec until ready for integration.Alan Conway2008-04-211-7/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@650227 13f79535-47bb-0310-9956-ffa450edef68
* Better workaround for boost::ptr_map incompatibility between boost 1.33 and ↵Alan Conway2008-04-211-1/+1
| | | | | | 1.34, based on public properties of ptr::map types rather than version numbers. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@650221 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile error on rhel5.Alan Conway2008-04-211-45/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@650210 13f79535-47bb-0310-9956-ffa450edef68
* src/qpid/RangeSet.h: generic set implementation using ranges.Alan Conway2008-04-214-14/+227
| | | | | | | | - no heap allocation for simple sets (<= 3 ranges) - binary searches for o(log(n)) performance in complex sets git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@650198 13f79535-47bb-0310-9956-ffa450edef68
* QPID-920: send message-accept for acks (as well as completion)Gordon Sim2008-04-215-8/+11
| | | | | | | | * AckPolicy now maintains a set of transfered messages for cumulative accepts git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@650159 13f79535-47bb-0310-9956-ffa450edef68
* QPID-920: converted c++ client to use final 0-10 protocolGordon Sim2008-04-2016-152/+85
| | | | | | | | | | * connection handler converted to using invoker & proxy and updated to final method defs * SessionCore & ExecutionHandler replace by SessionImpl * simplified handling of completion & results, removed handling of responses git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@649915 13f79535-47bb-0310-9956-ffa450edef68
* Fix test failure.Alan Conway2008-04-181-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@649671 13f79535-47bb-0310-9956-ffa450edef68
* Fix build problem.Alan Conway2008-04-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@649571 13f79535-47bb-0310-9956-ffa450edef68
* Uncommented tests.Alan Conway2008-04-181-284/+283
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@649547 13f79535-47bb-0310-9956-ffa450edef68
* src/tests/python_tests: fix exit status if QPID_NO_PREVIEW is set.Alan Conway2008-04-181-1/+1
| | | | | | | src/qpid/framing/AMQFrame.h: frame header setters/getters with 0-10 naming. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@649339 13f79535-47bb-0310-9956-ffa450edef68
* Patch for improved compatibility with gcc 3.4 and boost 1.33Andrew Stitcher2008-04-1730-255/+292
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@649294 13f79535-47bb-0310-9956-ffa450edef68
* src/Makefile.am: Fix problems with rpmbuild.Alan Conway2008-04-171-25/+8
| | | | | | | | src/tests/README: Updated information about boost test. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@649159 13f79535-47bb-0310-9956-ffa450edef68
* Added missing .h files to Makefile.am to fix make rpmbuild.Alan Conway2008-04-171-1/+1
| | | | | | | | Add non-const Message::data() Make log/Statement.h public. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@649130 13f79535-47bb-0310-9956-ffa450edef68
* Separate new codec from liqqpidcommon to improve link times.Alan Conway2008-04-161-2/+3
| | | | | | | To be included in libqpidcommon when we are ready to replace framing codec. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@648726 13f79535-47bb-0310-9956-ffa450edef68
* Fix encoding for sized structs.Alan Conway2008-04-162-280/+418
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@648724 13f79535-47bb-0310-9956-ffa450edef68
* Correct Struct32 encoding: size/code/data.Alan Conway2008-04-151-11/+15
| | | | | | | Proper re-encoding for unknown struct codes. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@648362 13f79535-47bb-0310-9956-ffa450edef68
* Comment out failing test, repairing.Alan Conway2008-04-151-7/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@648338 13f79535-47bb-0310-9956-ffa450edef68
* Disabled failing tests, working on fixing the issues.Alan Conway2008-04-151-1/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@648329 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup of size calculations and handling UnknownStructAlan Conway2008-04-151-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@648297 13f79535-47bb-0310-9956-ffa450edef68
* Refactored the IO framework that sits on top of Poller so that it uses a ↵Andrew Stitcher2008-04-151-60/+24
| | | | | | | | | | generalised IOHandle. This means that you can define new classes derived from IOHandle (other than Socket) that can also be added to a Poller and waited for. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@648288 13f79535-47bb-0310-9956-ffa450edef68
* Struct32 encodingAlan Conway2008-04-152-5/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@648095 13f79535-47bb-0310-9956-ffa450edef68
* Use the errata file for final 0-10 that has a type code for xids without ↵Gordon Sim2008-04-141-1/+1
| | | | | | | | | | which dtx.recover can't work. Return the indoubt xids as an array of struct32s each of which contains an encoded xid. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@647903 13f79535-47bb-0310-9956-ffa450edef68
* QPID-648: Initial support for sasl authentication for c++ broker. From patch ↵Gordon Sim2008-04-143-3/+4
| | | | | | | | | | | | | submitted by mfarrellee@redhat.com. Authentication is optional at compile time (based on user selection or availability of cyrus sasl libs) and at runtime (through broker config option). Note: At present the runtime default is to not authenticate; this is a temporary measure to give some time for any automation scripts etc to be updated and will revert shortly to be on by default. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@647716 13f79535-47bb-0310-9956-ffa450edef68
* amqp_0_10: Encoding for packed structs.Alan Conway2008-04-101-3/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@646943 13f79535-47bb-0310-9956-ffa450edef68
* Invocation handlers, see src/tests/amqp_0_10/handlers.cpp for example.Alan Conway2008-04-102-1/+127
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@646778 13f79535-47bb-0310-9956-ffa450edef68
* Fixes and automated tests for federation function.Gordon Sim2008-04-093-1/+217
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@646505 13f79535-47bb-0310-9956-ffa450edef68
* Improved diagnostics in allSegmentTypes test.Alan Conway2008-04-091-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@646376 13f79535-47bb-0310-9956-ffa450edef68
* Summary: added 0-10 Array encoding and decoding.Alan Conway2008-04-083-17/+74
| | | | | | | | | | | | | | | | | | | | | | | rubygen/0-10/allsegmenttypes.rb: test header,body and each command and control type. rubygen/0-10/specification.rb: enable packed encoding. src/qpid/amqp_0_10/Array.h: Implemented array and array domains. src/qpid/amqp_0_10/Codec.h: enable litte-endian encoding for pack bits src/qpid/amqp_0_10/Packer.h: use litte-endian encoding for pack bits src/qpid/amqp_0_10/Unit.cpp, .h: setting flags, fix op <<. src/qpid/amqp_0_10/complex_types.cpp, .h: added op << src/qpid/framing/Blob.h: copy-object template constructor. src/tests/amqp_0_10/serialize.cpp: - test Array Minor adjustments for new Array.h: src/qpid/amqp_0_10/Map.cpp src/qpid/amqp_0_10/Map.h src/qpid/amqp_0_10/UnknownType.h src/qpid/amqp_0_10/built_in_types.h src/qpid/amqp_0_10/Body.h git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@646054 13f79535-47bb-0310-9956-ffa450edef68
* src/qpid/amqp_0_10/Body.h, Header.h: placeholders.Alan Conway2008-04-072-45/+44
| | | | | | | | | src/qpid/amqp_0_10/Unit.h,.cpp - Decode "units" - command/control/header segments or body frames. Equivalent to preview AMQFrame class. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@645733 13f79535-47bb-0310-9956-ffa450edef68
* rubygen/0-10/specification.rbAlan Conway2008-04-073-82/+0
| | | | | | | | | | | - operator << for generated types. - src/tests/amqp_0_10/serialize.cpp src/qpid/BoundedIterator.h, .cpp - removed unused file git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@645699 13f79535-47bb-0310-9956-ffa450edef68
* Fixed time classes for some changes that misunderstood how they are supposedAndrew Stitcher2008-04-071-10/+0
| | | | | | | to be used (and documented them better to hopefully avoid this in the future) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@645685 13f79535-47bb-0310-9956-ffa450edef68
* Fix rhel5 build errors.Alan Conway2008-04-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@645670 13f79535-47bb-0310-9956-ffa450edef68