User: d_jencks
  Date: 01/09/11 21:55:39

  Added:       src/main/org/jboss/test/jmsra/test AllJMSRAUnitTestCase.java
  Removed:     src/main/org/jboss/test/jmsra/test AllJUnitTests.java
  Log:
  Changed naming scheme of tests to *UnitTestCase.java for short running tests and 
*StressTestCase.java for lengthy tests.  Made tests-unit and tests-stress targets in 
build.xml
  
  Revision  Changes    Path
  1.1                  
jbosstest/src/main/org/jboss/test/jmsra/test/AllJMSRAUnitTestCase.java
  
  Index: AllJMSRAUnitTestCase.java
  ===================================================================
  /*
   * Copyright (c) 2001 Peter Antman Tim <[EMAIL PROTECTED]>
   *
   * This library is free software; you can redistribute it and/or
   * modify it under the terms of the GNU Lesser General Public
   * License as published by the Free Software Foundation; either
   * version 2 of the License, or (at your option) any later version
   * 
   * This library is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   * Lesser General Public License for more details.
   * 
   * You should have received a copy of the GNU Lesser General Public
   * License along with this library; if not, write to the Free Software
   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   */
  package org.jboss.test.jmsra.test;
  
  import junit.framework.Test;
  import junit.framework.TestCase;
  import junit.framework.TestSuite;
  
  import org.jboss.test.util.Deploy;
  
  /**
   * TestSuite for JMS Resource Adapter.
   *
   * <p>Created: Mon Apr 23 22:08:13 2001
   *
   * @author  <a href="mailto:[EMAIL PROTECTED]";>Peter Antman</a>
   * @author  <a href="mailto:[EMAIL PROTECTED]";>Jason Dillon</a>
   * @version $Revision: 1.1 $
   */
  public class AllJMSRAUnitTestCase
      extends TestCase
  {
     public AllJMSRAUnitTestCase(final String name) {
        super(name);
     }
  
     /**
      * Setup the test suite.
      */
     public static Test suite() {
        TestSuite suite = new TestSuite();
          
        // add a test case to deploy our support applications
        String filename = "jmsra.jar";
        suite.addTest(new Deploy.Deployer(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(filename));
  
        return suite;
     }
  }
  
  
  

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

Reply via email to