summaryrefslogtreecommitdiff
path: root/java/management/eclipse-plugin/src
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
commitbeebd5fd192901cac31c7a58992bbb40f1ad2b9f (patch)
tree954359d89599e686123a771bbe35d313702efb6b /java/management/eclipse-plugin/src
parenta89ff937607b452a1b890861700eea08e08e7724 (diff)
downloadqpid-python-beebd5fd192901cac31c7a58992bbb40f1ad2b9f.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/qpid@686722 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/management/eclipse-plugin/src')
-rw-r--r--java/management/eclipse-plugin/src/test/java/org/apache/qpid/management/ui/ManagementConsoleTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/java/management/eclipse-plugin/src/test/java/org/apache/qpid/management/ui/ManagementConsoleTest.java b/java/management/eclipse-plugin/src/test/java/org/apache/qpid/management/ui/ManagementConsoleTest.java
index fb616e2b59..11ab6af064 100644
--- a/java/management/eclipse-plugin/src/test/java/org/apache/qpid/management/ui/ManagementConsoleTest.java
+++ b/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