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/portal/src/test/org/apache/jetspeed AbstractPrefsSupportedTestCase.java
Date Sun, 01 Aug 2004 22:50:38 GMT
weaver      2004/08/01 15:50:38

  Modified:    portal/src/test/org/apache/jetspeed
                        AbstractPrefsSupportedTestCase.java
  Log:
  expose property manager and prefs provider to sub classes
  
  Revision  Changes    Path
  1.3       +7 -4      jakarta-jetspeed-2/portal/src/test/org/apache/jetspeed/AbstractPrefsSupportedTestCase.java
  
  Index: AbstractPrefsSupportedTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/test/org/apache/jetspeed/AbstractPrefsSupportedTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AbstractPrefsSupportedTestCase.java	1 Aug 2004 20:23:00 -0000	1.2
  +++ AbstractPrefsSupportedTestCase.java	1 Aug 2004 22:50:38 -0000	1.3
  @@ -33,6 +33,9 @@
   public class AbstractPrefsSupportedTestCase extends RegistrySupportedTestCase
   {
   
  +    protected PreferencesProviderImpl prefsProvider;
  +    protected PropertyManagerImpl propertyManager;
  +
       /**
        * 
        */
  @@ -52,9 +55,9 @@
       protected void setUp() throws Exception
       {
           super.setUp();
  -        PropertyManagerImpl pms = new PropertyManagerImpl(persistenceStore);
  -        PreferencesProviderImpl provider = new PreferencesProviderImpl(persistenceStore,
"org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl", false);
  -        provider.start();
  +        propertyManager = new PropertyManagerImpl(persistenceStore);
  +        prefsProvider = new PreferencesProviderImpl(persistenceStore, "org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl",
false);
  +        prefsProvider.start();
       }
   
   }
  
  
  

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