summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* Replicate session state for un-acknowledged messages to new cluster members.Alan Conway2008-10-302-9/+68
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@709242 13f79535-47bb-0310-9956-ffa450edef68
* Allow AbsTime and Duration to be used cross-platform; add usleep() wrapper. ↵Stephen D. Huston2008-10-291-3/+3
| | | | | | Related to QPID-1209 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@709028 13f79535-47bb-0310-9956-ffa450edef68
* * added flag to SubscriptionSettings to control automatic completion of messageGordon Sim2008-10-293-8/+12
| | | | | | | | | | * removed automatic acquiring under autoAck mode * added test for results from acquire requests * added short txtest to the set of system tests run under make check git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@708919 13f79535-47bb-0310-9956-ffa450edef68
* Recent change from AckPolicy to Subscription means completions are not sent ↵Gordon Sim2008-10-281-0/+1
| | | | | | automatically which is required in window mode. Added manual send as temporary measure. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@708540 13f79535-47bb-0310-9956-ffa450edef68
* Test for presence of python directoryGordon Sim2008-10-281-3/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@708496 13f79535-47bb-0310-9956-ffa450edef68
* client::SubscriptionManager::findSubscription() throws if not found.Alan Conway2008-10-271-1/+1
| | | | | | | Added progress indicator to boost tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@708210 13f79535-47bb-0310-9956-ffa450edef68
* Client API change: Centralize access to subscription status, better control ↵Alan Conway2008-10-259-103/+57
| | | | | | | | | | | | | | | | | | | of acquire/accept. client/AckPolicy: removed, functionality moved to Subscription and SubscriptionSettings client/SubscriptionSettings: struct aggregates flow control & accept-acquire parameters for subscribe. client/Subscription: represents active subscription. Query settings, unacked messages, manual accept/acquire client/SubscriptionManager: use AcceptMode, AcquireMode enums rather than confusing bools. Issues addressed by the change: - old use of bool for acceptMode was inverted wrt AMQP enum values, bools are confusing. - old AckPolicy was broken - not possible to access the instance associated with an active subscription - old AckPolicy did not provide a way to do manual acquire, only accept. - setting values on SubscriptionManager to apply to subsequent subscriptions is awkward & error-prone, now can use SubscriptionSettings to control on each subscribe individually. - a subscription is a central concept in AMQP, it deserves to be a class. Subscription and SubscriptionSettings provides a single point for future expansion of interactions with a a Subscription. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707808 13f79535-47bb-0310-9956-ffa450edef68
* Fix script to clean up data_dir.Alan Conway2008-10-251-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707806 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile error.Alan Conway2008-10-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707793 13f79535-47bb-0310-9956-ffa450edef68
* Add check for presence of certutil when running ssl testGordon Sim2008-10-241-1/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707704 13f79535-47bb-0310-9956-ffa450edef68
* fix for make distcheck (I had listed wrong filenames in earlier commit)Gordon Sim2008-10-241-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707699 13f79535-47bb-0310-9956-ffa450edef68
* Revised transactional options to perftest as they could not be used on older ↵Gordon Sim2008-10-241-30/+44
| | | | | | | | | | boost versions due to ambiguity. Refactored TxAccept to avoid excessive testing and searching for delivery records. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707615 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bug in encoding/decoding of floats and doubles.Gordon Sim2008-10-244-1/+166
| | | | | | | | | | Added test to verify double/float headers set by c++ are correctly read by python [TODO: add wider range of header types, add bidirectional tests, add tests against other languages] [Also fixed one or two SSL related files missing from distribution list] git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707604 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1348 - Dynamic binding for federation. Parameterized exchange names ↵Ted Ross2008-10-241-104/+230
| | | | | | for CPP examples git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707515 13f79535-47bb-0310-9956-ffa450edef68
* Some fixes to the LVQ (primarily a patch from cctrieloff@redhat.com)Gordon Sim2008-10-231-16/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707446 13f79535-47bb-0310-9956-ffa450edef68
* Fixed run_acl_tests to work in a VPATH build.Alan Conway2008-10-221-8/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707193 13f79535-47bb-0310-9956-ffa450edef68
* Turn of automatic loading of modules from defined module directory to avoid ↵Gordon Sim2008-10-221-1/+1
| | | | | | possibility of loading acl twice. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@706892 13f79535-47bb-0310-9956-ffa450edef68
* This is for QPID-1363Rajith Muditha Attapattu2008-10-224-1/+494
| | | | | | | | These tests creates an acl file and use the acl.reloadAclFile method to reconfigure the broker. The tests are run as part of make check git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@706850 13f79535-47bb-0310-9956-ffa450edef68
* Refactored DeliveryRecord and delivery path to remove some redundant code.Gordon Sim2008-10-214-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@706811 13f79535-47bb-0310-9956-ffa450edef68
* Refactor sys::AsynchIO class to allow reimplementing on other platforms ↵Stephen D. Huston2008-10-211-3/+3
| | | | | | without affecting upper level usage. Resolves QPID-1377 and supplies Windows AsynchIO.cpp git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@706709 13f79535-47bb-0310-9956-ffa450edef68
* cluster_test: Unit test for Tx state replication.Alan Conway2008-10-201-0/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@706400 13f79535-47bb-0310-9956-ffa450edef68
* cluster: DumpClient replicates session MessageBuilder.Alan Conway2008-10-202-1/+55
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@706381 13f79535-47bb-0310-9956-ffa450edef68
* Add option to require that only encrypted connections be accepted.Gordon Sim2008-10-202-6/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@706321 13f79535-47bb-0310-9956-ffa450edef68
* cluster: DumpClient updates consumer notifyEnabled and blocked.Alan Conway2008-10-201-2/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@706293 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1367 Mick Goulish: improvements to client-side failover.Alan Conway2008-10-171-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705668 13f79535-47bb-0310-9956-ffa450edef68
* Suppress logging expected errors in tests.Alan Conway2008-10-172-54/+61
| | | | | | | Improved log messages for connection, session errors. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705661 13f79535-47bb-0310-9956-ffa450edef68
* Fix valgrind suppression for boost thread leak to work on 32 & 64 bit.Alan Conway2008-10-171-5/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705624 13f79535-47bb-0310-9956-ffa450edef68
* QPID-106: SSL support for c++ (broker and client), can be enabled/disabled ↵Gordon Sim2008-10-173-0/+50
| | | | | | explictly via --with-ssl/--without-ssl args to configure; by default will build the modules if dependencies are found. See SSL readme file for more details. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705534 13f79535-47bb-0310-9956-ffa450edef68
* Feature requested by AndrewM for M4...Carl C. Trieloff2008-10-171-0/+41
| | | | | | | | - provide initial value support, for late joining consumers git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705443 13f79535-47bb-0310-9956-ffa450edef68
* Fix signed/unsigned compile error.Alan Conway2008-10-161-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705365 13f79535-47bb-0310-9956-ffa450edef68
* Extended dump consumer test to cover member death.Alan Conway2008-10-162-16/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705347 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1366 - implementation of automatic anti-looping for federationTed Ross2008-10-161-0/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705337 13f79535-47bb-0310-9956-ffa450edef68
* Add suppression for known leak in older boost.thread.Alan Conway2008-10-161-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705289 13f79535-47bb-0310-9956-ffa450edef68
* Fix race in cluster causing incorrect known-broker lists to be sent to clients.Alan Conway2008-10-161-28/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705287 13f79535-47bb-0310-9956-ffa450edef68
* Split logging options into portable options and sink-related options that ↵Stephen D. Huston2008-10-154-15/+30
| | | | | | are platform-specific. Re-did sink options for Posix as discussed on qpid-dev (no more --log-output, but more specific --log-to-<target> options. Allows addition of Windows options without further reorg of Posix code. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705083 13f79535-47bb-0310-9956-ffa450edef68
* Allow QPID_AUTO_TEST_CASE_EXPECTED_FAILURES to work at Boost 1.35Stephen D. Huston2008-10-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705067 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1341 from JonathanCarl C. Trieloff2008-10-151-3/+59
| | | | | | | | | | | | | - Patch applied for Jonathan - Made the following changes - added PreRoute for route() for sequencing - changed xmlexchange form struct to class - added xml.so to verify script - removed two unsed files. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@704962 13f79535-47bb-0310-9956-ffa450edef68
* Updated testGordon Sim2008-10-151-25/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@704923 13f79535-47bb-0310-9956-ffa450edef68
* c++ broker: Don't hold on to delivery records for accepted/released messages ↵Gordon Sim2008-10-151-1/+1
| | | | | | | | | | unless required due to being in windowing mode. python client: Modified start() on incoming queue to setthe flow mode as credit (not windowing) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@704838 13f79535-47bb-0310-9956-ffa450edef68
* Field Table API: changed the getInt() & getString() operationsAndrew Stitcher2008-10-134-25/+25
| | | | | | | | which are inconsistent with all the other getXXX() functions to getAsString()/getAsInt() to better indicate their real function. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@704255 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1351Carl C. Trieloff2008-10-132-0/+71
| | | | | | | | | | | | | -Support for sequencing messages through an exchange -Related changes - Bug fix for ptr saftey in Headers & FanOut exchange - Added support for int64 and uint64 in fieldvalue / fieldtable - Added tests for fieldtable - Added tests for sequencing message feature. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@704192 13f79535-47bb-0310-9956-ffa450edef68
* Periodically purge expired messages from queuesGordon Sim2008-10-132-0/+79
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@704166 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1306Carl C. Trieloff2008-10-111-3/+6
| | | | | | | | - Added aquire safety check + test. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@703704 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1350 - Object reference following in the QMF console APITed Ross2008-10-101-1/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@703588 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1349 - Push routing for federation (includes hook for dynamic routing)Ted Ross2008-10-101-0/+44
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@703561 13f79535-47bb-0310-9956-ffa450edef68
* Client-side support for amq.faiover exchange. Connection::getKnownBrokers ↵Alan Conway2008-10-091-44/+24
| | | | | | provides latest list. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@703237 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1306Carl C. Trieloff2008-10-091-0/+48
| | | | | | | | | | - from review, clean-up for acquire - test for LVQ acquire - suppress store for LVQ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@703236 13f79535-47bb-0310-9956-ffa450edef68
* Added options to perftestCarl C. Trieloff2008-10-091-14/+36
| | | | | | | | | | - tx_sub & tx_pub so that they can be set independantly - async tx pub option git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@703214 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1306Carl C. Trieloff2008-10-082-7/+97
| | | | | | | | | | | | - added lvq support - added lvq tests - added safety test for lvq - updated QueueOptions for lvq - some refactor to queue, to have signel pop loction git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@702958 13f79535-47bb-0310-9956-ffa450edef68
* Added serialize/deserialize for ObjectIdTed Ross2008-10-082-1/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@702913 13f79535-47bb-0310-9956-ffa450edef68