activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r408638 - /incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/selector/SelectorTest.java
Date Mon, 22 May 2006 10:51:39 GMT
Author: jstrachan
Date: Mon May 22 03:51:39 2006
New Revision: 408638

URL: http://svn.apache.org/viewvc?rev=408638&view=rev
Log:
failed attempt at replicating AMQ-715 which at least adds a few more test cases

Modified:
    incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/selector/SelectorTest.java

Modified: incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/selector/SelectorTest.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/selector/SelectorTest.java?rev=408638&r1=408637&r2=408638&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/selector/SelectorTest.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/selector/SelectorTest.java
Mon May 22 03:51:39 2006
@@ -85,6 +85,8 @@
         Message message = createMessage();
         assertSelector(message, "byteProp = 123", true);
         assertSelector(message, "byteProp = 10", false);
+        assertSelector(message, "byteProp2 = 33", true);
+        assertSelector(message, "byteProp2 = 10", false);
 
         assertSelector(message, "shortProp = 123", true);
         assertSelector(message, "shortProp = 10", false);
@@ -324,6 +326,7 @@
         message.setObjectProperty("location", "London");
         
         message.setByteProperty("byteProp", (byte)123);
+        message.setByteProperty("byteProp2", (byte) 33);
         message.setShortProperty("shortProp", (short)123);
         message.setIntProperty("intProp", (int)123);
         message.setLongProperty("longProp", (long)123);
@@ -337,7 +340,6 @@
         message.setStringProperty("punctuation", "!#$&()*+,-./:;<=>?@[\\]^`{|}~");
         message.setBooleanProperty("trueProp", true);
         message.setBooleanProperty("falseProp", false);
-
         return message;
     }
 



Mime
View raw message