summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/txtest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Changed the names of tests which are installed in /usr/bin/ to be prefixed ↵Kim van der Riet2010-05-241-340/+0
| | | | | | with "qpid-". This will make these generic names easier to associate with qpid. (BZ577353) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@947678 13f79535-47bb-0310-9956-ffa450edef68
* Tidied up namespace usageAndrew Stitcher2009-09-091-23/+30
| | | | | | Miscelleneous whitespace fixes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813094 13f79535-47bb-0310-9956-ffa450edef68
* Working towards abstracting away the cross platform uuid mess:Andrew Stitcher2009-08-311-6/+3
| | | | | | | * Stop including indirectly from uuid.h in qpid/framing/Uuid.h and move inline definitions there into the implementation file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@809781 13f79535-47bb-0310-9956-ffa450edef68
* Remove incorrect directory from #includeAlan Conway2009-07-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@793912 13f79535-47bb-0310-9956-ffa450edef68
* Add directory to #includeAlan Conway2009-07-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@793909 13f79535-47bb-0310-9956-ffa450edef68
* Applied PIMPL pattern to SubscriptionManager.Alan Conway2009-05-041-0/+1
| | | | | | | Cleaned up some sloppy #includes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@771366 13f79535-47bb-0310-9956-ffa450edef68
* Modification to txtest to check that the size of the message remains ↵Kim van der Riet2009-01-271-1/+7
| | | | | | consistent throughout the test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@738118 13f79535-47bb-0310-9956-ffa450edef68
* Fixed problem of recurring xids (0, 1, 2...) on successive txtest runs which ↵Kim van der Riet2008-11-261-7/+9
| | | | | | can cause journal txn recover failures. The xid is now the 36-char string representation of a UUID and should have a great test-to-test diversity. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@720910 13f79535-47bb-0310-9956-ffa450edef68
* * added flag to SubscriptionSettings to control automatic completion of messageGordon Sim2008-10-291-7/+8
| | | | | | | | | | * 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
* Client API change: Centralize access to subscription status, better control ↵Alan Conway2008-10-251-9/+9
| | | | | | | | | | | | | | | | | | | 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
* Modified return codes for txtest: returns 1 if check fails; 2 if exception ↵Kim van der Riet2008-09-181-4/+6
| | | | | | is thrown; 0 otherwise. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@696729 13f79535-47bb-0310-9956-ffa450edef68
* Forgot to remove unneeded commentKim van der Riet2008-08-191-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@687141 13f79535-47bb-0310-9956-ffa450edef68
* Missing DTX recover code for --dtx mode in txtestKim van der Riet2008-08-191-0/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@687140 13f79535-47bb-0310-9956-ffa450edef68
* Added --dtx option to txtest for DTX transaction testingKim van der Riet2008-08-181-5/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@686854 13f79535-47bb-0310-9956-ffa450edef68
* Changes to Session API:Alan Conway2008-05-261-3/+3
| | | | | | | | | | | - Session is synchronous, no futures. - AsyncSession is async, returns futures. - Conversion functions sync(s) async(s) return a sync/async view of session s. - Connection::newSession - takes name, no timeout - SessionBase::getId - returns SessionId not UUID. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@660258 13f79535-47bb-0310-9956-ffa450edef68
* QPID-920: send message-accept for acks (as well as completion)Gordon Sim2008-04-211-1/+1
| | | | | | | | * 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-201-5/+7
| | | | | | | | | | * 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
* Start moving towards final 0-10 spec:Gordon Sim2008-02-211-2/+2
| | | | | | | | | | | | | * marked preview spec as 99-0 to distinguish it from 0-10 (which will now be used for the final version) * modified python client to treat 99-0 as 0-10 for now * modified broker to have two paths for the two different versions: 99-0 uses PreviewConnection, PreviewConnectionHandler and PreviewSessionHandler which are straight copy & pastes of the Connection, ConnectionHandler and SessionHandler now associated with 0-10 (so we can migrate the 0-10 path to the final spec without affecting clients working with the preview version) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@629883 13f79535-47bb-0310-9956-ffa450edef68
* Added non-optional enum { SYNC, ASYNC } parameter to newSession.Alan Conway2008-02-201-1/+1
| | | | | | | Updated API doc in client/SessionBase.h git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@629503 13f79535-47bb-0310-9956-ffa450edef68
* Removed erroneous commentGordon Sim2008-01-171-7/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612977 13f79535-47bb-0310-9956-ffa450edef68
* Extra level of exception handling to prevent core dumps.Gordon Sim2008-01-091-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@610354 13f79535-47bb-0310-9956-ffa450edef68
* Ensure tx test retains durability of 'transfered' messages.Gordon Sim2008-01-041-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@608948 13f79535-47bb-0310-9956-ffa450edef68
* Additional test for excercising transactional behaviour.Gordon Sim2008-01-041-0/+271
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@608916 13f79535-47bb-0310-9956-ffa450edef68