incubator-depot-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject svn commit: rev 10433 - in incubator/depot/trunk/update: . src/java/org/apache/depot/update/repository src/test/org/apache/depot/update/repository src/test/org/apache/depot/update/usecases whiteboard/mmay
Date Thu, 29 Apr 2004 21:08:28 GMT
Author: ajack
Date: Thu Apr 29 14:08:27 2004
New Revision: 10433

Modified:
   incubator/depot/trunk/update/.svnignore
   incubator/depot/trunk/update/src/java/org/apache/depot/update/repository/DefaultRepository.java
   incubator/depot/trunk/update/src/test/org/apache/depot/update/repository/RepositoryTests.java
   incubator/depot/trunk/update/src/test/org/apache/depot/update/usecases/FindTests.java
   incubator/depot/trunk/update/src/test/org/apache/depot/update/usecases/SynchronizeTests.java
   incubator/depot/trunk/update/whiteboard/mmay/md5Utility.xml
Log:
Tinkering trying to get tests working again.


Modified: incubator/depot/trunk/update/.svnignore
==============================================================================
--- incubator/depot/trunk/update/.svnignore	(original)
+++ incubator/depot/trunk/update/.svnignore	Thu Apr 29 14:08:27 2004
@@ -2,4 +2,3 @@
 dist
 .project
 .classpath
-helloworld*jar

Modified: incubator/depot/trunk/update/src/java/org/apache/depot/update/repository/DefaultRepository.java
==============================================================================
--- incubator/depot/trunk/update/src/java/org/apache/depot/update/repository/DefaultRepository.java
(original)
+++ incubator/depot/trunk/update/src/java/org/apache/depot/update/repository/DefaultRepository.java
Thu Apr 29 14:08:27 2004
@@ -176,7 +176,7 @@
 			"test",
 			new VirtualResourceLocator(
 				new VirtualResourceLocator(ResolvedFile.resolve(".")),
-				"transient/testrepo"));
+				"src/resource/test/testrepo"));
 	}
 
 	public static IRepository getRepository(String identifier) {

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/repository/RepositoryTests.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/repository/RepositoryTests.java
(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/repository/RepositoryTests.java
Thu Apr 29 14:08:27 2004
@@ -20,6 +20,7 @@
 
 import junit.framework.TestCase;
 
+import org.apache.depot.common.log.Logger;
 import org.apache.depot.update.impl.RepositoryWrapper;
 import org.apache.depot.update.impl.ResourceUpdaterContext;
 import org.apache.depot.update.resource.ResourceGroup;
@@ -42,6 +43,8 @@
 	}
 
 	public void setUp() throws Exception {
+
+		Logger.testInit();
 
 		m_repo1 = new RepositoryWrapper(DefaultRepository
 				.getLocalTestRepository(), ResourceUpdaterContext

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/usecases/FindTests.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/usecases/FindTests.java
(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/usecases/FindTests.java
Thu Apr 29 14:08:27 2004
@@ -35,7 +35,7 @@
 import org.apache.depot.update.util.net.VirtualResourceLocator;
 
 public class FindTests extends TestCase {
-	private ResolvedFile m_repoDir = ResolvedFile.resolve("transient/usecase/find/repo");
+	private ResolvedFile m_repoDir = ResolvedFile.resolve("src/resource/test/usecase/find/repo");
 	private FileHelper m_fileHelper = new FileHelper();
 
 	protected void setUp() {

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/usecases/SynchronizeTests.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/usecases/SynchronizeTests.java
(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/usecases/SynchronizeTests.java
Thu Apr 29 14:08:27 2004
@@ -31,8 +31,8 @@
 import org.apache.depot.update.repository.RepositorySet;
 
 public class SynchronizeTests extends TestCase {
-	File m_repoDir = new File("transient/usecase/synchronize/repo");
-	File m_targetDir = new File("transient/usecase/synchronize/target");
+	File m_repoDir = new File("src/resource/test/usecase/synchronize/repo");
+	File m_targetDir = new File("src/resource/test/usecase/synchronize/target");
 	FileHelper m_fileHelper = new FileHelper();
 
 	protected void setUp() {

Modified: incubator/depot/trunk/update/whiteboard/mmay/md5Utility.xml
==============================================================================
--- incubator/depot/trunk/update/whiteboard/mmay/md5Utility.xml	(original)
+++ incubator/depot/trunk/update/whiteboard/mmay/md5Utility.xml	Thu Apr 29 14:08:27 2004
@@ -2,7 +2,7 @@
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
 <document> 
   <header> 
-    <title>MD5 Utilities for Apache Ruper (of Depot)</title> 
+    <title>MD5 Utilities for Apache Depot Update</title> 
   </header> 
   <body> 
     <section>

Mime
View raw message