portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/test/org/apache/jetspeed/container/url TestPortletURL.java
Date Tue, 24 Feb 2004 05:59:24 GMT
taylor      2004/02/23 21:59:23

  Modified:    portal   maven.xml
               portal/src/test/org/apache/jetspeed/container/url
                        TestPortletURL.java
  Log:
  convert to a normal test case (cut down on overhead of starting everything up)
  
  Revision  Changes    Path
  1.44      +1 -1      jakarta-jetspeed-2/portal/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/maven.xml,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- maven.xml	24 Feb 2004 05:34:01 -0000	1.43
  +++ maven.xml	24 Feb 2004 05:59:23 -0000	1.44
  @@ -4,7 +4,7 @@
            xmlns:reactor="reactor">
   
     <!-- Target of maven test:single test -->
  -<property name='testcase' value='org.apache.jetspeed.cache.file.TestFileCache'/>
  +<property name='testcase' value='org.apache.jetspeed.container.url.TestPortletURL'/>
   
     <!-- ================================================================ -->
     <!-- Set System properties for junit                                  -->
  
  
  
  1.4       +4 -5      jakarta-jetspeed-2/portal/src/test/org/apache/jetspeed/container/url/TestPortletURL.java
  
  Index: TestPortletURL.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/test/org/apache/jetspeed/container/url/TestPortletURL.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestPortletURL.java	4 Feb 2004 21:35:25 -0000	1.3
  +++ TestPortletURL.java	24 Feb 2004 05:59:23 -0000	1.4
  @@ -56,10 +56,9 @@
   import javax.portlet.PortletURL;
   
   import junit.framework.Test;
  +import junit.framework.TestCase;
   import junit.framework.TestSuite;
   
  -import org.apache.jetspeed.test.JetspeedTest;
  -import org.apache.jetspeed.test.JetspeedTestSuite;
   
   /**
    * TestPortletURL
  @@ -68,7 +67,7 @@
    * @version $Id$
    */
   
  -public class TestPortletURL extends JetspeedTest
  +public class TestPortletURL extends TestCase
   {
   
       /**
  @@ -106,7 +105,7 @@
       public static Test suite()
       {
           // All methods starting with "test" will be executed in the test suite.
  -        return new JetspeedTestSuite(TestPortletURL.class);
  +        return new TestSuite(TestPortletURL.class);
       }
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message