summaryrefslogtreecommitdiff
path: root/java/broker/src/test
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2258 : AMQP0-9-1 Compliance fixesRobert Godfrey2009-12-093-0/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@889022 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2177: rework noddy unit testRobert Gemmell2009-12-081-16/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@888348 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2177: unit and system testing for the new flow controlled related ↵Robert Gemmell2009-12-081-0/+61
| | | | | | attributes of the Queue MBean git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@888250 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2177: expose Capacity, FlowResumeCapacity, and FlowOverfull as ↵Robert Gemmell2009-12-081-0/+5
| | | | | | attributes of the Queue MBeans git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@888248 13f79535-47bb-0310-9956-ffa450edef68
* Merged r887145 from 0.5.x-dev Martin Ritchie2009-12-041-1/+1
| | | | | | | | QPID-1992 : Ensure there is only one location where strings are built for logging. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887152 13f79535-47bb-0310-9956-ffa450edef68
* Merged r 886719:886722 from 0.5.x-dev.Martin Ritchie2009-12-0330-364/+441
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@886842 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2184: replace random 1second wait with a LogMonitor check that the ↵Robert Gemmell2009-12-011-3/+3
| | | | | | reload has occured. Also update some method and paramter names git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@885765 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2222: Add CRAM-MD5-HEX support to broker to enable .net client to ↵Robert Gemmell2009-11-271-0/+143
| | | | | | | | | connect to broker when using Base64MD5 password file. Changes merged from M2.x branch r664001 with update to implement the newer reload() PD method. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@884838 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2184: make sure global security plugins are reconfigured properlyAidan Skinner2009-11-111-32/+66
| | | | | | | | | | | ServerConfigurationTest: add test for reloading firewall config in main section, not just as a combined file FirewallConfigTest: add a systest for firewalls with real broker QpidTestCase: add a reloadBroker() method git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835115 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2178: test expanded channels() output correctly returns current channel ↵Robert Gemmell2009-11-061-0/+27
| | | | | | blocking status git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@833447 13f79535-47bb-0310-9956-ffa450edef68
* Merged from java-broker-0-10 branchRobert Godfrey2009-10-2543-1573/+1266
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829675 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2001 : Updated Broker Logging Unit tests to ensure that they enable ↵Martin Ritchie2009-10-228-2/+17
| | | | | | logging before running. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828631 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1872: remove systest and reinstate equivalent unit testRobert Gemmell2009-10-211-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827968 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2055: update test to ensure all test files created are cleared upRobert Gemmell2009-10-202-1/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827592 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2042: update test to ensure all test files created are cleared upRobert Gemmell2009-10-201-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827590 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2041: update test to ensure all test files created are cleared upRobert Gemmell2009-10-201-10/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827588 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2040: update test to ensure all test files created are cleared upRobert Gemmell2009-10-201-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827586 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1301 Fixes for issues with temporary queue permissions, including ↵Marnie McCormack2009-10-201-2/+60
| | | | | | promotion of temporary element out from individual queue elements. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827041 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1304: implement the ACCESS section of SimpleXML ACL. Enables ↵Robert Gemmell2009-10-151-0/+33
| | | | | | virtualhost level access control, giving the defined users full access to all artifacts in the vhost git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825453 13f79535-47bb-0310-9956-ffa450edef68
* Merge java-network-refactor branchAidan Skinner2009-10-157-418/+80
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825362 13f79535-47bb-0310-9956-ffa450edef68
* Fix compiler compliance levels, not allowed @Override on interfaces in 1.5Aidan Skinner2009-10-111-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@824129 13f79535-47bb-0310-9956-ffa450edef68
* Added close actor to NAR to prevent exception during InVM broker shutdown.Martin Ritchie2009-10-051-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@821816 13f79535-47bb-0310-9956-ffa450edef68
* QPID-942 : Add Simplistic Producer Flow Control to the java Broker / java ↵Robert Godfrey2009-10-011-3/+35
| | | | | | 0-8/0-9 client git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@820739 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2028 : Augment BrokerActor to allow the setting of the broker name. ↵Martin Ritchie2009-09-283-7/+3
| | | | | | Updated ApplicationRegistries to pass the instanceID to the BrokerActor in an attempt to better identify what brokers are shutting down during our test runs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819605 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2091 : Updated ServerConfiguration and added test to ↵Martin Ritchie2009-09-101-20/+35
| | | | | | ServerConfigurationTest. Merged virtualhost.xml with config.xml git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@813459 13f79535-47bb-0310-9956-ffa450edef68
* Remove some more unused code.Aidan Skinner2009-09-091-13/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@812825 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2051: relax the parser validation to only halt startup on fatal-errors ↵Robert Gemmell2009-08-171-2/+2
| | | | | | in the xml file, and relax the level-check to allow undefined system properties. Move the Log4J initialisation override inside Main instead of the startup scripts, and have it check for -Dlog4j.configuration first before engaging. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805188 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2051: Update startup scripts to disable the Log4J default ↵Robert Gemmell2009-08-161-0/+396
| | | | | | initialisation process. Add QpidLog4JConfigurator that validates the XML file before allowing it to be applied. Alter startup behaviour to shut the broker down if the specified log4j XML file is present present but invalid. Uses the -Damqj.logging.level(defaults to info) with the log4j.properties file in the broker jar if the XML file is not found. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804765 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2001 : Default Locale should be the VMs locale not en_US.Martin Ritchie2009-08-141-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804201 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Updated ManagementActor to derive logString from the current threadMartin Ritchie2009-08-121-8/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803648 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Added new SUB-1003 Message with testingMartin Ritchie2009-08-121-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803639 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Addition of a QueueActor to be set during running of the ↵Martin Ritchie2009-08-121-0/+119
| | | | | | | | | processQueue thread Made QueueLogSubject public so it can be reused by QueueActor Updated SAMQQ to create a QueueActor for use during the processQueue thread run git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803638 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Made owner an optional value on the queue log messageMartin Ritchie2009-08-121-16/+103
| | | | | | Update tests to ensure Owner is not present git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803635 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Added test to ensure that the ResourceBundle is loadable even if ↵Martin Ritchie2009-08-121-0/+71
| | | | | | the current Locale is not one that has a specific file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803630 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused Constructor on Mock objectMartin Ritchie2009-08-062-6/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801726 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002, QPID-2001 : Add new SubscriptionActor to perform Subscription ↵Martin Ritchie2009-08-062-0/+138
| | | | | | close logging on the Subscription Flush thread. Alternative would be to create a Virtualhost Logger. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801725 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Added exclusive parameter to subscription.setQueue to allow ↵Martin Ritchie2009-08-062-2/+3
| | | | | | improved logging. Value should be retained in the Subscription for MC display git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801715 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Updates to Test ARs to correctly remove the CurrentActor on ↵Martin Ritchie2009-08-064-8/+30
| | | | | | close. Update to CFAR to ensure that an Actor is set during shutdown. Update to TestLogActor's log Name and corrected CurrentActorTest's testname. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801573 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002: MessageStore Logging , DerbyMS Does not have Queue Recovery ↵Martin Ritchie2009-08-061-1/+1
| | | | | | logging just yet as its approach to recovery does not provide the requried details. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801572 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Renamed TestBlankActor to TestLogActor for more general use in ↵Martin Ritchie2009-08-062-2/+2
| | | | | | NullApplicationRegistry git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801568 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2028 : Ensure all Non QpidTestCase System tests correctly clean up by ↵Martin Ritchie2009-08-0629-89/+304
| | | | | | | | removing the ApplicationRegistry they create. The biggest offenders are the broker tests which are not pure unit tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801561 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Updates to integrate Logging with test ant test runs.Martin Ritchie2009-08-034-62/+30
| | | | | | | | | | | MaxChannelsTest/AMQProtoSessionMBean - Ensured CurrentActor is correctly set and removed. Log4jMessageLogger - Correctly Set log level to ensure messages are logged. AbstractActor - Null validation of RootLogger Log4jMessasgeLoggerTest - Updated and removed erroneous tests that were based on inherited log levels. AbstractTestLogSubject - Updated to correctly parse IP given by the use of InternalTestProtocolSession TestApplicationRegistry - Created RootMessageLogger git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800374 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1230 : Removed MockProtocolSession, Updated all references to use ↵Martin Ritchie2009-08-0318-594/+309
| | | | | | | | InternalTestProtocolSession IPTS was also updated to take a VirtualHost parameter that is then used to configured the AMQProtocolSession git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800372 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002: Added testing of Channel LoggingMartin Ritchie2009-08-032-5/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800368 13f79535-47bb-0310-9956-ffa450edef68
* Removed stale constructor, updated two test cases to use other constructor, ↵Martin Ritchie2009-08-032-3/+2
| | | | | | there is no impact as the tests were passing in null for the removed parameter git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800365 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Change CON-1001 to make client ID optional so that the various ↵Martin Ritchie2009-08-032-6/+29
| | | | | | | | | | | | | stages of Open can be correctly logged. Client ID is not initially provided so we would be unable to log the protocol negotiation without removing this Modified ProtocolVersion Template to include a toString value to make it easier to log. There are two templates to update one in gentools/templ.java and one in common/templates Exposed verification methods to allow systests to reuse the code git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800363 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2001 : Corrected MSLSubject, extracting the Store from the vhost fails ↵Martin Ritchie2009-08-031-1/+1
| | | | | | to retrieve the right value during startup. So better to explicitly specify the vhost and message store. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800360 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2001 : Added missing MessageStoreLogSubject and corresponding testMartin Ritchie2009-08-031-0/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800357 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2001 : Update to provide control of options in messages.Martin Ritchie2009-07-247-30/+209
| | | | | | | | | Update to improve formatting of generated code Inclusion of more documentation Defaulted generation to use US locale Removed duplicate messages in MST that were added to while the option solution was being discussed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@797421 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2001 : Fully Tested LogMessagesMartin Ritchie2009-07-2312-1/+808
| | | | | | | Added TestBlankSubject to be able to easily identify log message Updatd LogMessasges based on issues found. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@797050 13f79535-47bb-0310-9956-ffa450edef68