[jboss-cvs] JBossAS SVN: r64334 - trunk/testsuite/src/main/org/jboss/test/jbossmessaging/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Jul 27 16:24:01 EDT 2007


Author: clebert.suconic at jboss.com
Date: 2007-07-27 16:24:01 -0400 (Fri, 27 Jul 2007)
New Revision: 64334

Removed:
   trunk/testsuite/src/main/org/jboss/test/jbossmessaging/test/JoramUnitTestCase.java
Log:
JBAS-4584 - fixes

Deleted: trunk/testsuite/src/main/org/jboss/test/jbossmessaging/test/JoramUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/jbossmessaging/test/JoramUnitTestCase.java	2007-07-27 20:20:20 UTC (rev 64333)
+++ trunk/testsuite/src/main/org/jboss/test/jbossmessaging/test/JoramUnitTestCase.java	2007-07-27 20:24:01 UTC (rev 64334)
@@ -1,122 +0,0 @@
-/*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
-package org.jboss.test.jbossmessaging.test;
-
-import java.util.Iterator;
-import java.util.Properties;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.jboss.test.JBossTestSetup;
-import org.jboss.test.jbossmessaging.JMSTestCase;
-
-import org.objectweb.jtests.jms.conform.connection.ConnectionTest;
-import org.objectweb.jtests.jms.conform.connection.TopicConnectionTest;
-import org.objectweb.jtests.jms.conform.message.MessageBodyTest;
-import org.objectweb.jtests.jms.conform.message.MessageDefaultTest;
-import org.objectweb.jtests.jms.conform.message.MessageTypeTest;
-import org.objectweb.jtests.jms.conform.message.headers.MessageHeaderTest;
-import org.objectweb.jtests.jms.conform.message.properties.JMSXPropertyTest;
-import org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest;
-import org.objectweb.jtests.jms.conform.message.properties.MessagePropertyTest;
-import org.objectweb.jtests.jms.conform.queue.QueueBrowserTest;
-import org.objectweb.jtests.jms.conform.queue.TemporaryQueueTest;
-import org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest;
-import org.objectweb.jtests.jms.conform.selector.SelectorTest;
-import org.objectweb.jtests.jms.conform.session.QueueSessionTest;
-import org.objectweb.jtests.jms.conform.session.SessionTest;
-import org.objectweb.jtests.jms.conform.session.TopicSessionTest;
-import org.objectweb.jtests.jms.conform.session.UnifiedSessionTest;
-import org.objectweb.jtests.jms.conform.topic.TemporaryTopicTest;
-
-/**
- * Joram unit tests
- *
- * @author <a href="mailto:richard.achmatowicz at jboss.com">Richard Achmatowicz</a>
- * @version $Revision: 37406 $
- */
-public class JoramUnitTestCase extends JMSTestCase
-{
-   public JoramUnitTestCase(String name)
-   {
-      super(name);
-   }
-
-   public static junit.framework.Test suite() throws Exception
-   {
-      TestSuite suite = new TestSuite();
-
-      suite.addTest(ConnectionTest.suite());
-      suite.addTest(TopicConnectionTest.suite());
-      suite.addTest(MessageBodyTest.suite());
-      suite.addTest(MessageDefaultTest.suite());
-      suite.addTest(MessageTypeTest.suite());
-      suite.addTest(MessageHeaderTest.suite());
-      suite.addTest(JMSXPropertyTest.suite());
-      suite.addTest(MessagePropertyConversionTest.suite());
-      suite.addTest(MessagePropertyTest.suite());
-      suite.addTest(QueueBrowserTest.suite());
-      suite.addTest(TemporaryQueueTest.suite());
-      suite.addTest(SelectorSyntaxTest.suite());
-      suite.addTest(SelectorTest.suite());
-      suite.addTest(QueueSessionTest.suite());
-      suite.addTest(SessionTest.suite());
-      suite.addTest(TopicSessionTest.suite());
-      suite.addTest(UnifiedSessionTest.suite());
-      suite.addTest(TemporaryTopicTest.suite());
-
-      // Create an initializer for the test suite
-      Test wrapper = new JBossTestSetup(suite)
-      {
-         protected void setUp() throws Exception
-         {
-            super.setUp();
-            // Push the jbm provider props to the system props
-            Properties props = JMSTestCase.getProviderProperties();
-            Iterator iter = props.keySet().iterator();
-            while( iter.hasNext() )
-            {
-               String key = (String) iter.next();
-               String value = props.getProperty(key);
-               System.setProperty(key, value);
-            }
-            ClassLoader loader = Thread.currentThread().getContextClassLoader();
-            String resourceName = getJMSResourceRelativePathname("test-destinations-service.xml") ;
-            deploy (loader.getResource(resourceName).toString());
-         }
-         protected void tearDown() throws Exception
-         {
-            super.tearDown();
-            ClassLoader loader = Thread.currentThread().getContextClassLoader();
-            String resourceName = getJMSResourceRelativePathname("test-destinations-service.xml") ;
-            undeploy (loader.getResource(resourceName).toString());
-         }
-      };
-
-      return wrapper;
-   }
-
-   public static void main(String[] args)
-   {
-   }
-} // SecurityTest




More information about the jboss-cvs-commits mailing list