summaryrefslogtreecommitdiff
path: root/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix valgrind problems in VPATH builds.Alan Conway2008-05-144-12/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@656320 13f79535-47bb-0310-9956-ffa450edef68
* QPID-990: Patch from Ted Ross to enable persisting of inter-broker routing ↵Gordon Sim2008-05-131-2/+3
| | | | | | entities git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@656023 13f79535-47bb-0310-9956-ffa450edef68
* Minor change to tests to use correlation id rather than body for identifying ↵Gordon Sim2008-05-132-3/+9
| | | | | | messages. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655968 13f79535-47bb-0310-9956-ffa450edef68
* Fix macro used in test for backwards compatability.Gordon Sim2008-05-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655790 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1052: Patch from Ted RossGordon Sim2008-05-121-0/+9
| | | | | | | | | | | | This patch contains the following: 1) The session-id reported by the management API now matches the session.name in the session table 2) management.py API has a new callback for closed connections 3) qpid-tool uses the closed-connection handler to notify the user of a lost connection git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655619 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1039: Patch from Mick Goulish: Fix program options behavior for Boost ↵Andrew Stitcher2008-05-122-1/+156
| | | | | | 103200 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655596 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1050: Patch from Ted Ross:Gordon Sim2008-05-121-23/+17
| | | | | | | | | | | | | | | | | 1) Durability for federation links (broker-to-broker connections) 2) Improved handling of federation links: a) Links can be created even if the remote broker is not reachable b) If links are lost, re-establishment will occur using an exponential back-off algorithm 3) Durability of exchanges is now viewable through management 4) ManagementAgent API has been moved to an interface class to reduce coupling between the broker and manageable plug-ins. 5) General configuration storage capability has been added to the store/recover interface. This is used for federation links. 6) Management object-ids for durable objects are now themselves durable. (Note: some refactoring needed around ProtocolAccess needed to try and reduce dependencies) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655563 13f79535-47bb-0310-9956-ffa450edef68
* Couple of extra simple tests for publishing and consuming in generic fashion.Gordon Sim2008-05-123-1/+227
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655494 13f79535-47bb-0310-9956-ffa450edef68
* Script to test federated setup using the topic test.Gordon Sim2008-05-121-0/+94
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655455 13f79535-47bb-0310-9956-ffa450edef68
* Support for 0-10 sessions, not yet integrated. Misc minor fixes.Alan Conway2008-05-093-171/+99
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@654913 13f79535-47bb-0310-9956-ffa450edef68
* From https://issues.apache.org/jira/browse/QPID-879 contributed by Jonathan ↵Alan Conway2008-05-064-1/+174
| | | | | | | | | Robie. XML exchange allowing messages to be routed base on XQuery expressions. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@653854 13f79535-47bb-0310-9956-ffa450edef68
* Allow queue durbaility to be specified independent of message durability.Gordon Sim2008-05-041-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@653252 13f79535-47bb-0310-9956-ffa450edef68
* 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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@648288 13f79535-47bb-0310-9956-ffa450edef68