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:[EMAIL PROTECTED]">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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]