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 AbstractPortalContainerTestCase.java
Date Thu, 27 May 2004 19:54:36 GMT
weaver      2004/05/27 12:54:36

  Added:       portal/src/test/org/apache/jetspeed
                        AbstractPortalContainerTestCase.java
  Log:
  JS2-59 <http://nagoya.apache.org/jira/browse/JS2-59>
  
  Revision  Changes    Path
  1.1                  jakarta-jetspeed-2/portal/src/test/org/apache/jetspeed/AbstractPortalContainerTestCase.java
  
  Index: AbstractPortalContainerTestCase.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;
  
  import org.apache.jetspeed.components.util.RegistrySupportedTestCase;
  import org.apache.jetspeed.container.JetspeedPortletContainerWrapper;
  import org.apache.jetspeed.container.window.PortletWindowAccessor;
  import org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl;
  import org.apache.pluto.PortletContainer;
  import org.apache.pluto.PortletContainerImpl;
  
  /**
   * @author <a href="mailto:sweaver@einnovation.com">Scott T. Weaver</a>
   *
   */
  public class AbstractPortalContainerTestCase extends RegistrySupportedTestCase
  {
  
      protected PortletWindowAccessor windowAccessor;
      protected PortletContainer portletContainer;
      /**
       * 
       */
      public AbstractPortalContainerTestCase()
      {
          super();
      }
  
      /**
       * @param arg0
       */
      public AbstractPortalContainerTestCase( String arg0 )
      {
          super(arg0);
      }
      /* (non-Javadoc)
       * @see junit.framework.TestCase#setUp()
       */
      protected void setUp() throws Exception
      {
          super.setUp();
          windowAccessor = new PortletWindowAccessorImpl(entityAccess, portletRegistry);
          portletContainer = new JetspeedPortletContainerWrapper(new PortletContainerImpl());
      }
  }
  
  
  

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