summaryrefslogtreecommitdiff
path: root/qpid/java/management/eclipse-plugin/src/test
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2008-08-18 10:23:49 +0000
committerMartin Ritchie <ritchiem@apache.org>2008-08-18 10:23:49 +0000
commit44da73542614f9a853ff1e57efc8be9e2558761d (patch)
tree44288de4aaf703fc0702fcbdc240126a397ba711 /qpid/java/management/eclipse-plugin/src/test
parent289fa5870d89af4e4cb1b38fa0af37e739dbe421 (diff)
downloadqpid-python-44da73542614f9a853ff1e57efc8be9e2558761d.tar.gz
QPID-1226 : Last few changes to correctly shutdown all ApplicationRegistries on each test run
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@686722 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/management/eclipse-plugin/src/test')
-rw-r--r--qpid/java/management/eclipse-plugin/src/test/java/org/apache/qpid/management/ui/ManagementConsoleTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/qpid/java/management/eclipse-plugin/src/test/java/org/apache/qpid/management/ui/ManagementConsoleTest.java b/qpid/java/management/eclipse-plugin/src/test/java/org/apache/qpid/management/ui/ManagementConsoleTest.java
index fb616e2b59..11ab6af064 100644
--- a/qpid/java/management/eclipse-plugin/src/test/java/org/apache/qpid/management/ui/ManagementConsoleTest.java
+++ b/qpid/java/management/eclipse-plugin/src/test/java/org/apache/qpid/management/ui/ManagementConsoleTest.java
@@ -55,6 +55,12 @@ public class ManagementConsoleTest extends TestCase
_virtualHost = applicationRegistry.getVirtualHostRegistry().getVirtualHost("test");
}
+ @Override
+ protected void tearDown() throws Exception
+ {
+ ApplicationRegistry.removeAll();
+ }
+
/**
* Test for AMQQueueMBean attribute and operation names, which are used in the management console
* @throws Exception