[Jboss-cvs] JBossAS SVN: r56765 - branches/Branch_4_0/testsuite/src/main/org/jboss/test/webservice/secure/noenv
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Sep 12 08:40:22 EDT 2006
Author: dimitris at jboss.org
Date: 2006-09-12 08:40:15 -0400 (Tue, 12 Sep 2006)
New Revision: 56765
Modified:
branches/Branch_4_0/testsuite/src/main/org/jboss/test/webservice/secure/noenv/TransportOptionsTestCase.java
Log:
JBAS-3610, 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/secure/noenv/TransportOptionsTestCase.java
===================================================================
--- branches/Branch_4_0/testsuite/src/main/org/jboss/test/webservice/secure/noenv/TransportOptionsTestCase.java 2006-09-12 12:31:28 UTC (rev 56764)
+++ branches/Branch_4_0/testsuite/src/main/org/jboss/test/webservice/secure/noenv/TransportOptionsTestCase.java 2006-09-12 12:40:15 UTC (rev 56765)
@@ -22,14 +22,15 @@
package org.jboss.test.webservice.secure.noenv;
import java.io.File;
-import java.lang.reflect.UndeclaredThrowableException;
import javax.naming.Context;
import javax.xml.rpc.Service;
import javax.xml.rpc.Stub;
import junit.framework.Test;
+import junit.framework.TestSuite;
+import org.jboss.test.JBossTestCase;
import org.jboss.test.webservice.WebserviceTestBase;
import org.jboss.test.webservice.ws4eesimple.HelloWs;
@@ -47,7 +48,13 @@
public static Test suite() throws Exception
{
- return getDeploySetup(TransportOptionsTestCase.class, "ws4ee-simple-secure.war, ws4ee-simple-secure-client.jar");
+ // JBAS-3610, 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 TransportOptionsTestCase("testWithTransportOptions"));
+ suite.addTest(new TransportOptionsTestCase("testWithoutKeystore"));
+
+ return JBossTestCase.getDeploySetup(suite, "ws4ee-simple-secure.war, ws4ee-simple-secure-client.jar");
}
More information about the jboss-cvs-commits
mailing list