summaryrefslogtreecommitdiff
path: root/java/systests/src
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-3486: Make connector server port used for JMX configurable.Keith Wall2011-09-142-4/+5
| | | | | | | Commited work from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1170612 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3428: fix excludes after test related changes from to prior patch ↵Robert Gemmell2011-09-131-2/+14
| | | | | | feeback, add a bit of javadoc to tests and use constants git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1169984 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3428: make the Java broker validate 0-10 Session names, enabling it to ↵Robert Gemmell2011-09-131-6/+22
| | | | | | | | | satisfy the clients new ClientID verification feature. Misc updates to the clients verification process. Applied patch from Andrew MacBean git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1169982 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3459: Increments delivery counter before transfering message to client ↵Robert Gemmell2011-09-121-1/+1
| | | | | | | | in order to count delivery attempts. Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1169730 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2627 : Remove dependency on MINARobert Godfrey2011-09-093-11/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1167311 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3467: replace the 'connection id' with the Username of the logged in ↵Robert Gemmell2011-09-071-55/+0
| | | | | | | | user for the ManagementActor, since the value for the connection id was arrived at using an incorrect assumption that the id number in the thread name for a particular RMI thread is specific to a given JMX connection when it isnt. Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1166134 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3473 : Replace use of MINA IO with transport IO (joint work with Robbie ↵Robert Godfrey2011-09-076-131/+29
| | | | | | Gemmel) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1166069 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3373 I forgot to ensure the correct port is used in the connectionRajith Muditha Attapattu2011-09-021-1/+3
| | | | | | URL. Changed the test to use the patch proposed by Alex Rudyy. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1164327 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3373 Adding a test case for this issue.Rajith Muditha Attapattu2011-08-311-0/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1163458 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3453: Fixes an issue with closing of detached sessionKeith Wall2011-08-261-0/+26
| | | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com> and Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1162122 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3266: Tidy up housekeeping configuration option for scheduling frequencyKeith Wall2011-08-264-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1162121 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3454: System test StreamMessageTest would not detect regression in ↵Keith Wall2011-08-261-20/+25
| | | | | | StreamMessage buffer expansion git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1162120 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1004: delete dead test (as recommended on the JIRA) since it was ↵Robert Gemmell2011-08-251-154/+0
| | | | | | excluded from all test profiles over 3 years and TTL functionality is covered by other tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1161507 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove test config for Logger which is no longer used, move test ↵Robert Gemmell2011-08-212-42/+7
| | | | | | start reporting to QTC so it shows up in output of non-broker tests, move log level utility methods to QTC git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1159998 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3434: Refactored 0-8..0-9-1 code paths to use same SSL configuration ↵Robert Gemmell2011-08-185-7/+6
| | | | | | | | mechanisms as 0-10. Apply work by myself and Keith Wall git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1159255 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: delete dead test (only runs against CPP brokers when run on linux, ↵Robert Gemmell2011-08-181-108/+0
| | | | | | but is excluded from all CPP broker profiles) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1159252 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3429: ensure that SSL is enabled correctly in MinaNetworkHandler. ↵Robert Gemmell2011-08-185-157/+220
| | | | | | | | Refactor SSLContextFactory to be a factory, and present a useful interface for both client and server side use. Added keystore for the Java broker, renamed existing client trust/key stores for clarity. Fix SSL port configuration. Added new SSL tests, and ensure these are *always* run in the Java 0-10 profiles. Committing work by myself and Keith Wall. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1159250 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2903, QPID-3390, QPID-3392: split tests into those with and without ↵Robert Gemmell2011-08-041-15/+97
| | | | | | exchange creation arguments, add verification of exchange declare arguments, add new test to validate behaviour when supplying nonsense/unsupported arguments, exclude failign tests until functionality is implemented git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1153864 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2881 Modified the testSubscriptionForSameDestination to cover forRajith Muditha Attapattu2011-08-031-1/+1
| | | | | | this issue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1153681 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3377 Modified an existing test case to cover this issue.Rajith Muditha Attapattu2011-08-021-1/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1153299 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3381 Provided the ability to retrieve the routing key from a JMS ↵Rajith Muditha Attapattu2011-08-021-5/+8
| | | | | | message using getStringProperty(). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1153274 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3263 Applying patch from Weston Price with the following modifications.Rajith Muditha Attapattu2011-08-021-0/+116
| | | | | | | | 1. The test case now extends QpidBrokerTestCase instead of TestCase to ensure that it can run under the automated ant builds. 2. Added an additional case to testIsSameRMMultiCF to ensure that isSameRM() returns false for two XAResources created from two different brokers. 3. Excluded this test from the Java test profiles. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1153164 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3359: revert testNoFailover to run in same-vm profiles onlyRobert Gemmell2011-07-151-2/+34
| | | | | | Applied patch by Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147076 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2498: upgrade Mina to 1.1.7.Robert Gemmell2011-07-141-1/+1
| | | | | | Applied patch by Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1146677 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3345: restore/add ability to use sys props to select the ↵Robert Gemmell2011-07-141-24/+5
| | | | | | | | NetworkTransport used to make/accept connections Applied patch by Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1146594 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3269Rajith Muditha Attapattu2011-07-081-8/+34
| | | | | | | | Added a test case to ensure clientID verification works. Excluded from the java broker tests as the java broker does not verify the uniqueness of the session names. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1144532 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3343: refactor test profiles to allow testing within the same JVM for ↵Robert Gemmell2011-07-0730-930/+143
| | | | | | | | all protocols, remove vm:// transport support and associated forked Mina classes Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143874 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2815: refactor broker startup to present a clean interface interface ↵Robert Gemmell2011-07-0713-74/+282
| | | | | | | | for starting the broker within an existing application Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143870 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3026: remove incomplete support for multiple ApplicationRegistry ↵Robert Gemmell2011-07-075-13/+10
| | | | | | | | instances to be active at one time Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143869 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3342: transition TCP based Mina transport for 0-8/0-9/0-9-1 protocols ↵Robert Gemmell2011-07-071-10/+10
| | | | | | | | over to new IO interface model Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143867 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3341: remove unused/dead transport code and accompanying implementation ↵Robert Gemmell2011-07-071-15/+0
| | | | | | | | classes Applied patch by Keith Wall and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143865 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3194 Added a test case to verify the alternate-exchange property is ↵Rajith Muditha Attapattu2011-06-291-0/+20
| | | | | | correctly parsed and used when declaring exchanges and queues. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1141301 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3302 Added a test case to cover "x-amqp-0-10.app-id".Rajith Muditha Attapattu2011-06-281-14/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1140413 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3301: remove support for ACL V1 (aka SimpleXML) from Java Broker.Robert Gemmell2011-06-263-650/+611
| | | | | | | Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1139792 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3273 The JMS delivery mode is now used evaluated as a string instead of ↵Rajith Muditha Attapattu2011-06-201-0/+34
| | | | | | | | | | an integer. Added a test case to cover the JIRA. There was an existing test case (testUsingOnMessage) that had delivery mode in it's selector, but for some reason it was commented out. I decided to add a new one as I was not sure why the delivery mode was taken out of the selector in that test case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1137804 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3260: remove defunct java/management/tools/qpid-cli moduleRobert Gemmell2011-05-161-31/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1103727 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3254Rajith Muditha Attapattu2011-05-111-4/+44
| | | | | | | Added test cases for creating durable subscriptions for various address strings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1102103 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3142: remove incorrectly added wrapping check on alternative cleanup optionRobert Gemmell2011-04-181-8/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1094445 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3182Rajith Muditha Attapattu2011-04-061-28/+36
| | | | | | | | | Added a test case to cover the above issue. This class can use a bit of refactoring and some consolidation of test cases. Hoping to do that soon. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1089554 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3166: updates based on review feedback from Keith WallRobert Gemmell2011-03-281-25/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1086169 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3166: add system test using multiple batch transacted producers with ↵Robert Gemmell2011-03-272-2/+250
| | | | | | multiple consumers using unique selectors. Exposes issue detailed in QPID-3165. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1086039 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2930Rajith Muditha Attapattu2011-03-221-1/+1
| | | | | | | | Removed the explicit use of addressing in the test case to enable it to be run under any profile. This seems better than excluding it from the default and 0.8 profiles as the test doesn't really have anything to do with addressing. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1084414 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2930Rajith Muditha Attapattu2011-03-221-3/+13
| | | | | | | | | I had checked in an incomplete test case with rev 1082719 I had made certain changes to the test case for testing another potential fix, but forgot to revert it back to the original before committing. Re applied the changes to adequately test the issue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1084048 13f79535-47bb-0310-9956-ffa450edef68
* Added a test case for the issue highlighted by QPID-2930Rajith Muditha Attapattu2011-03-171-0/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1082719 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2959Rajith Muditha Attapattu2011-03-171-0/+2
| | | | | | | | | Added a temp hack to get the testReplyToWithNamelessExchange passing with the java.0.10 test profile. In doing so I realized that "qpid.declare_exchanges" has no affect on the producer side. Therefore I added a check in BasicMessageProducer_0_10.java to check this flag before issuing an exchange_declare. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1082715 13f79535-47bb-0310-9956-ffa450edef68
* Added testReplyToWithNamelessExchange as a test case for QPID-2959Rajith Muditha Attapattu2011-03-171-33/+32
| | | | | | | | | | | | Added testReplyToWithCustomExchange as a test case for QPID-3011 Removed testAddressBasedReplyTo as the above test cases cover it adequately. Currently the testReplyToWithNamelessExchange fails with the java.0.10 test profile. This is due to the default being BURL and the replyTo address is evaluated as a BURL and as part of the logic an exchange declare is being set. The C++ broker does seem to ignore the exchange declare of a known type (the nameless exchange in this case), while the java broker throws an exception. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1082709 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3142: enable tests to run against a copy of an existing work directoryRobert Gemmell2011-03-151-1/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1081858 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3109Rajith Muditha Attapattu2011-03-141-0/+16
| | | | | | | Added a test case to cover a producer created with a null destination (where a valid destination is supplied each time send is invoked). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1081467 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3143Rajith Muditha Attapattu2011-03-141-0/+15
| | | | | | | | | | | Removed the line which sets the create option to 'always'. Please note that the default create option is set to 'never'. Therefore if just a queue name is specified the client will throw an exception if that queue is not present in the broker. However this check will only be performed when a producer or consumer is created using that destination. Also modified the existing test case to verify the default and the explicit create case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1081460 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2732Rajith Muditha Attapattu2011-03-111-50/+46
| | | | | | | Refactored the test a bit and added a test for default reliability modes for Topics and Queues. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1080417 13f79535-47bb-0310-9956-ffa450edef68