You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by we...@apache.org on 2004/05/27 21:42:35 UTC

cvs commit: jakarta-jetspeed-2/components/registry/src/java/org/apache/jetspeed/components/util RegistrySupportedTestCase.java

weaver      2004/05/27 12:42:35

  Added:       components/registry/src/java/org/apache/jetspeed/components/util
                        RegistrySupportedTestCase.java
  Log:
  JS2-59 <http://nagoya.apache.org/jira/browse/JS2-59>: supports test that need registry access
  
  Revision  Changes    Path
  1.1                  jakarta-jetspeed-2/components/registry/src/java/org/apache/jetspeed/components/util/RegistrySupportedTestCase.java
  
  Index: RegistrySupportedTestCase.java
  ===================================================================
  /*
   * Created on May 26, 2004
   *
   * TODO To change the template for this generated file go to
   * Window - Preferences - Java - Code Generation - Code and Comments
   */
  package org.apache.jetspeed.components.util;
  
  import org.apache.jetspeed.components.persistence.store.util.PersistenceSupportedTestCase;
  import org.apache.jetspeed.components.portletentity.PortletEntityAccessComponent;
  import org.apache.jetspeed.components.portletentity.PortletEntityAccessComponentImpl;
  import org.apache.jetspeed.components.portletregistry.PortletRegistryComponent;
  import org.apache.jetspeed.components.portletregistry.PortletRegistryComponentImpl;
  
  /**
   * @author <a href="mailto:sweaver@einnovation.com">Scott T. Weaver</a>
   *
   */
  public class RegistrySupportedTestCase extends PersistenceSupportedTestCase
  {
  
      protected PortletRegistryComponent portletRegistry;
      protected PortletEntityAccessComponent entityAccess;
  
      /**
       * 
       */
      public RegistrySupportedTestCase()
      {
          super();
      }
  
      /**
       * @param arg0
       */
      public RegistrySupportedTestCase( String arg0 )
      {
          super(arg0);
      }
  
      /* (non-Javadoc)
       * @see junit.framework.TestCase#setUp()
       */
      protected void setUp() throws Exception
      {       
          super.setUp();
          portletRegistry = new PortletRegistryComponentImpl(persistenceStore);
          entityAccess = new PortletEntityAccessComponentImpl(persistenceStore);
      }
  }
  
  
  

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