portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlest...@apache.org
Subject cvs commit: jakarta-jetspeed-2/components/registry/src/test/org/apache/jetspeed/components/portletregistry TestRegistryDirectPart2.java
Date Thu, 18 Mar 2004 06:09:34 GMT
dlestrat    2004/03/17 22:09:34

  Modified:    components/registry/src/test/org/apache/jetspeed/components/portletregistry
                        TestRegistryDirectPart2.java
  Log:
  Migrating to OJB RC5.
  
  Revision  Changes    Path
  1.6       +3 -6      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.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TestRegistryDirectPart2.java	11 Mar 2004 19:16:35 -0000	1.5
  +++ TestRegistryDirectPart2.java	18 Mar 2004 06:09:34 -0000	1.6
  @@ -168,11 +168,8 @@
           store.getTransaction().commit();
           assertNotNull("Web app was not located by query.", webApp);
           assertNotNull("Web app did NOT persist its description", webApp.getDescription(Locale.getDefault()));
  -        
  -        filter =  store.newFilter();
  -        store.getTransaction().begin();
  -        store.deleteAll(store.newQuery(PortletApplicationDefinitionImpl.class, filter));
  -        store.getTransaction().commit();  
  + 
  +        registry.removeApplication(app);
       }
       
       private void validateDublinCore(GenericMetadata metadata)
  
  
  

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