dlestrat 2004/02/28 08:35:11 Modified: components/prefs/src/test/org/apache/jetspeed/prefs TestPropertyManager.java Log: Updated setUp() Revision Changes Path 1.2 +0 -22 jakarta-jetspeed-2/components/prefs/src/test/org/apache/jetspeed/prefs/TestPropertyManager.java Index: TestPropertyManager.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed-2/components/prefs/src/test/org/apache/jetspeed/prefs/TestPropertyManager.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- TestPropertyManager.java 26 Feb 2004 04:30:46 -0000 1.1 +++ TestPropertyManager.java 28 Feb 2004 16:35:11 -0000 1.2 @@ -79,28 +79,6 @@ super.setUp(); container = (MutablePicoContainer) getContainer(); pms = (PropertyManager) container.getComponentInstance(PropertyManager.class); - - try - { - DatasourceComponent ds = (DatasourceComponent) container.getComponentInstance(DatasourceComponent.class); - JNDIComponent jndi = (JNDIComponent) container.getComponentInstance(JNDIComponent.class); - jndi.bindObject("comp/env/jdbc/jetspeed", ds.getDatasource()); - } - catch (NameAlreadyBoundException e) - { - // ignore - } - PersistenceStoreContainer pContainer = - (PersistenceStoreContainer) container.getComponentInstanceOfType(PersistenceStoreContainer.class); - try - { - store = pContainer.getStoreForThread("jetspeed"); - } - catch (Throwable e1) - { - e1.printStackTrace(); - throw (Exception) e1; - } try { destroyPropertySetDefTestObject(true);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]