summaryrefslogtreecommitdiff
path: root/java/client/test
Commit message (Collapse)AuthorAgeFilesLines
* TransactedTest.java - Added Logging around the setup.Martin Ritchie2006-11-071-3/+3
| | | | | | Added a sleep after VM Broker creation to allow broker to startup. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472073 13f79535-47bb-0310-9956-ffa450edef68
* Added new test classes to unit testsMarnie McCormack2006-11-071-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472064 13f79535-47bb-0310-9956-ffa450edef68
* Tests for changes around QueueSession and TopicSession as per QPID-66Marnie McCormack2006-11-071-0/+121
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472062 13f79535-47bb-0310-9956-ffa450edef68
* Comment tidy upMarnie McCormack2006-11-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472044 13f79535-47bb-0310-9956-ffa450edef68
* Added cleanup of invm brokerMarnie McCormack2006-11-071-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472042 13f79535-47bb-0310-9956-ffa450edef68
* Added tests for QueueReceiver create methods to check for ClassCastException ↵Marnie McCormack2006-11-071-2/+21
| | | | | | etc. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472039 13f79535-47bb-0310-9956-ffa450edef68
* Initial test for AMQSession changes from QPID-66Marnie McCormack2006-11-031-0/+86
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@470818 13f79535-47bb-0310-9956-ffa450edef68
* Test corrected to handle colons appropriatelyMarnie McCormack2006-11-021-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@470382 13f79535-47bb-0310-9956-ffa450edef68
* Added TestAMQProtocolSession to test suite for client for QPID-4Marnie McCormack2006-11-021-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@470340 13f79535-47bb-0310-9956-ffa450edef68
* Test classes for QPID-4 changes to AMQProtocolSession.generateQueueNameMarnie McCormack2006-11-022-0/+210
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@470337 13f79535-47bb-0310-9956-ffa450edef68
* JNDIReferenceableTest.java - removed unused importMartin Ritchie2006-11-015-6/+4
| | | | | | | referenceabletest/UnitTests.java - was not running referenceabletest Unit Tests but destinationurl tests. VmRequestReply.java,DurableSubscriptionTest.java,TransactedTest.java - Added InVM Exception to failure assertions. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469807 13f79535-47bb-0310-9956-ffa450edef68
* Additions to build system to cause junit to produce a reportMartin Ritchie2006-10-311-17/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469504 13f79535-47bb-0310-9956-ffa450edef68
* Additions to build system to cause junit to produce a reportMartin Ritchie2006-10-311-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469491 13f79535-47bb-0310-9956-ffa450edef68
* Added stacktrace on failureMartin Ritchie2006-10-311-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469478 13f79535-47bb-0310-9956-ffa450edef68
* Updated to programmatically set QPID_WORK for logging, to stop failed buildsMartin Ritchie2006-10-312-2/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469470 13f79535-47bb-0310-9956-ffa450edef68
* Added a sleep to give the VM broker time to create queues.Martin Ritchie2006-10-311-25/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469463 13f79535-47bb-0310-9956-ffa450edef68
* Removed duplicate log4j classes. Jboss jar included old ones that are notGordon Sim2006-10-261-0/+0
| | | | | | | | compatible with latest code. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@468070 13f79535-47bb-0310-9956-ffa450edef68
* Resolution to QPID-23Martin Ritchie2006-10-201-0/+110
| | | | | | | | | | | Added Simple JNDI SPI Class that uses a PropertiesFile to create a ContextFactory for use with in JNDI. Added a unit test to test using properties file to get correct objects from JNDI lookup. Modifed AMQHeadersExchange.java to allow creation from a BindingURL. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@466076 13f79535-47bb-0310-9956-ffa450edef68
* Further fixes and some extra tests for transactions.Gordon Sim2006-10-191-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@465549 13f79535-47bb-0310-9956-ffa450edef68
* QPID-36 Added high/low water mark to DUPS_OK_ACKNOWLEDGE.Martin Ritchie2006-10-181-4/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@465166 13f79535-47bb-0310-9956-ffa450edef68
* Implemented Client side high/low water mark prefetching for NO_ACK.Martin Ritchie2006-10-171-1/+1
| | | | | | Use of single prefetch should be unaffected. Setting the high and low to be the same. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@464950 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to transaction handling.Gordon Sim2006-10-172-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This line, and those below, will be ignored-- M java/broker/test/src/org/apache/qpid/server/UnitTests.java M java/broker/test/src/org/apache/qpid/server/queue/DeliveryManagerTest.java A java/broker/test/src/org/apache/qpid/server/txn AM java/broker/test/src/org/apache/qpid/server/txn/UnitTests.java AM java/broker/test/src/org/apache/qpid/server/txn/TxnBufferTest.java M java/broker/test/src/org/apache/qpid/server/util/UnitTests.java AM java/broker/test/src/org/apache/qpid/server/util/OrderedMapHelperTest.java M java/broker/src/org/apache/qpid/server/queue/SubscriptionImpl.java M java/broker/src/org/apache/qpid/server/queue/DeliveryManager.java AM java/broker/src/org/apache/qpid/server/queue/FailedDequeueException.java M java/broker/src/org/apache/qpid/server/queue/AMQMessage.java M java/broker/src/org/apache/qpid/server/queue/AMQQueue.java M java/broker/src/org/apache/qpid/server/queue/Subscription.java M java/broker/src/org/apache/qpid/server/queue/NoConsumersException.java M java/broker/src/org/apache/qpid/server/AMQChannel.java M java/broker/src/org/apache/qpid/server/txn/TxnBuffer.java M java/broker/src/org/apache/qpid/server/txn/TxnOp.java AM java/broker/src/org/apache/qpid/server/util/OrderedMapHelper.java M java/broker/src/org/apache/qpid/server/handler/TxCommitHandler.java AM java/client/test/src/org/apache/qpid/transacted/UnitTests.java M java/client/test/src/org/apache/qpid/client/AllClientUnitTests.java git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@464867 13f79535-47bb-0310-9956-ffa450edef68
* Added Sun FSContext to client-test libMartin Ritchie2006-10-138-32/+100
| | | | | | Updated referenceabletest files to use the temporary directory reported by the System.properties. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463671 13f79535-47bb-0310-9956-ffa450edef68
* Moved AMQVMBrokerCreationException into correct package.Robert Greig2006-10-124-6/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463410 13f79535-47bb-0310-9956-ffa450edef68
* QPID-18. Removed unused experimental code that had direct dependencies on ↵Robert Greig2006-10-121-0/+5
| | | | | | MINA-0.9.5 and upgraded to MINA-1.1.0 snapshot. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463403 13f79535-47bb-0310-9956-ffa450edef68
* Fixed incorrect package on AMQVMBrokerCreationException (did not match ↵Robert Greig2006-10-128-26/+15
| | | | | | physical location). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463397 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2. JMSBytesMessage.readXXX methods now test the appropriate number of ↵Robert Greig2006-10-121-0/+204
| | | | | | bytes are available in the message and throw the appropriate exception if not. Unit test updated to check behaviour of readXXX methods. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463363 13f79535-47bb-0310-9956-ffa450edef68
* Fixed ack.RecoverTest and ack.DisconnectAndRedeliverTest. These were failing ↵Gordon Sim2006-10-122-7/+15
| | | | | | | | | | | | | | | due to a race condition where the consumers queue was not bound by the time the publisher sent messages. This is a result of the use of nowait=true for the declare/bind/consume cycle for a BasicMessageConsumer. To work around this in tests like these that have two connections, one consuming & one publishing, I added a declareExchangeSynch() method to AMQSession which allows a thread to block until the session it invokes that method on has processed all the commands up to that point. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463309 13f79535-47bb-0310-9956-ffa450edef68
* QPID-15 JUnit3 compatibility suite() method now uses correct Test class.Steven Shaw2006-10-062-11/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@453537 13f79535-47bb-0310-9956-ffa450edef68
* Added vm://:1 and localhost as JNDI values setup by the IBM Scripts.Martin Ritchie2006-10-034-30/+53
| | | | | | | Changed exception handling in JNDIBindConnectionFactory.java Added lookup(String) method to Lookup.java to allow use in other tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@452321 13f79535-47bb-0310-9956-ffa450edef68
* Changed IBM Unix scripts to have the correct path /tmp not c:/tempMartin Ritchie2006-09-275-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@450386 13f79535-47bb-0310-9956-ffa450edef68
* Changed default instance id to 1 to make getInstance simpler.Martin Ritchie2006-09-261-11/+10
| | | | | | Added ability to specify default ApplicationRegistry git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@449942 13f79535-47bb-0310-9956-ffa450edef68
* Fixed class cast problem and ensured that the correct application registry ↵Martin Ritchie2006-09-261-7/+14
| | | | | | was being retrieved in each of the tests. The getInstance() needs to know which instance is being used. In these tests (vm://:1) that instance 1. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@449934 13f79535-47bb-0310-9956-ffa450edef68
* Fixed old BLAZE_LIB RefernceMartin Ritchie2006-09-251-1/+2
| | | | | | Updated Setup to create a VMConnectionFactory git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@449720 13f79535-47bb-0310-9956-ffa450edef68
* Combined.java - removed ApplicationRegistry ReferenceMartin Ritchie2006-09-254-18/+36
| | | | | | | | | | VmPipeTransportConnection.java - moved in to client package. TransportConnection.java - updated imports JNDIBindConnectionFactory.java - forced inclusion of url. Updated JNDI Setup git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@449675 13f79535-47bb-0310-9956-ffa450edef68
* Removed VmOrRemoteTestCase.java and the testutil package.Martin Ritchie2006-09-2522-283/+509
| | | | | | | Updated all other tests to have correct connection URLs to allow inVM Broker usage. Added FailoverBrokerTester.java that starts up and kills VM Brokers. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@449646 13f79535-47bb-0310-9956-ffa450edef68
* Updated Performance tests to use "." rather than "/" i.e. ↵Martin Ritchie2006-09-2216-29/+34
| | | | | | "amq.ConnectionFactory" git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@448983 13f79535-47bb-0310-9956-ffa450edef68
* Removed logging outputMartin Ritchie2006-09-203-27/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@448242 13f79535-47bb-0310-9956-ffa450edef68
* Windows seems to ignore invalid file URLs should be file:// + path not ↵Martin Ritchie2006-09-203-6/+6
| | | | | | | | | | file:/ + path where path = c:/temp/ or /tmp note that under linux the java.io.temp property doesn't have a trailing / git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@448236 13f79535-47bb-0310-9956-ffa450edef68
* Added / to default JNDI name as under linux java.io.temp is '/tmp' but under ↵Martin Ritchie2006-09-203-5/+11
| | | | | | | | windows it is '.../Temp/' Queue and Topic fixed null pointer condition where _connection is not established. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@448234 13f79535-47bb-0310-9956-ffa450edef68
* Updated default location of JNDI FS context to be in java.io.tempMartin Ritchie2006-09-203-11/+111
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@448219 13f79535-47bb-0310-9956-ffa450edef68
* Import of qpid from etp:Rafael H. Schloming2006-09-19156-0/+89540
URL: https://etp.108.redhat.com/svn/etp/trunk/blaze Repository Root: https://etp.108.redhat.com/svn/etp Repository UUID: 06e15bec-b515-0410-bef0-cc27a458cf48 Revision: 608 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@447994 13f79535-47bb-0310-9956-ffa450edef68