[hornetq-commits] JBoss hornetq SVN: r8954 - trunk/tests/src/org/hornetq/tests/unit/core/deployers/impl.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Mar 24 09:55:00 EDT 2010


Author: ataylor
Date: 2010-03-24 09:54:59 -0400 (Wed, 24 Mar 2010)
New Revision: 8954

Modified:
   trunk/tests/src/org/hornetq/tests/unit/core/deployers/impl/QueueDeployerTest.java
Log:
fixed test

Modified: trunk/tests/src/org/hornetq/tests/unit/core/deployers/impl/QueueDeployerTest.java
===================================================================
--- trunk/tests/src/org/hornetq/tests/unit/core/deployers/impl/QueueDeployerTest.java	2010-03-24 13:28:09 UTC (rev 8953)
+++ trunk/tests/src/org/hornetq/tests/unit/core/deployers/impl/QueueDeployerTest.java	2010-03-24 13:54:59 UTC (rev 8954)
@@ -15,6 +15,7 @@
 
 import java.util.ArrayList;
 import java.util.List;
+import java.util.Set;
 
 import junit.framework.Assert;
 
@@ -24,6 +25,8 @@
 import org.hornetq.core.config.CoreQueueConfiguration;
 import org.hornetq.core.deployers.DeploymentManager;
 import org.hornetq.core.deployers.impl.QueueDeployer;
+import org.hornetq.core.security.Role;
+import org.hornetq.core.settings.impl.AddressSettings;
 import org.hornetq.tests.util.UnitTestCase;
 import org.w3c.dom.Element;
 import org.w3c.dom.NodeList;
@@ -576,7 +579,12 @@
       public void removeSecuritySettings(String addressMatch) throws Exception
       {
       }
-      
+
+      public Set<Role> getSecuritySettings(String addressMatch) throws Exception
+      {
+         return null;
+      }
+
       public Object[] getRoles(String addressMatch) throws Exception
       {
          return null;
@@ -587,9 +595,24 @@
          return null;
       }
 
+      public void addAddressSettings(@Parameter(desc = "an address match", name = "addressMatch") String addressMatch, @Parameter(desc = "the dead letter address setting", name = "DLA") String DLA, @Parameter(desc = "the expiry address setting", name = "expiryAddress") String expiryAddress, @Parameter(desc = "are any queues created for this address a last value queue", name = "lastValueQueue") boolean lastValueQueue, @Parameter(desc = "the delivery attempts", name = "deliveryAttempts") int deliveryAttempts, @Parameter(desc = "the max size in bytes", name = "maxSizeBytes") long maxSizeBytes, @Parameter(desc = "the page size in bytes", name = "pageSizeBytes") int pageSizeBytes, @Parameter(desc = "the redelivery delay", name = "redeliveryDelay") long redeliveryDelay, @Parameter(desc = "the redistribution delay", name = "redistributionDelay") long redistributionDelay, @Parameter(desc = "do we send to the DLA when there is no where to route the message", name = "sendToDLAOnNoRou!
 te") boolean sendToDLAOnNoRoute, @Parameter(desc = "the ploicy to use when the address is full", name = "addressFullMessagePolicy") String addressFullMessagePolicy) throws Exception
+      {
+
+      }
+
+      public AddressSettings getAddressSettings(String address)
+      {
+         return null;
+      }
+
+      public void removeAddressSettings(String addressMatch)
+      {
+
+      }
+
       public String getAddressSettingsAsJSON(@Parameter(desc = "an address match", name = "addressMatch") String addressMatch) throws Exception
       {
-         return null;  //To change body of implemented methods use File | Settings | File Templates.
+         return null;  
       }
    }
 



More information about the hornetq-commits mailing list