summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-067-11/+203
| | | | | | 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-2001 : Update to LogMessages.vm to perform the option removal BEFORE ↵Martin Ritchie2009-08-061-21/+21
| | | | | | replacement is performed. Encountered a problem creating Binding Tests where the brackets '[]' logged by the messsage caused the option removal to fail. Performing the removal before formatting will remove this problem. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801724 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Add Binding Logging Messages with testMartin Ritchie2009-08-064-19/+293
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801723 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Removed local _monitor which was hiding super class variableMartin Ritchie2009-08-061-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801722 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002: Added Exchange Logging and testMartin Ritchie2009-08-062-0/+217
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801720 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : SubscriptionLogging Tests, update to SubscriptionImpl for new ↵Martin Ritchie2009-08-063-20/+350
| | | | | | exclusive flag on setQueue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801719 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Used new close feature of LogMonitor to ensure test log file ↵Martin Ritchie2009-08-061-0/+8
| | | | | | only has data from test run git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801718 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Added exclusive parameter to subscription.setQueue to allow ↵Martin Ritchie2009-08-065-5/+6
| | | | | | 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
* Add close to LogMonitor so we only get the messages for that test in the log ↵Martin Ritchie2009-08-061-4/+25
| | | | | | file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801713 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Add toString functionality to Filters for displaying in ↵Martin Ritchie2009-08-063-1/+39
| | | | | | Subscription arguments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801712 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1223 : Now that we are correctly closing all the InVM brokers ↵Martin Ritchie2009-08-061-2/+2
| | | | | | ChannelCloseTest is failing in the java test profile. This is because this is an InVM only test. This commit ensures it only runs on an InVM test run git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801578 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002: Removed the setting of QPID_WORK as this appears to upset Derby, ↵Martin Ritchie2009-08-062-13/+3
| | | | | | local testing was running out of file descriptors. Also removed lookup of environment-path from the configuration file as not all the profiles have the environment-path set, check is purely to ensure there is a value there. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801577 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Completion of BrokerLoggingTest, the shutdown tests have been ↵Martin Ritchie2009-08-068-47/+1040
| | | | | | excluded due to QPID-2031. An update to the LogMessages.vm templates and ApplicationRegistry was requried. This is because BrokerMessages is loaded before the ApplicationRegistry is initialised. As a result the NullApplicationRegistry is created which should not be used. The AR is loaded to discover the current Locale. There were a couple of options here. Either always use the Default Locale and have the AR loading set that or add the ability to check if the AR has been configured. I chose the latter as knowing if an AR exists may be useful for our testing framework. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801575 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1223 : Non QTC and some QTC tests are still not correctly cleaning up ↵Martin Ritchie2009-08-069-61/+49
| | | | | | the VM state after their test run. Updated all tests to use the default AR,getInstance() before creation of a TransportConnection (which now uses AR.DEFAULT_INSTANCE rather than '1'). On shutdown updated to ensure AR.remove() is called and not just AR.close() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801574 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Updates to Test ARs to correctly remove the CurrentActor on ↵Martin Ritchie2009-08-065-9/+46
| | | | | | 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-069-54/+561
| | | | | | 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 : Javadoc'd CurrentActorMartin Ritchie2009-08-061-1/+55
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801571 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Updated ChannelLoggingTest to use new getMessageString method ↵Martin Ritchie2009-08-061-4/+4
| | | | | | for more accurate testing of log messages git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801569 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-2002, QPID-2012 : Provide Broker Startup Logging using a ↵Martin Ritchie2009-08-066-48/+291
| | | | | | SystemOutMessageLogger until we have loaded the main configuration and then re-initialise with that configuration git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801567 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Add Queue Logging Tests.Martin Ritchie2009-08-065-3/+568
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801564 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2028 : Ensure all Non QpidTestCase System tests correctly clean up by ↵Martin Ritchie2009-08-0633-95/+233
| | | | | | | | 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 : Add Queue Creation loggingMartin Ritchie2009-08-061-11/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801557 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Rename extractConnectionID to getConnectionID to be inline with ↵Martin Ritchie2009-08-062-9/+4
| | | | | | rest of the helper methods git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801556 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2014: when a user sets a new message interval to view, use the interval ↵Robert Gemmell2009-08-031-11/+17
| | | | | | size as the step change for the Next and Previous buttons git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800550 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2014: prompt the user for confirmation before clearing all ↵Robert Gemmell2009-08-032-0/+22
| | | | | | Notifications for the selected vhost/mbean git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800519 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2021: move the refresh button to the right side of the Refresh Interval ↵Robert Gemmell2009-08-0312-3/+55
| | | | | | combo box for clarity, add icons for various 'manager' mbeans, remove Thumbs.db file from repository. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800508 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2019 : Update Exclude mechanism so we can exclude the new logging tests ↵Martin Ritchie2009-08-032-1/+4
| | | | | | from the CPP broker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800439 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Updated ConnectionLoggingTest to protect against message ↵Martin Ritchie2009-08-032-5/+67
| | | | | | reordering of connection closure during negotiation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800376 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Added new getLog method to AbstractTestLogging that retreives ↵Martin Ritchie2009-08-033-20/+98
| | | | | | | | the string starting "MESSAGE....." This ensures that the LoggingTests are parsing the logged message and not erroneously picking up a section based on the log4j format configuration. i.e. the [qpid.message] logger name was causing issues with searching for the first '[' to get Subject/Actor git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800375 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Updates to integrate Logging with test ant test runs.Martin Ritchie2009-08-037-67/+72
| | | | | | | | | | | 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
* Removed unused method that only throws an ExceptionMartin Ritchie2009-08-031-6/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800371 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Updated ConnectionLoggingTest to use new validation methods in ↵Martin Ritchie2009-08-031-15/+14
| | | | | | Abstract parent git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800370 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Added QUEUE constant = queue to QTCMartin Ritchie2009-08-031-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800369 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002: Added testing of Channel LoggingMartin Ritchie2009-08-038-14/+426
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800368 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Added message(LogMessage message) to the LogActor Interface and ↵Martin Ritchie2009-08-032-1/+23
| | | | | | the ability to retrieve the RootMessageLogger git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800366 13f79535-47bb-0310-9956-ffa450edef68
* Removed stale constructor, updated two test cases to use other constructor, ↵Martin Ritchie2009-08-033-17/+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
* Updated AlertingTest to use new methods in Abstract super classMartin Ritchie2009-08-031-7/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800364 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Change CON-1001 to make client ID optional so that the various ↵Martin Ritchie2009-08-035-35/+86
| | | | | | | | | | | | | 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-2002 : Enable LogActors to log solely about themselves. Situations such ↵Martin Ritchie2009-08-033-0/+22
| | | | | | as startup would necesitate this, or when a new connection is being created. The addition of a ConnetionSubject would be unnecessary. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800362 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2001 : Corrected MSLSubject, extracting the Store from the vhost fails ↵Martin Ritchie2009-08-032-3/+4
| | | | | | 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-2002 : Addition of ConnectionLoggingTestMartin Ritchie2009-08-032-0/+225
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800359 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2001 : Update based on feedback from Marnie to be mindful of the impact ↵Martin Ritchie2009-08-031-8/+20
| | | | | | | | of message creation. Messages that do not need a message formatter now nolonger use the message formater. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800358 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2001 : Added missing MessageStoreLogSubject and corresponding testMartin Ritchie2009-08-032-0/+103
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800357 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2011 : Updated AlertingTest to use new LogMonitoring class and ↵Martin Ritchie2009-08-034-187/+352
| | | | | | | | | | | | | | | | corrected failures in test. Failures corrected by: - Ensuring message count is as expected after first publication - Validating that the max count alert level is correctly changed (when InVM) - Validate that the log file does not contain alerts after restart - Validate that alerting occurs after extra messages have been published - Modified QPID_WORK (using QTC.setSystemProperty so it is only set for that test run) to ensure each test has a clean store. Additions to QpidTestCase: - Ability to enable persistence on a given virtualhost. Currently it tries to set the JBoss BerkelyDB store failing back to Qpid's DerbyDB store. - Ability to set properties in the configuration file, this involves re-writting the config files so that both inVM and external java brokers will correctly function with the desired configuration. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800356 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2001 : Added new LogMonitor (with Test) to ensure that messages Logged ↵Martin Ritchie2009-08-032-0/+478
| | | | | | occur as expected. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800354 13f79535-47bb-0310-9956-ffa450edef68
* added back another missing excludeRafael H. Schloming2009-07-301-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@799239 13f79535-47bb-0310-9956-ffa450edef68
* Remove implementation details from broker future diagram and make it into a ↵Aidan Skinner2009-07-293-0/+0
| | | | | | common one. Do some tweaking of the 0.5 broker diagram. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@798954 13f79535-47bb-0310-9956-ffa450edef68