summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gazzarini <agazzarini@apache.org>2009-01-23 20:42:28 +0000
committerAndrea Gazzarini <agazzarini@apache.org>2009-01-23 20:42:28 +0000
commit8bd65e53fefec5f465ff8d12d070bd4a51e498dd (patch)
treef2397746d6faea8a69a042fd3059184cab7e1203
parent450e445391070965dc2d0b76dae89e6de6752dea (diff)
downloadqpid-python-8bd65e53fefec5f465ff8d12d070bd4a51e498dd.tar.gz
QPID-1579 : Removed old test case class
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@737181 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/management/client/src/test/java/org/apache/qpid/management/online/BaseOnlineTestCase.java58
1 files changed, 0 insertions, 58 deletions
diff --git a/java/management/client/src/test/java/org/apache/qpid/management/online/BaseOnlineTestCase.java b/java/management/client/src/test/java/org/apache/qpid/management/online/BaseOnlineTestCase.java
deleted file mode 100644
index 82a7a1698c..0000000000
--- a/java/management/client/src/test/java/org/apache/qpid/management/online/BaseOnlineTestCase.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-package org.apache.qpid.management.online;
-
-import javax.management.MBeanServerConnection;
-import javax.management.remote.JMXConnector;
-import javax.management.remote.JMXConnectorFactory;
-import javax.management.remote.JMXServiceURL;
-
-import junit.framework.TestCase;
-
-/**
- * Layer supertype for all online QMan test cases.
- * Note that QMan must be running and up in order to run concrete subclasses (test cases).
- *
- * @author AGazzarini
- */
-public abstract class BaseOnlineTestCase extends TestCase
-{
- protected MBeanServerConnection connection;
-
- /**
- * Setup fixture for this test case.
- * Basically it estabilishes a connection to QMan using RMI JMX connector.
- */
- @Override
- protected void setUp ()
- {
- try
- {
- JMXServiceURL url = new JMXServiceURL("service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi");
- JMXConnector jmxc = JMXConnectorFactory.connect(url);
- connection = jmxc.getMBeanServerConnection();
- } catch(Exception exception)
- {
- fail("QMan must be running and up in order to run this test!");
- exception.printStackTrace();
- }
- }
-}