qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgodf...@apache.org
Subject svn commit: r1489040 - /qpid/trunk/qpid/java/broker/src/test/java/org/apache/qpid/server/store/MessageStoreTest.java
Date Mon, 03 Jun 2013 15:49:01 GMT
Author: rgodfrey
Date: Mon Jun  3 15:49:01 2013
New Revision: 1489040

URL: http://svn.apache.org/r1489040
Log:
QPID-4904 : [Java] AMQShortString.equals should only return true if it is being compared to
another AMQShortString

Modified:
    qpid/trunk/qpid/java/broker/src/test/java/org/apache/qpid/server/store/MessageStoreTest.java

Modified: qpid/trunk/qpid/java/broker/src/test/java/org/apache/qpid/server/store/MessageStoreTest.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/broker/src/test/java/org/apache/qpid/server/store/MessageStoreTest.java?rev=1489040&r1=1489039&r2=1489040&view=diff
==============================================================================
--- qpid/trunk/qpid/java/broker/src/test/java/org/apache/qpid/server/store/MessageStoreTest.java
(original)
+++ qpid/trunk/qpid/java/broker/src/test/java/org/apache/qpid/server/store/MessageStoreTest.java
Mon Jun  3 15:49:01 2013
@@ -519,9 +519,9 @@ public class MessageStoreTest extends Qp
         if (useSelectors)
         {
             assertTrue("Binding does not contain a Selector argument.",
-                    binding.getArguments().containsKey(AMQPFilterTypes.JMS_SELECTOR.getValue()));
+                    binding.getArguments().containsKey(AMQPFilterTypes.JMS_SELECTOR.toString()));
             assertEquals("The binding selector argument is incorrect", SELECTOR_VALUE,
-                    binding.getArguments().get(AMQPFilterTypes.JMS_SELECTOR.getValue()).toString());
+                    binding.getArguments().get(AMQPFilterTypes.JMS_SELECTOR.toString()).toString());
         }
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message