portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/test/org/apache/jetspeed/engine TestSpringEngine.java
Date Fri, 29 Oct 2004 14:33:27 GMT
weaver      2004/10/29 07:33:27

  Modified:    portal/src/test/org/apache/jetspeed/deployment
                        TestSimpleDeployment.java
               portal/src/test/org/apache/jetspeed/engine
                        TestSpringEngine.java
  Log:
  removed unneeded constructors.
  
  Revision  Changes    Path
  1.20      +4 -11     jakarta-jetspeed-2/portal/src/test/org/apache/jetspeed/deployment/TestSimpleDeployment.java
  
  Index: TestSimpleDeployment.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/test/org/apache/jetspeed/deployment/TestSimpleDeployment.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- TestSimpleDeployment.java	12 Oct 2004 20:24:00 -0000	1.19
  +++ TestSimpleDeployment.java	29 Oct 2004 14:33:27 -0000	1.20
  @@ -22,9 +22,9 @@
   import junit.framework.Test;
   import junit.framework.TestSuite;
   
  -import org.apache.jetspeed.AbstractPrefsSupportedTestCase;
   import org.apache.jetspeed.cache.PortletCache;
   import org.apache.jetspeed.components.portletentity.PortletEntityNotStoredException;
  +import org.apache.jetspeed.components.util.RegistrySupportedTestCase;
   import org.apache.jetspeed.container.window.PortletWindowAccessor;
   import org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl;
   import org.apache.jetspeed.deployment.impl.DeployDecoratorEventListener;
  @@ -56,7 +56,7 @@
    * @version $Id$
    *  
    */
  -public class TestSimpleDeployment extends AbstractPrefsSupportedTestCase
  +public class TestSimpleDeployment extends RegistrySupportedTestCase
   {
       protected static final String TEST_PORTLET_APP_NAME = "HW_App";
       protected String webAppsDir;
  @@ -78,14 +78,6 @@
    
   
       /**
  -     * @param testName
  -     */
  -    public TestSimpleDeployment( String testName )
  -    {
  -        super(testName);
  -    }
  -
  -    /**
        * Start the tests.
        * 
        * @param args
  @@ -497,4 +489,5 @@
   
       }
   
  +    
   }
  
  
  
  1.4       +3 -3      jakarta-jetspeed-2/portal/src/test/org/apache/jetspeed/engine/TestSpringEngine.java
  
  Index: TestSpringEngine.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/test/org/apache/jetspeed/engine/TestSpringEngine.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestSpringEngine.java	15 Oct 2004 21:44:32 -0000	1.3
  +++ TestSpringEngine.java	29 Oct 2004 14:33:27 -0000	1.4
  @@ -17,7 +17,7 @@
   import org.apache.jetspeed.capabilities.Capabilities;
   import org.apache.jetspeed.components.persistence.store.PersistenceStore;
   import org.apache.jetspeed.components.portletentity.PortletEntityAccessComponent;
  -import org.apache.jetspeed.components.portletregistry.PortletRegistryComponent;
  +import org.apache.jetspeed.components.portletregistry.PortletRegistry;
   import org.apache.jetspeed.container.state.NavigationalStateComponent;
   import org.apache.jetspeed.container.window.PortletWindowAccessor;
   import org.apache.jetspeed.page.PageManager;
  @@ -53,7 +53,7 @@
       {
           System.out.println(System.getProperty("org.apache.jetspeed.database.user"));
           keysToCheck = new Object[] {"IdGenerator", "DecorationLocator", "TemplateLocator",
"IdGenerator", "PageFileCache", PageManager.class, 
  -                                     PersistenceStore.class, PortletRegistryComponent.class,
PortletEntityAccessComponent.class, "PortalServices",
  +                                     PersistenceStore.class, PortletRegistry.class, PortletEntityAccessComponent.class,
"PortalServices",
                                        Profiler.class, Capabilities.class, PropertyManager.class,
PreferencesProvider.class, UserManager.class,
                                        GroupManager.class, RoleManager.class, PermissionManager.class,
RdbmsPolicy.class, SecurityProvider.class,
                                        UserInfoManager.class, NavigationalStateComponent.class,
RequestContextComponent.class, PortletWindowAccessor.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