User: d_jencks
  Date: 01/09/18 15:00:44

  Modified:    src/main/org/jboss/test/jrmp/test
                        CustomSocketsUnitTestCase.java
                        DynLoadingUnitTestCase.java
  Log:
  Changed tests to deploy/undeploy only once per testcase file.  Moved clearAuthCache 
to JBossTestServices
  
  Revision  Changes    Path
  1.3       +3 -19     
jbosstest/src/main/org/jboss/test/jrmp/test/CustomSocketsUnitTestCase.java
  
  Index: CustomSocketsUnitTestCase.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/jrmp/test/CustomSocketsUnitTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CustomSocketsUnitTestCase.java    2001/09/15 03:26:06     1.2
  +++ CustomSocketsUnitTestCase.java    2001/09/18 22:00:44     1.3
  @@ -27,7 +27,7 @@
    *
    * @author    [EMAIL PROTECTED]
    * @author    david jencks [EMAIL PROTECTED]
  - * @version   $Revision: 1.2 $
  + * @version   $Revision: 1.3 $
    */
   public class CustomSocketsUnitTestCase extends JBossTestCase
   {
  @@ -82,26 +82,10 @@
         bean.remove();
      }
   
  -   /**
  -    * The JUnit setup method
  -    *
  -    * @exception Exception  Description of Exception
  -    */
  -   protected void setUp() throws Exception
  -   {
  -      super.setUp();
  -      deployJ2ee("jrmp-comp.jar");
  -   }
   
  -   /**
  -    * The teardown method for JUnit
  -    *
  -    * @exception Exception  Description of Exception
  -    */
  -   protected void tearDown() throws Exception
  +   public static Test suite() throws Exception
      {
  -      undeployJ2ee("jrmp-comp.jar");
  -      super.tearDown();
  +      return getJ2eeSetup(CustomSocketsUnitTestCase.class, "jrmp-comp.jar");
      }
   
   }
  
  
  
  1.3       +3 -1      
jbosstest/src/main/org/jboss/test/jrmp/test/DynLoadingUnitTestCase.java
  
  Index: DynLoadingUnitTestCase.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/jrmp/test/DynLoadingUnitTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DynLoadingUnitTestCase.java       2001/09/15 03:26:06     1.2
  +++ DynLoadingUnitTestCase.java       2001/09/18 22:00:44     1.3
  @@ -29,7 +29,7 @@
    *
    * @author    [EMAIL PROTECTED]
    * @author    Author: david jencks [EMAIL PROTECTED]
  - * @version   $Revision: 1.2 $
  + * @version   $Revision: 1.3 $
    */
   public class DynLoadingUnitTestCase
          extends JBossTestCase
  @@ -68,6 +68,8 @@
         assertTrue("CodeSource URL.protocol != file", 
location.getProtocol().equals("file") == false);
         bean.remove();
      }
  +
  +   //not modified to use getJ2eeSetup since there is only one test.
   
      /**
       * Remove any local IString implementation so that we test RMI class loading.
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to