[Jboss-cvs] JBossAS SVN: r56762 - branches/Branch_4_0/testsuite/src/main/org/jboss/test/webservice/jbws70

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Sep 12 08:21:29 EDT 2006


Author: dimitris at jboss.org
Date: 2006-09-12 08:21:22 -0400 (Tue, 12 Sep 2006)
New Revision: 56762

Modified:
   branches/Branch_4_0/testsuite/src/main/org/jboss/test/webservice/jbws70/JBWS70TestCase.java
Log:
JBAS-3609, the execution order of tests in this test case is important so it must be defined explicitly when running under some JVMs

Modified: branches/Branch_4_0/testsuite/src/main/org/jboss/test/webservice/jbws70/JBWS70TestCase.java
===================================================================
--- branches/Branch_4_0/testsuite/src/main/org/jboss/test/webservice/jbws70/JBWS70TestCase.java	2006-09-12 12:16:27 UTC (rev 56761)
+++ branches/Branch_4_0/testsuite/src/main/org/jboss/test/webservice/jbws70/JBWS70TestCase.java	2006-09-12 12:21:22 UTC (rev 56762)
@@ -1,31 +1,33 @@
 /*
-  * 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 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.webservice.jbws70;
 
 import javax.naming.InitialContext;
 import javax.xml.rpc.Service;
 
 import junit.framework.Test;
+import junit.framework.TestSuite;
 
+import org.jboss.test.JBossTestCase;
 import org.jboss.test.webservice.WebserviceTestBase;
 
 /**
@@ -50,7 +52,13 @@
    /** Deploy the test */
    public static Test suite() throws Exception
    {
-      return getDeploySetup(JBWS70TestCase.class, "ws4ee-jbws70.war, ws4ee-jbws70-client.jar");
+      // JBAS-3609, 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 JBWS70TestCase("testSetVersion"));
+      suite.addTest(new JBWS70TestCase("testGetVersion"));
+      
+      return JBossTestCase.getDeploySetup(suite, "ws4ee-jbws70.war, ws4ee-jbws70-client.jar");  
    }
 
    public void setUp() throws Exception




More information about the jboss-cvs-commits mailing list