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/components/registry/src/test/org/apache/jetspeed/components/portletregistry TestRegistryDirect.java TestRegistryDirectPart2.java
Date Mon, 16 Aug 2004 18:28:52 GMT
taylor      2004/08/16 11:28:52

  Modified:    components/registry/src/test/org/apache/jetspeed/components/portletregistry
                        TestRegistryDirect.java
                        TestRegistryDirectPart2.java
  Log:
  dep on portlet-factory
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.13      +6 -1      jakarta-jetspeed-2/components/registry/src/test/org/apache/jetspeed/components/portletregistry/TestRegistryDirect.java
  
  Index: TestRegistryDirect.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/registry/src/test/org/apache/jetspeed/components/portletregistry/TestRegistryDirect.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- TestRegistryDirect.java	6 Jul 2004 21:30:23 -0000	1.12
  +++ TestRegistryDirect.java	16 Aug 2004 18:28:52 -0000	1.13
  @@ -20,7 +20,10 @@
   
   import javax.portlet.PortletMode;
   
  +import org.apache.jetspeed.cache.PortletCache;
   import org.apache.jetspeed.components.persistence.store.LockFailedException;
  +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;
  @@ -64,6 +67,8 @@
       {
           super.setUp();
           
  +        PortletCache portletCache = new PortletCache();
  +        new JetspeedPortletFactoryProxy(new JetspeedPortletFactory(portletCache));
           
           buildTestData();
           
  
  
  
  1.14      +6 -2      jakarta-jetspeed-2/components/registry/src/test/org/apache/jetspeed/components/portletregistry/TestRegistryDirectPart2.java
  
  Index: TestRegistryDirectPart2.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/registry/src/test/org/apache/jetspeed/components/portletregistry/TestRegistryDirectPart2.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- TestRegistryDirectPart2.java	18 Jun 2004 20:46:00 -0000	1.13
  +++ TestRegistryDirectPart2.java	16 Aug 2004 18:28:52 -0000	1.14
  @@ -20,6 +20,9 @@
   import junit.framework.Test;
   import junit.framework.TestSuite;
   
  +import org.apache.jetspeed.cache.PortletCache;
  +import org.apache.jetspeed.factory.JetspeedPortletFactory;
  +import org.apache.jetspeed.factory.JetspeedPortletFactoryProxy;
   import org.apache.pluto.om.portlet.PortletApplicationDefinition;
   
   /**
  @@ -42,7 +45,8 @@
       protected void setUp() throws Exception
       {
           super.setUp();
  -
  +        PortletCache portletCache = new PortletCache();
  +        new JetspeedPortletFactoryProxy(new JetspeedPortletFactory(portletCache));
       }
   
       /*
  
  
  

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