summaryrefslogtreecommitdiff
path: root/java/client/src/test
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1094: added finally close for cleaning potential indoubt txArnaud Simon2008-05-291-0/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@661267 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1094 and QPID-1095: Updated XaResource for handling wrong flag value, ↵Arnaud Simon2008-05-283-34/+34
| | | | | | updated xa tests for using correct flag values, excluded forget test as the current 0.10 broker does not implement forget. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@660973 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1094: Implement XA resource exception handling and add corresponding testsArnaud Simon2008-05-282-1/+488
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@660911 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: Track and report session exceptions, modified generator validate ↵Rafael H. Schloming2008-05-231-0/+1
| | | | | | values before trying to encode them. Also, moved createDurableSubscriber from AMQSession_0_10 -> AMQSession. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@659631 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1089: Changed to use coountdownlatchArnaud Simon2008-05-233-25/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@659477 13f79535-47bb-0310-9956-ffa450edef68
* Made Range, RangeSet, and Session all use proper RFC1982 comparisons per ↵Rafael H. Schloming2008-05-221-1/+1
| | | | | | QPID-861. Also switched command ids from long -> int, and added a mutex to channel to prevent multi-frame commands from interleaving when invoked from separate threads. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@659271 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1079: Updated ...test.client tests for using QpidTestCase + move ↵Arnaud Simon2008-05-221-446/+0
| | | | | | QpidTestCase in main so it is visible form systests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@659163 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1085: If an error occurs creating a durable subscriber with a selector ↵Aidan Skinner2008-05-221-0/+73
| | | | | | delete the queue that was created. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@659105 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1079: Updated ...test.client tests for using QpidTestCaseArnaud Simon2008-05-221-13/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@659083 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1053: add a timeout in case the broker is never readyRafael H. Schloming2008-05-131-4/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655964 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1053: updated QpidTestCase to check against broker output to ensure the ↵Rafael H. Schloming2008-05-131-9/+47
| | | | | | broker is actually listening before the test attempts to connect; the text checked for is controlled by the broker.ready system property, appropriate values have been added to the cpp profiles git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655927 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1025: updated fix for empty payload issue, this change removes state ↵Rafael H. Schloming2008-05-121-2/+2
| | | | | | transitions that don't consume input bytes git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655585 13f79535-47bb-0310-9956-ffa450edef68
* QPID-832 : Fix eol-styleRobert Godfrey2008-04-244-558/+558
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@651325 13f79535-47bb-0310-9956-ffa450edef68
* QPID-832 merge M2.xAidan Skinner2008-04-2419-157/+591
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@651133 13f79535-47bb-0310-9956-ffa450edef68
* QPID-936: added missing session close opArnaud Simon2008-04-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@649436 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: updates to the java client to use the 0-10 final spec instead of ↵Rafael H. Schloming2008-04-164-35/+16
| | | | | | the 0-10 preview spec; this includes improvements to the codegen process as well as some modifications to the shared code path in the client to not lose per message state when consumers are closed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@648692 13f79535-47bb-0310-9956-ffa450edef68
* QPID-897: this test was intermittently timing out when messages are not ↵Arnaud Simon2008-04-161-1/+1
| | | | | | prefetched. This is a temporary fix until we use a configurable timeout. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@648681 13f79535-47bb-0310-9956-ffa450edef68
* QPID-928 Added a pause period for letting the finalyzer a chance to notify ↵Arnaud Simon2008-04-161-0/+7
| | | | | | all the Mina connector threads before we check for spurious threads. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@648661 13f79535-47bb-0310-9956-ffa450edef68
* QPID-897 this test was intermittently failing because of too short timeouts. ↵Arnaud Simon2008-04-031-6/+6
| | | | | | This fix is a temporary measure until we agree about using a configurable receive timeout. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644245 13f79535-47bb-0310-9956-ffa450edef68
* QPID-829 Remove 0.10 specific URL. The code path is now selected based on ↵Arnaud Simon2008-04-021-1/+3
| | | | | | broker response. We first try the highest protocol version and update the handler if the broker replies with a different protocol version. NOTE that we need to update the current java broker and 0.8 client for handling protocol headers. This should happen with the M2.1 merge. For the moment we only support an in VM 0.8 broker. Moreover, we'll need to migrate to a 0.10 vs 99.0 protocol version. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@643822 13f79535-47bb-0310-9956-ffa450edef68
* Qpid-860: changed running test conditionArnaud Simon2008-03-261-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@641239 13f79535-47bb-0310-9956-ffa450edef68
* Qpid-860: provides support for specifying a list of test to be excludedArnaud Simon2008-03-261-2/+77
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@641232 13f79535-47bb-0310-9956-ffa450edef68
* Added resource cleaning (mainly connection close); see QPID-824Arnaud Simon2008-03-0610-9/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634273 13f79535-47bb-0310-9956-ffa450edef68
* un-commented testNoLocal as it should be added to the exclude list until the ↵Arnaud Simon2008-03-041-2/+2
| | | | | | merge is completed (see Qpid-721) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@633453 13f79535-47bb-0310-9956-ffa450edef68
* added an assert to verify that no threads are leaked on connection ↵Rafael H. Schloming2008-03-032-1/+30
| | | | | | open/close; this should detect problems with dispatcher threads not dieing as described inQPID-823 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@633164 13f79535-47bb-0310-9956-ffa450edef68
* Rollback 632067 and 632072Arnaud Simon2008-02-2948-95/+151
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@632285 13f79535-47bb-0310-9956-ffa450edef68
* See Qpid-817Arnaud Simon2008-02-2847-149/+93
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@632072 13f79535-47bb-0310-9956-ffa450edef68
* See Qpid-817Arnaud Simon2008-02-281-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@632067 13f79535-47bb-0310-9956-ffa450edef68
* Added another test to check for URISyntaxException when both routingkey and ↵Rajith Muditha Attapattu2008-02-271-1/+27
| | | | | | bindingkey is specified git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@631697 13f79535-47bb-0310-9956-ffa450edef68
* added a test case for the multiple binding key caseRajith Muditha Attapattu2008-02-271-10/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@631490 13f79535-47bb-0310-9956-ffa450edef68
* modified test harness to clean up data dir when broker crashesRafael H. Schloming2008-02-211-22/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629986 13f79535-47bb-0310-9956-ffa450edef68
* added consumer2.close as messages may be delivered to this not used consumerArnaud Simon2008-02-211-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629802 13f79535-47bb-0310-9956-ffa450edef68
* changed for runing only with an 0.8 broker (this is testing 0.8 connection)Arnaud Simon2008-02-211-118/+128
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629800 13f79535-47bb-0310-9956-ffa450edef68
* added init after broker shutdown and changed receiveNowait to receive(1000)Arnaud Simon2008-02-202-63/+80
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629385 13f79535-47bb-0310-9956-ffa450edef68
* added a test for message send followed by immediate connection close; fixed ↵Rafael H. Schloming2008-02-121-0/+72
| | | | | | connection close handshaking git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@627157 13f79535-47bb-0310-9956-ffa450edef68
* added default getConnection()Rafael H. Schloming2008-02-121-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@627155 13f79535-47bb-0310-9956-ffa450edef68
* made xa tests run, and made QpidTestCase more robustRafael H. Schloming2008-02-084-19/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@619974 13f79535-47bb-0310-9956-ffa450edef68
* simplied QpidTestCase's interface for running non vm brokers and set up ↵Rafael H. Schloming2008-02-086-127/+96
| | | | | | build system to run cpp tests easily git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@619888 13f79535-47bb-0310-9956-ffa450edef68
* added test for exception listener; fixed NPERafael H. Schloming2008-02-072-1/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@619538 13f79535-47bb-0310-9956-ffa450edef68
* Changed session mode to AUTO_ACK so mesages are removed from broker between ↵Arnaud Simon2008-02-062-11/+11
| | | | | | two tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@618989 13f79535-47bb-0310-9956-ffa450edef68
* Changed for using AUTO_ACK sessionArnaud Simon2008-02-061-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@618982 13f79535-47bb-0310-9956-ffa450edef68
* Qpid 742Arnaud Simon2008-01-181-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@613114 13f79535-47bb-0310-9956-ffa450edef68
* see Qpid-721Arnaud Simon2008-01-041-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@608875 13f79535-47bb-0310-9956-ffa450edef68
* estSend2ThenCloseAfter1andTryAgain from CommitRollbackTest randomlyArnaud Simon2008-01-041-8/+8
| | | | | | | | fails because a message is not marked as redelivered (see line 468). I have removed this assertion check as 0.10 uses different semantics (i.e. 0.10 does not expect the message to be marked as redelivered). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@608868 13f79535-47bb-0310-9956-ffa450edef68
* Qpid-709: nolocal test was failing because the inVM connections were not ↵Arnaud Simon2007-12-172-1/+16
| | | | | | created with a new connection ID. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@604926 13f79535-47bb-0310-9956-ffa450edef68
* Enabled the broker module again, and Commented out the offending class that ↵Rajith Muditha Attapattu2007-11-291-5/+5
| | | | | | had compilation errors due missing classes from the new mina version git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@599216 13f79535-47bb-0310-9956-ffa450edef68
* added several cr and xa testsArnaud Simon2007-11-081-0/+167
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@593103 13f79535-47bb-0310-9956-ffa450edef68
* added several cr and xa testsArnaud Simon2007-11-082-0/+1839
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@593101 13f79535-47bb-0310-9956-ffa450edef68
* added several cr and xa testsArnaud Simon2007-11-081-132/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@593099 13f79535-47bb-0310-9956-ffa450edef68
* added several cr and xa testsArnaud Simon2007-11-081-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@593098 13f79535-47bb-0310-9956-ffa450edef68