notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2715 - development/main/test/unit/plus/src/test/net/dpml/test/acme/plus
- From: mcconnell AT dpml.net
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r2715 - development/main/test/unit/plus/src/test/net/dpml/test/acme/plus
- Date: Sun, 05 Jun 2005 14:26:41 -0400
Author: mcconnell AT dpml.net
Date: Sun Jun 5 14:26:41 2005
New Revision: 2715
Modified:
development/main/test/unit/plus/src/test/net/dpml/test/acme/plus/URLTestCase.java
Log:
Modified:
development/main/test/unit/plus/src/test/net/dpml/test/acme/plus/URLTestCase.java
==============================================================================
---
development/main/test/unit/plus/src/test/net/dpml/test/acme/plus/URLTestCase.java
(original)
+++
development/main/test/unit/plus/src/test/net/dpml/test/acme/plus/URLTestCase.java
Sun Jun 5 14:26:41 2005
@@ -21,6 +21,7 @@
import java.net.URI;
import java.net.URL;
+import java.util.prefs.Preferences;
import junit.framework.TestCase;
@@ -125,8 +126,11 @@
try
{
URI uri = new URI( CONTENT_MANAGER_PLUGIN );
+ Preferences prefs = Preferences.userNodeForPackage(
Transit.class ).node( "test" ).node( "urls" );
TransitHome home = new PreferencesStorageHome();
- TransitManager MANAGER = home.createTransitManager();
+ home.setPreferences( prefs );
+ home.clearBeforeInitialization( true );
+ TransitManager MANAGER = home.create();
MANAGER.getContentRegistryManager().setPluginURI( uri );
TRANSIT = Transit.getInstance( MANAGER );
}
- svn commit: r2715 - development/main/test/unit/plus/src/test/net/dpml/test/acme/plus, mcconnell, 06/05/2005
Archive powered by MHonArc 2.6.24.