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/prefs/src/test/org/apache/jetspeed/prefs TestPreferences.java
Date Sat, 28 Feb 2004 16:34:52 GMT
dlestrat    2004/02/28 08:34:52

  Modified:    components/prefs/src/test/org/apache/jetspeed/prefs
                        TestPreferences.java
  Log:
  Updated setUp()
  
  Revision  Changes    Path
  1.2       +0 -24     jakarta-jetspeed-2/components/prefs/src/test/org/apache/jetspeed/prefs/TestPreferences.java
  
  Index: TestPreferences.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/prefs/src/test/org/apache/jetspeed/prefs/TestPreferences.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestPreferences.java	26 Feb 2004 04:30:46 -0000	1.1
  +++ TestPreferences.java	28 Feb 2004 16:34:52 -0000	1.2
  @@ -77,30 +77,6 @@
           super.setUp();
           container = (MutablePicoContainer) getContainer();
           pms = (PropertyManager) container.getComponentInstance(PropertyManager.class);
  -        DatasourceComponent ds = (DatasourceComponent) container.getComponentInstance(DatasourceComponent.class);
  -        PersistenceStoreContainer pContainer =
  -            (PersistenceStoreContainer) container.getComponentInstanceOfType(PersistenceStoreContainer.class);
  -        try
  -        {
  -            store = pContainer.getStoreForThread("jetspeed");
  -        }
  -        catch (Throwable e1)
  -        {
  -            e1.printStackTrace();
  -            throw (Exception) e1;
  -        }
  -
  -        JNDIComponent jndi = (JNDIComponent) container.getComponentInstance(JNDIComponent.class);
  -        // Bind to JNDI.
  -        try
  -        {
  -            jndi.bindObject("comp/env/jdbc/jetspeed", ds.getDatasource());
  -        }
  -        catch (NameAlreadyBoundException e)
  -        {
  -            // ignore
  -        }
  -
           //destroyRootNodes();
           //destroyPropertySetDefTestObject();
       }
  
  
  

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