[jboss-cvs] JBossAS SVN: r60971 - branches/Branch_3_2/testsuite/src/main/org/jboss/test/jbossmq/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Feb 27 18:39:43 EST 2007


Author: dimitris at jboss.org
Date: 2007-02-27 18:39:42 -0500 (Tue, 27 Feb 2007)
New Revision: 60971

Modified:
   branches/Branch_3_2/testsuite/src/main/org/jboss/test/jbossmq/test/JBossMQUnitTest.java
Log:
JBAS-3597, disable testTopicSelectorChange

Modified: branches/Branch_3_2/testsuite/src/main/org/jboss/test/jbossmq/test/JBossMQUnitTest.java
===================================================================
--- branches/Branch_3_2/testsuite/src/main/org/jboss/test/jbossmq/test/JBossMQUnitTest.java	2007-02-27 23:37:28 UTC (rev 60970)
+++ branches/Branch_3_2/testsuite/src/main/org/jboss/test/jbossmq/test/JBossMQUnitTest.java	2007-02-27 23:39:42 UTC (rev 60971)
@@ -1,24 +1,24 @@
 /*
-* 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.jbossmq.test;
 
 import java.util.Enumeration;
@@ -51,6 +51,9 @@
 import javax.naming.Context;
 import javax.naming.InitialContext;
 
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
 import org.apache.log4j.Category;
 import org.jboss.test.JBossTestCase;
 
@@ -63,6 +66,7 @@
  *
  * @author Hiram Chirino <Cojonudo14 at hotmail.com>
  * @author Scott.Stark at jboss.org
+ * @author Dimitris.Andreadis at jboss.org
  * @version $Revision$
  */
 public class JBossMQUnitTest extends JBossTestCase
@@ -81,6 +85,34 @@
    static QueueConnection queueConnection;
    static TopicConnection topicConnection;
 
+   public static Test suite() throws Exception
+   {
+      // JBAS-4074, the execution order of tests in this test case is important
+      // so it must be defined explicitly when running under some JVMs
+      TestSuite suite = new TestSuite();
+      suite.addTest(new JBossMQUnitTest("testQueueMessageOrder"));
+      suite.addTest(new JBossMQUnitTest("testRequestReplyQueue"));
+      suite.addTest(new JBossMQUnitTest("testTemporaryQueueDelete"));
+      suite.addTest(new JBossMQUnitTest("testTemporaryTopicDelete"));
+      suite.addTest(new JBossMQUnitTest("testInvalidDestinationQueueSend"));
+      suite.addTest(new JBossMQUnitTest("testInvalidDestinationQueueBrowse"));
+      suite.addTest(new JBossMQUnitTest("testInvalidDestinationTopicPublish"));
+      suite.addTest(new JBossMQUnitTest("testErrorsTopicSubscribe"));
+      suite.addTest(new JBossMQUnitTest("testCreateQueue"));
+      suite.addTest(new JBossMQUnitTest("testMessageListener"));
+      suite.addTest(new JBossMQUnitTest("testApplicationServerStuff"));
+      suite.addTest(new JBossMQUnitTest("testTopics"));
+      suite.addTest(new JBossMQUnitTest("testTopicNoLocal"));
+      suite.addTest(new JBossMQUnitTest("testTopicNoLocalBounce"));
+      //suite.addTest(new JBossMQUnitTest("testTopicSelectorChange"));
+      suite.addTest(new JBossMQUnitTest("testTopicSelectorNullOrEmpty"));
+      suite.addTest(new JBossMQUnitTest("testSendReceiveOutdated"));
+      suite.addTest(new JBossMQUnitTest("testSendReceiveExpired"));
+      suite.addTest(new JBossMQUnitTest("testSendListenOutdated"));
+      
+      return suite;
+   }
+
    public JBossMQUnitTest(String name) throws Exception
    {
       super(name);




More information about the jboss-cvs-commits mailing list