summaryrefslogtreecommitdiff
path: root/qpid/java/broker/src/test
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-2771: rename package from plugin to pluginsRobert Gemmell2010-08-275-8/+8
| | | | | | | Applied patches from Sorin Suciu <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@990236 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2802: move Log4jMessageLogger and update its test to account for use of ↵Robert Gemmell2010-08-261-51/+83
| | | | | | per-message log heirarchies rather than a single default Logger git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@989735 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2802: Add support for a status-logging hierarchy, such that the ↵Robert Gemmell2010-08-2615-294/+114
| | | | | | Log4jMessageLogger may use this to allow individual on/off toggling of each status message. Combine the RootLogger and RawLogger interfaces. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@989734 13f79535-47bb-0310-9956-ffa450edef68
* Tidy up various badly named testsAndrew Donald Kennedy2010-08-132-59/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@985259 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2787: Add test for persistence of Conflation/LastValue queuesRobert Gemmell2010-08-091-24/+52
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@983571 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2787: split existing test into component test methods regarding ↵Robert Gemmell2010-08-061-172/+405
| | | | | | persistence/recovery of queues, exchanges, messages,bindings. Add additional tests around removal of persisted items. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@982988 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2787: Move QpidTestCase to Common test module so that any test can ↵Robert Gemmell2010-08-061-2/+2
| | | | | | | | | inherit from it, allowing exclusions to be applied. Add ability to gather the class name of the message store associated with the test profile in use. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@982986 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2659: Add AMQStoreException to message storesAndrew Donald Kennedy2010-07-264-22/+24
| | | | | | | This is a sub-class of AMQInternalException, which encapsulates error code 541, or INTERNAL_ERROR. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@979315 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2682: Move slow consumer disconnection mechanism to the brokerAndrew Donald Kennedy2010-07-225-0/+1016
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@966637 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2731: ensure the MessageStoreTest test store for Derby is created ↵Robert Gemmell2010-07-211-1/+2
| | | | | | within the QPID_WORK directory git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@966153 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2731, QPID-2741, QPID-2742: Enable the MessageStoreTest to run for the ↵Robert Gemmell2010-07-161-43/+67
| | | | | | DerbyMessageStore. Test update of queue exclusivity. Apply various fixes to allowtest to pass (correct exchange count checks, flush messages to the store, delete store directory properly, check for the proper value for selector argument, add ability to unregister virtualhosts from the registry) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@964830 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2731: enable getting/setting queue exclusivity via JMXRobert Gemmell2010-07-163-2/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@964825 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a compile error.Rajith Muditha Attapattu2010-07-061-26/+0
| | | | | | | The testTopicBindings() was defined twice in this class, possibly an error when applying the patch. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@960766 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2700 Patch for ability to remove bindings from exchanges and additional ↵Marnie McCormack2010-07-051-0/+79
| | | | | | tests for direct and topic exchange add/remove logic from Andrew Kennedy git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@960678 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2681 : Correcly process global configuration, added test to coverMartin Ritchie2010-07-051-3/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@960549 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581 : Process new topic configurationMartin Ritchie2010-07-051-0/+79
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@960544 13f79535-47bb-0310-9956-ffa450edef68
* Update SAMQQT to use an initialised Direct exchange rather than make its own.Martin Ritchie2010-06-141-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954434 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2638 : Add initial support for Topics section in configuration file.Martin Ritchie2010-06-142-6/+5
| | | | | | | | | Added getQueueConfiguration(AMQQueue) which will return a new configuration for the given queue reflecting its binding status. This will allow the queue to be reconfigured during the binding process. Full Docs on this approach to appear on wiki. AMQQueue.configure and getConfiguration() have been updated to use ConfigurationPlugin rather than QueueConfiguration, The queue may be configured by a TopicConfiguration now. Update SlowConsumerTest to be GlobalQueuesTest and add a GlobalTopicsTest to match, where the config is added to the queues or topics section respectively git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954433 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2625 : Moved Logging generation to moudule.xml to allow plugins to ↵Martin Ritchie2010-06-1411-59/+58
| | | | | | | | | | | | | | | | | | utilise the same functionality. To enable generation for your plugin just add : <target name="precompile" depends="gen_logging"/> to your build.xml Logging is now defined in a X_logmessage.properties file. Where X is used to make the XMessages.java class. Also updated all existing usages to remove the 3 digit prefix that wasn't adding any info. Updated ConfigStore and Transaction Log to use named properties rather than numeric values. If we are going to continue with <3 alpha>-<4 numeric> ids for messages then we'll need to have some registry to prevent clases. Perhaps it is simpler to relax this and require a plugin creator to provide a unique identifier for their messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954432 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : External broker profile actually needs an InVM broker created to ↵Martin Ritchie2010-06-031-1/+1
| | | | | | | | | | 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@951170 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@951163 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@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@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@950652 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : extra plugins require common/test for the test NetworkDriverMartin Ritchie2010-06-021-6/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@950651 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@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@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@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@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@950645 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2623 : Simple changes to classes that extended TestCase, now they ↵Martin Ritchie2010-06-0221-155/+84
| | | | | | | | | 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@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@950643 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Remove NullApplicationRegistryMartin Ritchie2010-06-022-132/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@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@950641 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2625 : Update GenerateLogMessages to probe the property file for ↵Martin Ritchie2010-06-021-0/+6
| | | | | | 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@950635 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2624: Check whether virtualhosts configuration file existsRobert Gemmell2010-05-311-0/+29
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@949788 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2573: Implement the Firewall functionality as an OSGi pluginRobert Gemmell2010-05-311-303/+0
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@949785 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2569: Implement the SimpleXML as an OSGi pluginRobert Gemmell2010-05-311-254/+0
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@949784 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2606: Access Control ModificationsRobert Gemmell2010-05-317-238/+81
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@949781 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2585: Upgrade Felix to 2.0.5Robert Gemmell2010-05-311-9/+14
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@949780 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581: Update configuration manager to allow multiple plugins to handle ↵Robert Gemmell2010-05-313-414/+139
| | | | | | | | | the same configuration Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@949779 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2609: Implement getName for MockAMQQueueRobert Gemmell2010-05-241-1/+1
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@947637 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2607: Fix package name typo for CRAMMD5HexInitialiserTest.javaRobert Gemmell2010-05-241-7/+1
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@947606 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581 : Update ConfigurationPlugin to provide a validateConfiguration() ↵Martin Ritchie2010-05-211-2/+11
| | | | | | method simplifying the plugins git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@947177 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Complete SCDPolicyConfiguration TestingMartin Ritchie2010-05-211-16/+118
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@947176 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2622 : Add Closeable interface and update Broker components to use it ↵Martin Ritchie2010-05-201-1/+1
| | | | | | and add close method in ApplicationRegistry to safely perform the close. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@946667 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Full test the TopicDeletePolicy, udpate MockAMQQueue and ↵Martin Ritchie2010-05-202-17/+32
| | | | | | | | | InternalTestProtocolSession to allow: - Queue- Setting of AutoDelete - ProtocolSession - Closing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@946665 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2422: add a boolean exclusive property to queues, update the DerbyStore ↵Robert Gemmell2010-05-1913-41/+41
| | | | | | and virtualhost recovery process to allow restoring exclusivity. Also persist and restore queue arguments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@946199 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581 : Update ConfigurationPlugin to correctly handle attributes in ↵Martin Ritchie2010-05-181-0/+94
| | | | | | | | | | configuration. Added work around for the fact that we use a Composite Configuration that turns an XML attribute key of '[@attribute]' in to '@attribute]'. Added test for to this conversion. This makes the Plugin Configuration interface consistent so if we swap our configuration format. The key style of '[@attribute]' will work as expected. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945681 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2614 : Update QueueConfiguration to take two parameters, moved Munging ↵Martin Ritchie2010-05-181-36/+44
| | | | | | | | code from VHC to QC. Updated Test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945680 13f79535-47bb-0310-9956-ffa450edef68