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 dl...@apache.org on 2004/03/18 07:09:34 UTC
cvs commit: jakarta-jetspeed-2/components/registry/src/test/org/apache/jetspeed/components/portletregistry TestRegistryDirectPart2.java
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