summaryrefslogtreecommitdiff
path: root/java/systests/build.xml
Commit message (Collapse)AuthorAgeFilesLines
* synchronized with trunk except for ruby dirRafael H. Schloming2009-12-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid.rnr@893970 13f79535-47bb-0310-9956-ffa450edef68
* QPID-940,QPID-594,QPID-805,QPID-826 : Updated the client exception handling ↵Martin Ritchie2008-07-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | so that exceptions are not lost. In performing the changes I noted that the AMQStateManager is only used for connection creation in the 08/09 codepath. Now this may be due to the fact that we don't currently need to wait on any other states. We need to improve our testing of error conditions for all protcol versions. Changes Summary: The MethodHandlers had their AMQStateManager parameters swapped for AMQSession as that is what they all cared about. The BlockingMethodFrameListener was used as a basis to create a generic BlockingWaiter which is now used by StateWaiter, There is probably scope to refactor the AMQStateManager and the parts of the AMQProtocolHandler that deal with the _frameListeners into a generic class but that can be looked at as part of a wider client refactor. Additionally tests were updated such as SimpleACLTest and ConnectionTest as they were expecting JMSExceptions from the constructor but the JMS API does not demand that and AMQExceptions are now correctly being thrown. The SimpleACLTest also required a change to AMQSession. The test calls send which will cause the connection to be closed asynchrously due to a permission violation. As this exception is not expected and is asynchorous to the client code it cannot be directly thrown. The solution is to record this exception in the AMQStateManager, it can tell that there are no waiters for the exception so it can record the value.(Potential exists to alert if the exception is overwritten but I don't think this is required right now) When the AMQSession checks that the connection is closed it is then possible to check if the current State is CLOSED and if we have an exception sitting in the AMQStateManager. If all these are true we can attach the AMQStateManager exception to the IllegalState Exception that is normally thrown when the Session is closed. This maintains JMS Compliance and allows us to discover the cause of the failure, SimpleACLTest was updated by removing the IllegalState catch section that was causing the test to silently fail. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@676978 13f79535-47bb-0310-9956-ffa450edef68
* Removed SimpleACLTest from the build whilst we resolve the client exception ↵Martin Ritchie2008-07-041-1/+1
| | | | | | handling problems causing the failure git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@673947 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1037: removed manual setting of the module.name property as it is set ↵Rafael H. Schloming2008-05-121-1/+0
| | | | | | automatically by the build scripts git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1037: Added module name prop and an exclude.modules prop + switch ↵Arnaud Simon2008-05-081-0/+1
| | | | | | systests off in cpp profiles. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@654505 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1004: As this test does not extend QpidTestCase we need to exclude it ↵Arnaud Simon2008-05-081-1/+1
| | | | | | from the build.xml. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@654464 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1003: added excludes for framework test classesRafael H. Schloming2008-05-011-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@652705 13f79535-47bb-0310-9956-ffa450edef68
* QPID-993: added an osgi manifest to broker-plugins jarRafael H. Schloming2008-05-011-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@652672 13f79535-47bb-0310-9956-ffa450edef68
* QPID-832 make systests runAidan Skinner2008-04-241-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@651301 13f79535-47bb-0310-9956-ffa450edef68
* QPID-832 merge M2.xAidan Skinner2008-04-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@651133 13f79535-47bb-0310-9956-ffa450edef68
* ant build systemRafael H. Schloming2008-02-011-0/+27
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@617320 13f79535-47bb-0310-9956-ffa450edef68