portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject cvs commit: jakarta-jetspeed-2/components/registry/src/test/org/apache/jetspeed/components/portletregistry/direct TestRegistryDirectPart2a.java TestRegistryDirectPart1a.java
Date Wed, 23 Mar 2005 22:28:05 GMT
ate         2005/03/23 14:28:05

  Modified:    components/registry/src/test/org/apache/jetspeed/components/portletregistry/direct
                        TestRegistryDirectPart2a.java
                        TestRegistryDirectPart1a.java
  Log:
  Resolving http://issues.apache.org/jira/browse/JS2-210
  
  Revision  Changes    Path
  1.3       +1 -13     jakarta-jetspeed-2/components/registry/src/test/org/apache/jetspeed/components/portletregistry/direct/TestRegistryDirectPart2a.java
  
  Index: TestRegistryDirectPart2a.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/registry/src/test/org/apache/jetspeed/components/portletregistry/direct/TestRegistryDirectPart2a.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestRegistryDirectPart2a.java	29 Oct 2004 14:06:20 -0000	1.2
  +++ TestRegistryDirectPart2a.java	23 Mar 2005 22:28:05 -0000	1.3
  @@ -20,10 +20,7 @@
   import junit.framework.Test;
   import junit.framework.TestSuite;
   
  -import org.apache.jetspeed.cache.PortletCache;
   import org.apache.jetspeed.components.portletregistry.AbstractRegistryTest;
  -import org.apache.jetspeed.factory.JetspeedPortletFactory;
  -import org.apache.jetspeed.factory.JetspeedPortletFactoryProxy;
   import org.apache.pluto.om.portlet.PortletApplicationDefinition;
   
   /**
  @@ -46,15 +43,6 @@
       protected void setUp() throws Exception
       {
           super.setUp();
  -        PortletCache portletCache = new PortletCache();
  -        try
  -        {
  -            new JetspeedPortletFactoryProxy(new JetspeedPortletFactory(portletCache));
  -        }
  -        catch (IllegalStateException e)
  -        {
  -            
  -        }
       }
   
       /*
  
  
  
  1.3       +2 -16     jakarta-jetspeed-2/components/registry/src/test/org/apache/jetspeed/components/portletregistry/direct/TestRegistryDirectPart1a.java
  
  Index: TestRegistryDirectPart1a.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/registry/src/test/org/apache/jetspeed/components/portletregistry/direct/TestRegistryDirectPart1a.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestRegistryDirectPart1a.java	29 Oct 2004 14:06:20 -0000	1.2
  +++ TestRegistryDirectPart1a.java	23 Mar 2005 22:28:05 -0000	1.3
  @@ -20,12 +20,9 @@
   
   import javax.portlet.PortletMode;
   
  -import org.apache.jetspeed.cache.PortletCache;
   import org.apache.jetspeed.components.persistence.store.LockFailedException;
   import org.apache.jetspeed.components.portletregistry.AbstractRegistryTest;
   import org.apache.jetspeed.components.portletregistry.RegistryException;
  -import org.apache.jetspeed.factory.JetspeedPortletFactory;
  -import org.apache.jetspeed.factory.JetspeedPortletFactoryProxy;
   import org.apache.jetspeed.om.common.DublinCore;
   import org.apache.jetspeed.om.common.GenericMetadata;
   import org.apache.jetspeed.om.common.JetspeedServiceReference;
  @@ -65,17 +62,6 @@
       protected void setUp() throws Exception
       {
           super.setUp();
  -
  -        PortletCache portletCache = new PortletCache();
  -        try
  -        {
  -            new JetspeedPortletFactoryProxy(new JetspeedPortletFactory(portletCache));
  -        }
  -        catch (IllegalStateException e)
  -        {
  -
  -        }
  -
           buildTestData();
   
       }
  @@ -191,4 +177,4 @@
       {
           verifyData(false);
       }
  -}
  \ No newline at end of file
  +}
  
  
  

---------------------------------------------------------------------
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