mirror of https://github.com/apache/activemq.git
failed attempt at replicating AMQ-715 which at least adds a few more test cases
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@408638 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9d0ca025fa
commit
c172b50ccc
|
@ -85,6 +85,8 @@ public class SelectorTest extends TestCase {
|
|||
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 @@ public class SelectorTest extends TestCase {
|
|||
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 @@ public class SelectorTest extends TestCase {
|
|||
message.setStringProperty("punctuation", "!#$&()*+,-./:;<=>?@[\\]^`{|}~");
|
||||
message.setBooleanProperty("trueProp", true);
|
||||
message.setBooleanProperty("falseProp", false);
|
||||
|
||||
return message;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue