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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Mar 8 05:23:45 EST 2010


Author: alessio.soldano at jboss.com
Date: 2010-03-08 05:23:45 -0500 (Mon, 08 Mar 2010)
New Revision: 102053

Modified:
   trunk/testsuite/src/main/org/jboss/test/webservice/WebserviceTestBase.java
Log:
[JBAS-7342][JBWS-2948] Also, no need anymore for explicit setUp/tearDown


Modified: trunk/testsuite/src/main/org/jboss/test/webservice/WebserviceTestBase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/webservice/WebserviceTestBase.java	2010-03-08 10:09:17 UTC (rev 102052)
+++ trunk/testsuite/src/main/org/jboss/test/webservice/WebserviceTestBase.java	2010-03-08 10:23:45 UTC (rev 102053)
@@ -25,7 +25,6 @@
 import java.util.ArrayList;
 import java.util.Hashtable;
 import java.util.List;
-import java.util.concurrent.ScheduledThreadPoolExecutor;
 
 import javax.naming.InitialContext;
 import javax.naming.NamingException;
@@ -35,7 +34,6 @@
 
 import org.jboss.test.JBossTestCase;
 import org.jboss.vfs.TempFileProvider;
-import org.jboss.vfs.VFSUtils;
 
 /** Common functionality for web services test cases.
  *
@@ -52,20 +50,6 @@
       super(name);
    }
 
-   protected void setUp() throws Exception
-   {
-      super.setUp();
-      provider = TempFileProvider.create("test", new ScheduledThreadPoolExecutor(2));
-   }
-
-   protected void tearDown() throws Exception
-   {
-      VFSUtils.safeClose(handles);
-      VFSUtils.safeClose(provider);
-      handles.clear();
-      super.tearDown();
-   }
-
    /**
     * Get the client's env context, see tracker [840598] for details
     */




More information about the jboss-cvs-commits mailing list