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

  Modified:    src/main/org/jboss/test/naming/test ENCUnitTestCase.java
  Log:
  Changed tests to deploy/undeploy only once per testcase file.  Moved clearAuthCache 
to JBossTestServices
  
  Revision  Changes    Path
  1.3       +4 -18     
jbosstest/src/main/org/jboss/test/naming/test/ENCUnitTestCase.java
  
  Index: ENCUnitTestCase.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/naming/test/ENCUnitTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ENCUnitTestCase.java      2001/09/15 19:50:39     1.2
  +++ ENCUnitTestCase.java      2001/09/18 22:00:44     1.3
  @@ -74,26 +74,12 @@
         bean.remove();
      }
   
  -   /**
  -    * The setUp method for JUnit
  -    *
  -    * @exception Exception  Description of Exception
  -    */
  -   protected void setUp() throws Exception
  -   {
  -      super.setUp();
  -      deployJ2ee("naming.jar");
  -   }
   
  -   /**
  -    * The teardown method for JUnit
  -    *
  -    * @exception Exception  Description of Exception
  -    */
  -   protected void tearDown() throws Exception
  +   public static Test suite() throws Exception
      {
  -      undeployJ2ee("naming.jar");
  -      super.tearDown();
  +      return getJ2eeSetup(ENCUnitTestCase.class, "naming.jar");
      }
  +
  +
   
   }
  
  
  

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

Reply via email to