summaryrefslogtreecommitdiff
path: root/java/client
Commit message (Collapse)AuthorAgeFilesLines
* Changed JMSReplyTo Queue to test temporary queue values to verify QPID-149Martin Ritchie2006-12-041-2/+16
| | | | | | Worked ok. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@482243 13f79535-47bb-0310-9956-ffa450edef68
* QPID-148Martin Ritchie2006-12-042-183/+348
| | | | | | | | | | | | | | | AMQMinaProtocolSession.java - updated comment AbstractJMSMessage.java - removed a lot of getHeaders() == null checks. Updated logic accordingly.. Now a request for a property that doesn't exist will be consistent with calls on an empty table rather than just creating a default value. BasicContentHeaderProperties.java - the culprit for QPID-148 changed new FieldTable() to setHeaders(new FieldTable()) to ensure propertyFlag is set to write headers to the wire. Added PropertyValueTest.java - that tests all the valid values on the Message. *NOTE*: A number of the tests are commented out as AMQP and therefore the FieldTable do not support these values. QPID-9 Added SVN ignores for the target directories. Updated AbstractJMSMessage.java _readableProperties to be set correctly in the constructor. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@482238 13f79535-47bb-0310-9956-ffa450edef68
* FieldTable.java no longer has a keys() method as it already has a keySet(). ↵Martin Ritchie2006-11-301-6/+16
| | | | | | Plus the implementation was broken. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480973 13f79535-47bb-0310-9956-ffa450edef68
* QPID-122Martin Ritchie2006-11-289-72/+263
| | | | | | | | | | Pulled _readable (_readableMessage) boolean up to AbstractJMSMessage.java and created (_readableProperties). Checks are now carried out to ensure that the message is readable/writable for the operation so that the correct exception can be thrown. As per the spec. clearBody() method had been implemented in AbstractJMSMessage.java to reset the _readableMessage as a result implementations must now implement clearBodyImpl() which is called before the _readableMessage is reset. Test updated to check that properties and body are correctly read/write set. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480119 13f79535-47bb-0310-9956-ffa450edef68
* Redundant files removedMarnie McCormack2006-11-283-297/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480090 13f79535-47bb-0310-9956-ffa450edef68
* Further example tidy upMarnie McCormack2006-11-284-48/+91
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480089 13f79535-47bb-0310-9956-ffa450edef68
* Further example tidy upMarnie McCormack2006-11-284-39/+44
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480088 13f79535-47bb-0310-9956-ffa450edef68
* QPID-71Martin Ritchie2006-11-281-10/+43
| | | | | | Update to handle bad characters after port value. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480032 13f79535-47bb-0310-9956-ffa450edef68
* QPID-71Martin Ritchie2006-11-282-34/+93
| | | | | | | Moved some tests from ConnectionURLTest to BrokerDetailsTest to better reflect the actual class being tested. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480031 13f79535-47bb-0310-9956-ffa450edef68
* Changes for JMS TCK TestingRajith Muditha Attapattu2006-11-274-3/+217
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@479640 13f79535-47bb-0310-9956-ffa450edef68
* Fixed the situation where a closed session could try and close itself more ↵Martin Ritchie2006-11-271-20/+28
| | | | | | than once. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@479560 13f79535-47bb-0310-9956-ffa450edef68
* properly limit scope for test-only dependenciesStephen Vinoski2006-11-241-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@479050 13f79535-47bb-0310-9956-ffa450edef68
* Initial example class overhaul - still some way to go.Marnie McCormack2006-11-2420-365/+293
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478854 13f79535-47bb-0310-9956-ffa450edef68
* Added example.properties file and amended tests to use for ↵Marnie McCormack2006-11-242-10/+76
| | | | | | PropertiesFileInitialContextFactoryTest. Good example (I hope) for users. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478822 13f79535-47bb-0310-9956-ffa450edef68
* speed up testStephen Vinoski2006-11-231-7/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478444 13f79535-47bb-0310-9956-ffa450edef68
* Fix for Java TCK using createTopicConnection(username,password)Martin Ritchie2006-11-231-4/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478413 13f79535-47bb-0310-9956-ffa450edef68
* client/pom.xml - removed TransactedTest.java from exclude Listener.javaMartin Ritchie2006-11-222-2/+1
| | | | | | TransactedTest.java - fixed naming of setup to setUp git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478380 13f79535-47bb-0310-9956-ffa450edef68
* * use VMBrokerSetup test helper class where appropriateStephen Vinoski2006-11-223-14/+12
| | | | | | | * change notifyAll() to notify() in MultipleConnectionTest.java git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478343 13f79535-47bb-0310-9956-ffa450edef68
* [Text|Object]MessageTest.java - added tests that will fail as per QPID-122 ↵Martin Ritchie2006-11-222-19/+19
| | | | | | but commented them out! So mvn passes all tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478266 13f79535-47bb-0310-9956-ffa450edef68
* QPID-119Martin Ritchie2006-11-2217-34/+1008
| | | | | | | | | | | | | | | | | | | Creations: JMSMapMessageFactory.java JMSMapMessage.java MapMessageTest.java for both Object functionality and functionality being sent around. Modifications: AbstractJMSMessage.java - fixed propertyExists() Method not very elegant but when re-factored to use an AMQHeaderPropertyFieldTable it will be better. made setObjectProperty throw RuntimeException as to highlight that it implemented. removed duplicate code in checkPropertyName JMS[Bytes|Object]Message/Factory.java - swapped parameter headers around to match the order in AbstractJMSMessage.java for consistency. TestMessageHelper.java/MessageFactoryRegistry.java - added MapMessage type BytesMessageTest.java - Added tests for read and writeability of message. FieldTableMessageTest.java - Tidied imports [Text|Object]MessageTest.java - added tests that will fail as per QPID-122 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478253 13f79535-47bb-0310-9956-ffa450edef68
* QPID-108: remove obsolete ant build filesStephen Vinoski2006-11-223-381/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478023 13f79535-47bb-0310-9956-ffa450edef68
* broker/pom.xml - removed test scope from junit to remove warning in build log.Martin Ritchie2006-11-203-103/+103
| | | | | | | | | | | | | | TransportConnection.java/AMQQueue.java - change log level on a print statement from warn to info log4j.properties - updated threashold to be 'all' so we can set the logging level with amqj.logging.level client/pom.xml - fixed mvn test run output. It wasn't using our log4.properties file. systests/pom.xml - added log4j.properties configuration broker/pom.xml - added log4j.properties configuration common/pom.xml - skipped tests as there are none, and it caused the build to fail Also adjusted spaceing to be 4 space per tab (and no tabs) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@477214 13f79535-47bb-0310-9956-ffa450edef68
* convert tests to junit3Stephen Vinoski2006-11-1943-1677/+1083
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@476701 13f79535-47bb-0310-9956-ffa450edef68
* complete bringing initial maven work to trunkStephen Vinoski2006-11-1811-53/+208
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@476431 13f79535-47bb-0310-9956-ffa450edef68
* directory moves required for maven mergeStephen Vinoski2006-11-18224-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@476414 13f79535-47bb-0310-9956-ffa450edef68
* QPID-92 fixed outstanding mina 1.1.0 build issuesMartin Ritchie2006-11-152-12/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@475303 13f79535-47bb-0310-9956-ffa450edef68
* QPID-92 Changes to bring MINA use up to MINA-Head (1.1.0) compatibility Martin Ritchie2006-11-157-44/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@475286 13f79535-47bb-0310-9956-ffa450edef68
* * added top-level systests directory for non-unit testsStephen Vinoski2006-11-122-238/+1
| | | | | | | | * moved some tests into systests to eliminate dependencies between test subdirectories (required for maven) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@473889 13f79535-47bb-0310-9956-ffa450edef68
* update Apache licenses to the current versionStephen Vinoski2006-11-10245-2898/+3965
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@473568 13f79535-47bb-0310-9956-ffa450edef68
* Fixed ant error due to lack of fscontext jarMartin Ritchie2006-11-101-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@473356 13f79535-47bb-0310-9956-ffa450edef68
* Added licenses for jython and jms cts and removed fscontext jars, updated to ↵Marnie McCormack2006-11-103-0/+40
| | | | | | notice.txt git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@473296 13f79535-47bb-0310-9956-ffa450edef68
* Shutdown invm broker after connections are closed.Gordon Sim2006-11-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@473280 13f79535-47bb-0310-9956-ffa450edef68
* Updated propertiesStephen Vinoski2006-11-095-426/+426
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@473072 13f79535-47bb-0310-9956-ffa450edef68
* QPID-73 Removed jboss/jbossall-client.jar as the base64 decoding appears to ↵Steven Shaw2006-11-081-0/+0
| | | | | | have been the last remaining dependency on it. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472592 13f79535-47bb-0310-9956-ffa450edef68
* QPID-73 Updated FieldTableTest to no longer use the Base64 decoder included ↵Steven Shaw2006-11-081-9/+4
| | | | | | in jboss-all-client.jar. Instead it uses the one from commons-codec. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472588 13f79535-47bb-0310-9956-ffa450edef68
* QPID-74 Replaced the Sun jms.jar with geronimo-spec-jms-1.1-rc4.jarSteven Shaw2006-11-083-238/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472573 13f79535-47bb-0310-9956-ffa450edef68
* QPID-72 Set module.dist back to false. We no longer want client-test module ↵Steven Shaw2006-11-081-1/+1
| | | | | | to be part of the binary distribution. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472513 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: ↵Martin Ritchie2006-11-082-2/+2
| | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472504 13f79535-47bb-0310-9956-ffa450edef68
* MultipleConnectionTest.java needed a longer time out.Martin Ritchie2006-11-084-10/+13
| | | | | | JNDI URL was missing file:// git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472500 13f79535-47bb-0310-9956-ffa450edef68
* Proper fix for timing out testsMartin Ritchie2006-11-082-14/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472498 13f79535-47bb-0310-9956-ffa450edef68
* Fix for timing out ObjectMessageTest.java testMartin Ritchie2006-11-081-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472495 13f79535-47bb-0310-9956-ffa450edef68
* Fixed last few issues with the unit tests.Martin Ritchie2006-11-088-18/+109
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472492 13f79535-47bb-0310-9956-ffa450edef68
* Removed erroneous importMartin Ritchie2006-11-081-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472485 13f79535-47bb-0310-9956-ffa450edef68
* Removed duplicate JNDI test updated @Ignore-s on a few failing tests.Martin Ritchie2006-11-088-662/+168
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472484 13f79535-47bb-0310-9956-ffa450edef68
* Made the temp. directory contain currentMillis to reduce Permission errorsMartin Ritchie2006-11-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472471 13f79535-47bb-0310-9956-ffa450edef68
* Removed two two old importsMartin Ritchie2006-11-081-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472465 13f79535-47bb-0310-9956-ffa450edef68
* Updated to work with new test classes. Will run all *Test.java files (But ↵Martin Ritchie2006-11-081-4/+20
| | | | | | not *UnitTest.java) in the test/unit package git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472461 13f79535-47bb-0310-9956-ffa450edef68
* Moved Unit test to test/unit package.Martin Ritchie2006-11-0852-2265/+1537
| | | | | | Added TestMessageHelper.java to allow access to package only methods whilst keeping test in the correct package. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472458 13f79535-47bb-0310-9956-ffa450edef68
* Set AutoCreateInVMBroker to false.Martin Ritchie2006-11-072-17/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472173 13f79535-47bb-0310-9956-ffa450edef68
* Corrected VMBroker Creation and clean up per testMartin Ritchie2006-11-0718-110/+462
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472159 13f79535-47bb-0310-9956-ffa450edef68