summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2010-07-06 02:38:42 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2010-07-06 02:38:42 +0000
commitf9e9afa4fc2eeb27ff3bdbfc367c33a8e7efa093 (patch)
tree69e9720779bce2fb91f734a4e4893d6a96819368
parent6a514cafcd5d7e558a8038b7d73ab54b6f94447e (diff)
downloadqpid-python-f9e9afa4fc2eeb27ff3bdbfc367c33a8e7efa093.tar.gz
Fixed a compile error.
The testTopicBindings() was defined twice in this class, possibly an error when applying the patch. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960766 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/broker/src/test/java/org/apache/qpid/server/exchange/ExchangeMBeanTest.java26
1 files changed, 0 insertions, 26 deletions
diff --git a/java/broker/src/test/java/org/apache/qpid/server/exchange/ExchangeMBeanTest.java b/java/broker/src/test/java/org/apache/qpid/server/exchange/ExchangeMBeanTest.java
index b51c88680e..71e92b5294 100644
--- a/java/broker/src/test/java/org/apache/qpid/server/exchange/ExchangeMBeanTest.java
+++ b/java/broker/src/test/java/org/apache/qpid/server/exchange/ExchangeMBeanTest.java
@@ -129,32 +129,6 @@ public class ExchangeMBeanTest extends InternalBrokerBaseCase
}
/**
- * 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