summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-2526: split command into quoted arguments to allow building with spaces ↵Robert Gemmell2010-06-081-1/+7
| | | | | | | | | | in path Applied patch from Emmanuel Bourg <ebourg@apache.org> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952863 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2650: make PST check the recovered messages more precisely, and more ↵Robert Gemmell2010-06-081-2/+10
| | | | | | informative about the unexpected message it recieves when it fails git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952694 13f79535-47bb-0310-9956-ffa450edef68
* made minor changes to get testkit running again.Rajith Muditha Attapattu2010-06-081-26/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952509 13f79535-47bb-0310-9956-ffa450edef68
* Adjusted the capacity test case, verify the change made in rev 949083.Rajith Muditha Attapattu2010-06-071-7/+16
| | | | | | | This is related to QPID-2496 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952451 13f79535-47bb-0310-9956-ffa450edef68
* Removing commented out code.Rajith Muditha Attapattu2010-06-071-6/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952448 13f79535-47bb-0310-9956-ffa450edef68
* For testOderingWithSyncConsumer I added a timeout for the individual ↵Rajith Muditha Attapattu2010-06-071-3/+12
| | | | | | | | | receive() methods, and another timeout for the while loop to prevent the test from hanging in case of an error. For testOderingWithAsyncConsumer I increased the timeout to 8 secs as there have been occasional failures with the test not being completed inside 5 secs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952430 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2634: set/correct broker+common script line ending properties depending ↵Robert Gemmell2010-06-072-20/+20
| | | | | | on targeted platform git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952407 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2634: use ant fixcrlf task as part of the broker packaging process to ↵Robert Gemmell2010-06-071-1/+2
| | | | | | | | | ensure correct line endings on scripts Applied patch from Emmanuel Bourg <ebourg@apache.org> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952404 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2599: restore log4j settings files which are not named log4j.xml or ↵Robert Gemmell2010-06-046-0/+233
| | | | | | log4j.properties and so need not be removed completely since they wont be automatically applied by log4j if found on the classpath like the others will git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951419 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Applied patch from Andrew Kennedy. To convert RST and PPT to ↵Martin Ritchie2010-06-044-18/+8
| | | | | | QTCs not IBBCs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951341 13f79535-47bb-0310-9956-ffa450edef68
* Only build perftest scripts if we have changed them. Shaves 14s of the build ↵Martin Ritchie2010-06-041-1/+11
| | | | | | for me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951334 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : External broker profile actually needs an InVM broker created to ↵Martin Ritchie2010-06-034-11/+60
| | | | | | | | | | process the configuration. As we don't automatically create the AppRegistry any more we need to explicitly create an InVM broker for these two tests. It may be necessary to move the IBBC creation from AbstractTestLogging to QBTC for external profile runs. However, testing to date has only shown these two tests failing due to missing AR. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951170 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Ensure we only attempt to load plugins that are configured and ↵Martin Ritchie2010-06-031-3/+7
| | | | | | so will be created. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951168 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup code. Configuration security.access is not used anymoreMartin Ritchie2010-06-038-26/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951167 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2633 : Move destinationConsumer count logic to before the consumer is ↵Martin Ritchie2010-06-031-8/+15
| | | | | | registered. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951165 13f79535-47bb-0310-9956-ffa450edef68
* Increase ExpiredMessageCheck time period to ensure test succesfully runsMartin Ritchie2010-06-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951163 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Update SCD for MessageAge when queue is empty at consumer ↵Martin Ritchie2010-06-031-3/+12
| | | | | | connect. Perhaps additional test requried where queue has old messages but no delete policy, just disconnect. Consumer will be disconnected during the first receive(). Also why is the oldest Arrival time set to Long.MAX_LONG when there are no messages on the queue, why not 0. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951162 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Add additional testing for null TopicDelete Policy Configuration ↵Martin Ritchie2010-06-032-11/+57
| | | | | | and fix for NPEs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951161 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Encorporated changes from Andrew Kennedy, cleanup PPT and extend ↵Martin Ritchie2010-06-031-17/+5
| | | | | | IBBC as this is a broker unit test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951160 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581 : Update Plugins that use configuration to only throw ↵Martin Ritchie2010-06-0317-99/+206
| | | | | | | | | | ConfigurationExceptions during the configuration phase of loading configuration. Creating a plugin and providing it with configuration should not throw a configuration exception. Added configuration validation to newer plugins SimpleXML still needs validation. todo Docuement Configuration mechanism. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951159 13f79535-47bb-0310-9956-ffa450edef68
* Remove Plugin.isConfigured Only configured plugins should be createdMartin Ritchie2010-06-037-91/+81
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951158 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Ensure additional broker unit tests extend IBBCMartin Ritchie2010-06-038-50/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951157 13f79535-47bb-0310-9956-ffa450edef68
* Add the ASF License to various classes currently missing itRobert Gemmell2010-06-0221-3/+423
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950740 13f79535-47bb-0310-9956-ffa450edef68
* 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