Author: rajith
Date: Tue Jul  6 02:38:42 2010
New Revision: 960766

URL: http://svn.apache.org/viewvc?rev=960766&view=rev
Log:
Fixed a compile error.
The testTopicBindings() was defined twice in this class, possibly an error when 
applying the patch.

Modified:
    
qpid/trunk/qpid/java/broker/src/test/java/org/apache/qpid/server/exchange/ExchangeMBeanTest.java

Modified: 
qpid/trunk/qpid/java/broker/src/test/java/org/apache/qpid/server/exchange/ExchangeMBeanTest.java
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/java/broker/src/test/java/org/apache/qpid/server/exchange/ExchangeMBeanTest.java?rev=960766&r1=960765&r2=960766&view=diff
==============================================================================
--- 
qpid/trunk/qpid/java/broker/src/test/java/org/apache/qpid/server/exchange/ExchangeMBeanTest.java
 (original)
+++ 
qpid/trunk/qpid/java/broker/src/test/java/org/apache/qpid/server/exchange/ExchangeMBeanTest.java
 Tue Jul  6 02:38:42 2010
@@ -129,32 +129,6 @@ public class ExchangeMBeanTest  extends 
     }
     
     /**
-     * Test adding bindings and removing them from the topic exchange via JMX.
-     * <p>
-     * QPID-2700
-     */
-    public void testTopicBindings() throws Exception
-    {
-        int bindings = _queue.getBindingCount();
-        
-        Exchange exchange = 
_queue.getVirtualHost().getExchangeRegistry().getExchange(new 
AMQShortString("amq.topic"));
-        ManagedExchange mbean = (ManagedExchange) ((AbstractExchange) 
exchange).getManagedObject();
-        
-        mbean.createNewBinding(_queue.getName(), "robot.#");
-        mbean.createNewBinding(_queue.getName(), "#.kitten");
-
-        assertEquals("Should have added two bindings", bindings + 2, 
_queue.getBindingCount());
-        
-        mbean.removeBinding(_queue.getName(), "robot.#");
-
-        assertEquals("Should have one extra binding", bindings + 1, 
_queue.getBindingCount());
-        
-        mbean.removeBinding(_queue.getName(), "#.kitten");
-
-        assertEquals("Should have original number of binding", bindings, 
_queue.getBindingCount());
-    }
-    
-    /**
      * Test adding bindings and removing them from the default exchange via 
JMX.
      * <p>
      * QPID-2700



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to