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/components/registry/src/test/org/apache/jetspeed/components/portletregistry TestRegistryDirect.java TestRegistryDirectPart2.java
Date Tue, 09 Mar 2004 16:20:07 GMT
weaver      2004/03/09 08:20:07

  Modified:    components/registry/src/test/org/apache/jetspeed/components/portletregistry
                        TestRegistryDirect.java
                        TestRegistryDirectPart2.java
  Log:
  uses a test assembly script instead of directly using the regsitry assembly script
  
  Revision  Changes    Path
  1.3       +5 -2      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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestRegistryDirect.java	8 Mar 2004 00:50:03 -0000	1.2
  +++ TestRegistryDirect.java	9 Mar 2004 16:20:07 -0000	1.3
  @@ -26,6 +26,7 @@
   import org.apache.jetspeed.components.persistence.store.Filter;
   import org.apache.jetspeed.components.persistence.store.PersistenceStore;
   import org.apache.jetspeed.components.persistence.store.impl.LockFailedException;
  +import org.apache.jetspeed.components.portletentity.PortletEntityAccessComponent;
   import org.apache.jetspeed.components.portletregsitry.PortletRegistryComponent;
   import org.apache.jetspeed.om.common.portlet.ContentTypeComposite;
   import org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite;
  @@ -100,7 +101,8 @@
       public static Test suite()
       {
           ComponentAwareTestSuite suite = new ComponentAwareTestSuite(TestRegistryDirect.class);
  -        suite.setScript("org/apache/jetspeed/containers/registry.container.groovy");
  +        suite.setScript("org/apache/jetspeed/containers/test.registry.groovy");
  +        
           return suite;
       }
   
  @@ -118,6 +120,7 @@
       public void test001() throws Exception
       {
           // Create an Application and a Web app
  +        assertNotNull(getContainer().getComponentInstanceOfType(PortletEntityAccessComponent.class));
           store.getTransaction().begin();
           PortletApplicationDefinitionImpl app = new PortletApplicationDefinitionImpl();
           app.setName("App_1");
  
  
  
  1.3       +2 -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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestRegistryDirectPart2.java	8 Mar 2004 00:50:03 -0000	1.2
  +++ TestRegistryDirectPart2.java	9 Mar 2004 16:20:07 -0000	1.3
  @@ -94,7 +94,7 @@
       public static Test suite()
       {
           ComponentAwareTestSuite suite = new ComponentAwareTestSuite(TestRegistryDirectPart2.class);
  -        suite.setScript("org/apache/jetspeed/containers/registry.container.groovy");
  +        suite.setScript("org/apache/jetspeed/containers/test.registry.groovy");
           return suite;
       }
   
  
  
  

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