summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2639: copy the old QpidTestCase@950614 to the new QpidBrokerTestCase, ↵Robert Gemmell2010-06-021-0/+1345
| | | | | | removing the exclusion features now handled by the new QpidTestCase git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950730 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2639: add ASF licence and correct Logger class to updated QpidTestCase, ↵Robert Gemmell2010-06-022-1346/+21
| | | | | | delete QpidBrokerTestCase such that the old QpidTestCase as at r950614 can be copied into its place with updates to retain history. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950727 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581 : Update Plugins to have a consistent ↵Martin Ritchie2010-06-0213-95/+61
| | | | | | | | | configure(ConfigurationPlugin config) method. Further work is required to ensure that all ConfigurationPlugins perform config validation rather than leaving that to the plugin. The plugin should just use the config. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950656 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Fix test that need to modify the configuration before starting ↵Martin Ritchie2010-06-028-124/+133
| | | | | | the broker. VHCT needed to ensure that the configuration for the various queue priorities was set. The actors need to be able to en/disable status-updates as required. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950654 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Update test to use the testName'd queue by default not 'test'Martin Ritchie2010-06-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950653 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Move the creation of the default virtualhosts in the xml config ↵Martin Ritchie2010-06-021-15/+23
| | | | | | to setup so tests can clear it and make their own git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950652 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : extra plugins require common/test for the test NetworkDriverMartin Ritchie2010-06-022-12/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950651 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Update SCD to use IBBCMartin Ritchie2010-06-025-23/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950650 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Updated actor test for IBBC.Martin Ritchie2010-06-027-71/+39
| | | | | | | | | Base classes now extends IBBC rather than TestCase. The rest of the tests were updated to make use of the configure method rather than their own setUpWithConfig(). The test do not directly require an ApplicationRegistry and were using it to assist in the creation of the logger parmeters. CurrentActor test was also updated to stop the broker before testing to ensure that any Actors set for the broker test run are removed so that the CurrentActor.set/remove logic can be tested. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950649 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Update to ensure multiple virtualhosts are actually added, ↵Martin Ritchie2010-06-021-5/+6
| | | | | | required move to XMLConfiguration from PropertyConfiguration git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950648 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : IBBC update and removed most local variable declartion as this ↵Martin Ritchie2010-06-021-37/+12
| | | | | | was duplicating IBBC setup git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950647 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Updated as per other tests for IBBC, with setUp/tearDownMartin Ritchie2010-06-021-7/+11
| | | | | | | This test also required a change to record the number of queues created during IBBC broker startup and ensure the test added one more test. Previously it checked for 0 queues then 1 queue now it is n and n+1. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950646 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Updated AMQQueueAlertTest to use configure() to set ↵Martin Ritchie2010-06-021-45/+23
| | | | | | | | ExpiredMessage check period. Removed local variables and renamed others to utilise those created by IBBC. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950645 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2623 : Simple changes to classes that extended TestCase, now they ↵Martin Ritchie2010-06-0222-166/+86
| | | | | | | | | extend InternalBrokerBaseCase. Fixed up @Override on setUp/tearDowns removed setUp/tearDowns that were simply super calls. Corrected existing setUp/tearDowns to call super. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950644 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Update IBBC and TestApplicationRegistry to provide default test ↵Martin Ritchie2010-06-022-20/+64
| | | | | | | | vhosts and one named after the test via getName(). Also provide configure() method callback so the test can provide any configuration it needs before the broker starts up. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950643 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Remove NullApplicationRegistryMartin Ritchie2010-06-023-153/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950642 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 - Cleaned up PluginTest, it now simply uses the configure() method ↵Martin Ritchie2010-06-021-18/+5
| | | | | | to set its additional property git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950641 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : A couple of tests in Systests are actually InVM only tests but ↵Martin Ritchie2010-06-024-42/+39
| | | | | | | | | | are not marked as so. They only work InVM but require a client. These should be either updated to be broker tests and not need the client or updated to not relay on the InVM transport. Also updated the code in old_test to be in line with these changes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950640 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Updating ManagementConsoleTest to use IBBC required added ↵Martin Ritchie2010-06-022-9/+4
| | | | | | broker/test as a dependency git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950639 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Fully comment tests and ensure asserts are made in all test casesMartin Ritchie2010-06-024-37/+183
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950638 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Finish testing SCD plugin,Martin Ritchie2010-06-022-35/+217
| | | | | | Now tests durable subscriptions and all three triggers, depth,messageAge,messageCount git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950637 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Add Logging to SCD. Update PluginManager to expose the logging ↵Martin Ritchie2010-06-026-10/+70
| | | | | | packages via OSGi. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950636 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2625 : Update GenerateLogMessages to probe the property file for ↵Martin Ritchie2010-06-0210-41/+106
| | | | | | 3-Digit LoggingClasses and use that as the basis for generation. Expose LogSubjects from Queue and Session. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950635 13f79535-47bb-0310-9956-ffa450edef68
* Excluded the following tests using the new mechanism introduced in QPID-2639Rajith Muditha Attapattu2010-06-027-14/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950621 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2639Rajith Muditha Attapattu2010-06-0285-171/+181
| | | | | | | Changed all existing test cases that extened QpidTestCase to QpidBrokerTestCase. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950617 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2639Rajith Muditha Attapattu2010-06-022-1322/+1348
| | | | | | | | Renamed the old QpidTestCase to QpidBrokerTestCase Created a new class QpidTestCase and moved the test exclusion logic to this class. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950615 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2520: use os.pathsep in genpom to allow it to function on WindowsRobert Gemmell2010-05-311-1/+1
| | | | | | | Applied patch from Emmanuel Bourg <ebourg@apache.org> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949855 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2526: quote arguments to allow building with spaces in pathRobert Gemmell2010-05-312-4/+8
| | | | | | | Applied patches from Emmanuel Bourg <ebourg@apache.org> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949853 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2422: fix passing of the queue exclusivity argument during recovery as ↵Robert Gemmell2010-05-311-1/+1
| | | | | | it was broken by previous commits git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949791 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2624: Check whether virtualhosts configuration file existsRobert Gemmell2010-05-312-0/+33
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949788 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2585: Update extras OSGi plugin to work with latest interfacesRobert Gemmell2010-05-315-83/+62
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949787 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447: Updated to use newer configuration plugin interfaceRobert Gemmell2010-05-318-55/+110
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949786 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2573: Implement the Firewall functionality as an OSGi pluginRobert Gemmell2010-05-3110-328/+925
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949785 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2569: Implement the SimpleXML as an OSGi pluginRobert Gemmell2010-05-319-494/+575
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949784 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2542: Implement ACL checking as OSGi pluginRobert Gemmell2010-05-3115-0/+2008
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949783 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2606: Access Control ModificationsRobert Gemmell2010-05-31110-2620/+4328
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949781 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2585: Upgrade Felix to 2.0.5Robert Gemmell2010-05-315-169/+254
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949780 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581: Update configuration manager to allow multiple plugins to handle ↵Robert Gemmell2010-05-3127-650/+411
| | | | | | | | | the same configuration Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949779 13f79535-47bb-0310-9956-ffa450edef68
* Make PersistentStoreTest.testForcibleStartStopMidTransaction() do a ↵Robert Gemmell2010-05-311-2/+4
| | | | | | syncchronous op before killing the broker to ensure all the additional messages reach the broker before it is killed. Update message numbering to be based from 1 to aid log clarity. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949735 13f79535-47bb-0310-9956-ffa450edef68
* 1. Capacity can now be specified as " capacity : {source: 5, target 10}" in ↵Rajith Muditha Attapattu2010-05-285-28/+56
| | | | | | | | | | | addition to "capacity:10" where both source and target is set to 10. 2. If the exchange type if direct and no subject is set, then the routing_key is set to "" instead of throwing an exception. 3. Added a fix to infer the exchange type if specified in the x-declares section. 4. The link can now specify an optional 'name' parameter which will be used as the queue name if present. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949083 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2629Rajith Muditha Attapattu2010-05-288-22/+1267
| | | | | | | | | Removed commons collections from the build deps. Added the ReferenceMap and supported classes under a subpackage in qpid. These classes were copied from the Commons Collections release tag 3_2. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949076 13f79535-47bb-0310-9956-ffa450edef68
* Deleted the old examples to avoid confusion.Rajith Muditha Attapattu2010-05-2658-3435/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948637 13f79535-47bb-0310-9956-ffa450edef68
* Added examples to match the c++ and python clients.Rajith Muditha Attapattu2010-05-267-0/+805
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948636 13f79535-47bb-0310-9956-ffa450edef68
* Set property for native line endings on QueuePurgeHandlerRobert Gemmell2010-05-251-128/+128
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948059 13f79535-47bb-0310-9956-ffa450edef68
* Set property for native line endings on BasicGetMethodHandlerRobert Gemmell2010-05-251-212/+212
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948051 13f79535-47bb-0310-9956-ffa450edef68
* Reduce the large number of persistent messages sent by DupsOkTest from 4999 ↵Robert Gemmell2010-05-251-2/+1
| | | | | | to 100 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948038 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2626: Fix typo and unchecked assignment warning in ServerConnectionDelegateRobert Gemmell2010-05-251-2/+2
| | | | | | | Applied patch from Emmanuel Bourg <ebourg@apache.org> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948001 13f79535-47bb-0310-9956-ffa450edef68
* Enforce usage of the requested test profile by failing immediately if it ↵Robert Gemmell2010-05-241-1/+6
| | | | | | isnt found, preventing a silent fallback to the default test profile. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947672 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2611: AMQConnectionFailureException records AMQPConstant message if ↵Robert Gemmell2010-05-241-4/+1
| | | | | | | | | cause is AMQPException Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947650 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2608: AMQPException messages contain duplicate error codeRobert Gemmell2010-05-241-8/+10
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947649 13f79535-47bb-0310-9956-ffa450edef68