activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r365890 - /incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/filter/DestinationMapTest.java
Date Wed, 04 Jan 2006 10:53:19 GMT
Author: jstrachan
Date: Wed Jan  4 02:53:14 2006
New Revision: 365890

URL: http://svn.apache.org/viewcvs?rev=365890&view=rev
Log:
added more edge cases to the DestinationMap test case 

Modified:
    incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/filter/DestinationMapTest.java

Modified: incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/filter/DestinationMapTest.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/filter/DestinationMapTest.java?rev=365890&r1=365889&r2=365890&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/filter/DestinationMapTest.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/filter/DestinationMapTest.java
Wed Jan  4 02:53:14 2006
@@ -181,6 +181,9 @@
 
         assertMapValue("TEST.*", v1, v2);
         assertMapValue("TEST.*.*", v2, v3, v4, v5, v6);
+        assertMapValue("TEST.*.>", v1, v2, v3, v4, v5, v6);
+        assertMapValue("TEST.>", v1, v2, v3, v4, v5, v6);
+        assertMapValue("TEST.>.>", v1, v2, v3, v4, v5, v6);
         assertMapValue("*.*.D3", v2, v3, v5);
         assertMapValue("TEST.BAR.*", v2, v5, v6);
 
@@ -337,6 +340,10 @@
 
     protected void assertMapValue(String destinationName, Object expected1, Object expected2,
Object expected3, Object expected4, Object expected5) {
         assertMapValue(destinationName, Arrays.asList(new Object[] { expected1, expected2,
expected3, expected4, expected5 }));
+    }
+    
+    protected void assertMapValue(String destinationName, Object expected1, Object expected2,
Object expected3, Object expected4, Object expected5, Object expected6) {
+        assertMapValue(destinationName, Arrays.asList(new Object[] { expected1, expected2,
expected3, expected4, expected5, expected6 }));
     }
 
     protected void assertMapValue(ActiveMQDestination destination, Object expected) {



Mime
View raw message