Author: epunzalan
Date: Fri Feb 24 16:41:42 2006
New Revision: 380875

URL: http://svn.apache.org/viewcvs?rev=380875&view=rev
Log:
PR: MRM-59

Revised the unit test to use its own repository cache using the appropriate 
repository.  Btw, this shows that the cache layout reflect the proxy 
configuration layout.  This is needed so that checksums on 1.x repositories are 
located in the same directory as the checksumed file.

Modified:
    
maven/repository-manager/trunk/maven-repository-proxy/src/test/java/org/apache/maven/repository/proxy/LegacyProxyManagerTest.java

Modified: 
maven/repository-manager/trunk/maven-repository-proxy/src/test/java/org/apache/maven/repository/proxy/LegacyProxyManagerTest.java
URL: 
http://svn.apache.org/viewcvs/maven/repository-manager/trunk/maven-repository-proxy/src/test/java/org/apache/maven/repository/proxy/LegacyProxyManagerTest.java?rev=380875&r1=380874&r2=380875&view=diff
==============================================================================
--- 
maven/repository-manager/trunk/maven-repository-proxy/src/test/java/org/apache/maven/repository/proxy/LegacyProxyManagerTest.java
 (original)
+++ 
maven/repository-manager/trunk/maven-repository-proxy/src/test/java/org/apache/maven/repository/proxy/LegacyProxyManagerTest.java
 Fri Feb 24 16:41:42 2006
@@ -40,7 +40,7 @@
         super.setUp();
 
         ProxyManagerFactory factory = (ProxyManagerFactory) container.lookup( 
ProxyManagerFactory.ROLE );
-        proxy = factory.getProxyManager( "default", getTestConfiguration() );
+        proxy = factory.getProxyManager( "legacy", getTestConfiguration() );
     }
 
     public void testExceptions()
@@ -135,7 +135,7 @@
     {
         ProxyConfiguration config = (ProxyConfiguration) container.lookup( 
ProxyConfiguration.ROLE );
 
-        config.setRepositoryCachePath( "target/proxy-cache" );
+        config.setRepositoryCachePath( "target/m1-proxy-cache" );
 
         ArtifactRepositoryLayout layout = new LegacyRepositoryLayout();
 


Reply via email to