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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Feb 6 11:39:32 EST 2008


Author: alex.loubyansky at jboss.com
Date: 2008-02-06 11:39:32 -0500 (Wed, 06 Feb 2008)
New Revision: 69659

Modified:
   trunk/testsuite/src/main/org/jboss/test/profileservice/test/JmsDestinationUnitTestCase.java
Log:
order the tests

Modified: trunk/testsuite/src/main/org/jboss/test/profileservice/test/JmsDestinationUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/profileservice/test/JmsDestinationUnitTestCase.java	2008-02-06 16:17:07 UTC (rev 69658)
+++ trunk/testsuite/src/main/org/jboss/test/profileservice/test/JmsDestinationUnitTestCase.java	2008-02-06 16:39:32 UTC (rev 69659)
@@ -25,6 +25,8 @@
 import java.util.HashMap;
 import java.io.Serializable;
 import org.jboss.deployers.spi.management.KnownComponentTypes;
+import junit.framework.Test;
+import junit.framework.TestSuite;
 
 /**
  * @author <a href="mailto:alex at jboss.org">Alexey Loubyansky</a>
@@ -38,6 +40,18 @@
       super(s);
    }
 
+   public static Test suite() throws Exception
+   {
+      TestSuite suite = new TestSuite();
+
+      suite.addTest(new JmsDestinationUnitTestCase("testCreateQueue"));
+      suite.addTest(new JmsDestinationUnitTestCase("testRemoveQueue"));
+      suite.addTest(new JmsDestinationUnitTestCase("testCreateTopic"));
+      suite.addTest(new JmsDestinationUnitTestCase("testRemoveTopic"));
+
+      return suite;
+   }
+
    public void testCreateQueue() throws Exception
    {
       String jndiName = getName();




More information about the jboss-cvs-commits mailing list