User: user57  
  Date: 01/07/05 19:29:20

  Modified:    src/main/org/jboss/test/jmsra/test AllJUnitTests.java
  Log:
   o Changed all tests which deploy one or more jars to undeploy after
     testing.
  
  Revision  Changes    Path
  1.4       +4 -3      jbosstest/src/main/org/jboss/test/jmsra/test/AllJUnitTests.java
  
  Index: AllJUnitTests.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/jmsra/test/AllJUnitTests.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AllJUnitTests.java        2001/07/05 07:05:59     1.3
  +++ AllJUnitTests.java        2001/07/06 02:29:20     1.4
  @@ -30,7 +30,7 @@
    *
    * @author  <a href="mailto:[EMAIL PROTECTED]";>Peter Antman</a>
    * @author  <a href="mailto:[EMAIL PROTECTED]";>Jason Dillon</a>
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
    */
   public class AllJUnitTests
       extends TestCase
  @@ -43,14 +43,15 @@
           TestSuite suite = new TestSuite();
        
           try {
  +            String filename = "../deploy/jmsra.jar";
               System.out.println("Deploying...");
  -            Deploy.deploy("../deploy/jmsra.jar");
  +            Deploy.deploy(filename);
   
               suite.addTest(new TestSuite(RaQueueTest.class));
               suite.addTest(new TestSuite(RaTopicTest.class));
   
               // add a test case to undeploy our support applications
  -            suite.addTest(new Deploy.Undeployer("../deploy/jmsra.jar"));
  +            suite.addTest(new Deploy.Undeployer(filename));
           }
           catch (Throwable t) {
               t.printStackTrace();
  
  
  

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

Reply via email to