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 9957 - in incubator/depot/trunk: common/src/java/org/apache/depot/common/log common/src/test/org/apache/depot/common/junit common/src/test/org/apache/depot/common/util/classpath update/src/test/org/apache/depot/update/ant/sandbox/chalko update/src/test/org/apache/depot/update/ant/task update/src/test/org/apache/depot/update/files update/src/test/org/apache/depot/update/resource update/src/test/org/apache/depot/update/usecases update/src/test/org/apache/depot/update/util/net update/src/test/org/apache/depot/update/util/select update/src/test/org/apache/depot/update/util/select/logic update/src/test/org/apache/depot/update/util/text update/src/test/org/apache/depot/update/util/xml version/src/test/java/org/apache/depot/version version/src/test/java/org/apache/depot/version/ant/available version/src/test/java/org/apache/depot/version/ant/constraint version/src/test/java/org/apache/depot/version/ant/environment version/src/test/java/org/apache/depot/version/ant/stamp version/src/test/java/org/apache/depot/version/constraint/discovery/text version/src/test/java/org/apache/depot/version/context version/src/test/java/org/apache/depot/version/discovery/loading version/src/test/java/org/apache/depot/version/extension version/src/test/java/org/apache/depot/version/impl version/src/test/java/org/apache/depot/version/impl/data version/src/test/java/org/apache/depot/version/interfacing version/src/test/java/org/apache/depot/version/util/dom
Date Fri, 09 Apr 2004 21:28:15 GMT
Author: ajack
Date: Fri Apr  9 14:28:11 2004
New Revision: 9957

Added:
   incubator/depot/trunk/common/src/test/org/apache/depot/common/junit/
   incubator/depot/trunk/common/src/test/org/apache/depot/common/junit/DepotBuildFileTest.java
   incubator/depot/trunk/common/src/test/org/apache/depot/common/junit/DepotTestCase.java
Modified:
   incubator/depot/trunk/common/src/java/org/apache/depot/common/log/Logger.java
   incubator/depot/trunk/common/src/test/org/apache/depot/common/util/classpath/PathContextTests.java
   incubator/depot/trunk/common/src/test/org/apache/depot/common/util/classpath/PathPartTests.java
   incubator/depot/trunk/common/src/test/org/apache/depot/common/util/classpath/PathSetTests.java
   incubator/depot/trunk/common/src/test/org/apache/depot/common/util/classpath/PathWalkerFilterTests.java
   incubator/depot/trunk/common/src/test/org/apache/depot/common/util/classpath/PathWalkerTests.java
   incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/sandbox/chalko/UpdateSetTaskTest.java
   incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/task/AntTasksTests.java
   incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/task/RepositoryToolTaskTests.java
   incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/task/SynchronizeTaskTests.java
   incubator/depot/trunk/update/src/test/org/apache/depot/update/files/DefaultResourceAnalyzerTests.java
   incubator/depot/trunk/update/src/test/org/apache/depot/update/files/ResourceAnalyzerTests.java
   incubator/depot/trunk/update/src/test/org/apache/depot/update/resource/ResourceTests.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/src/test/org/apache/depot/update/util/net/VirtualResourceLocatorTests.java
   incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/CompositeSelectorTests.java
   incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/SelectionTests.java
   incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/logic/AndSelectorTests.java
   incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/logic/BooleanSelectorTests.java
   incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/logic/NotSelectorTests.java
   incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/logic/OrSelectorTests.java
   incubator/depot/trunk/update/src/test/org/apache/depot/update/util/text/MessageTests.java
   incubator/depot/trunk/update/src/test/org/apache/depot/update/util/xml/XMLParserTests.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/VersionRuntimeTests.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/available/VersionAvailableTaskTest.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/constraint/ConstraintCheckTaskTest.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/constraint/ConstraintGeneratorTaskTest.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/environment/EnvironmentTaskTest.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/stamp/VersionGeneratorTaskTest.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/constraint/discovery/text/ConstraintTextTests.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/context/ExtensionRegistryTests.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/context/VersionContextTests.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/context/VersionInformationTests.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/context/VersionRegistryTests.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/discovery/loading/FilenameLoaderTests.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/discovery/loading/LoadTypeTests.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/discovery/loading/VersionRuntimeLoadingTests.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/extension/VirtualMachineExtensionInformationTests.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/CompatibilityTests.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/ImporterTests.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/ResolverTests.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/VersionIdentifierTest.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/VersionImporterTests.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/VersionTest.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataComparisonTest.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataConstructorTests.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataElementSetTest.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataMethodTests.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataRangeIteratorTest.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataRangeTest.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/interfacing/FieldMethodEntityBase1.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/interfacing/InterfaceBase1.java
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/util/dom/DOMTests.java
Log:
Tinkering w/ unit tests.


Modified: incubator/depot/trunk/common/src/java/org/apache/depot/common/log/Logger.java
==============================================================================
--- incubator/depot/trunk/common/src/java/org/apache/depot/common/log/Logger.java	(original)
+++ incubator/depot/trunk/common/src/java/org/apache/depot/common/log/Logger.java	Fri Apr  9 14:28:11 2004
@@ -18,6 +18,7 @@
 import java.util.Iterator;
 import java.util.List;
 import java.util.Stack;
+
 import org.apache.depot.common.util.debug.DebugUtils;
 /**
  * @author anou_mana

Added: incubator/depot/trunk/common/src/test/org/apache/depot/common/junit/DepotBuildFileTest.java
==============================================================================
--- (empty file)
+++ incubator/depot/trunk/common/src/test/org/apache/depot/common/junit/DepotBuildFileTest.java	Fri Apr  9 14:28:11 2004
@@ -0,0 +1,30 @@
+/*
+ * Created on Apr 9, 2004
+ */
+package org.apache.depot.common.junit;
+
+import org.apache.depot.common.log.Logger;
+import org.apache.tools.ant.BuildFileTest;
+
+/**
+ * @author ajack
+ */
+public class DepotBuildFileTest extends BuildFileTest {
+	/**
+	 * @param name
+	 */
+	public DepotBuildFileTest(String name) {
+		super(name);
+		// TODO Auto-generated constructor stub
+	}
+	
+	
+	/* (non-Javadoc)
+	 * @see junit.framework.TestCase#setUp()
+	 */
+	protected void setUp() throws Exception {
+		super.setUp();
+		
+		Logger.testInit();
+	}
+}

Added: incubator/depot/trunk/common/src/test/org/apache/depot/common/junit/DepotTestCase.java
==============================================================================
--- (empty file)
+++ incubator/depot/trunk/common/src/test/org/apache/depot/common/junit/DepotTestCase.java	Fri Apr  9 14:28:11 2004
@@ -0,0 +1,36 @@
+/*
+ * Created on Apr 9, 2004
+ */
+package org.apache.depot.common.junit;
+
+import junit.framework.TestCase;
+
+import org.apache.depot.common.log.Logger;
+
+/**
+ * @author ajack
+ */
+public class DepotTestCase extends TestCase {
+	/**
+	 * 
+	 */
+	public DepotTestCase() {
+		super();
+	}
+	
+	/**
+	 * @param arg0
+	 */
+	public DepotTestCase(String arg0) {
+		super(arg0);
+	}
+	
+	/* (non-Javadoc)
+	 * @see junit.framework.TestCase#setUp()
+	 */
+	protected void setUp() throws Exception {
+		super.setUp();
+		
+		Logger.testInit();
+	}
+}

Modified: incubator/depot/trunk/common/src/test/org/apache/depot/common/util/classpath/PathContextTests.java
==============================================================================
--- incubator/depot/trunk/common/src/test/org/apache/depot/common/util/classpath/PathContextTests.java	(original)
+++ incubator/depot/trunk/common/src/test/org/apache/depot/common/util/classpath/PathContextTests.java	Fri Apr  9 14:28:11 2004
@@ -16,12 +16,12 @@
 
 package org.apache.depot.common.util.classpath;
 
-import junit.framework.TestCase;
+import org.apache.depot.common.junit.DepotTestCase;
 
 /**
  * @author ajack
  */
-public class PathContextTests extends TestCase {
+public class PathContextTests extends DepotTestCase {
 
 	public PathContextTests(String arg0) {
 		super(arg0);

Modified: incubator/depot/trunk/common/src/test/org/apache/depot/common/util/classpath/PathPartTests.java
==============================================================================
--- incubator/depot/trunk/common/src/test/org/apache/depot/common/util/classpath/PathPartTests.java	(original)
+++ incubator/depot/trunk/common/src/test/org/apache/depot/common/util/classpath/PathPartTests.java	Fri Apr  9 14:28:11 2004
@@ -16,12 +16,12 @@
 
 package org.apache.depot.common.util.classpath;
 
-import junit.framework.TestCase;
+import org.apache.depot.common.junit.DepotTestCase;
 
 /**
  * @author ajack
  */
-public class PathPartTests extends TestCase {
+public class PathPartTests extends DepotTestCase {
 
 	public PathPartTests(String arg0) {
 		super(arg0);

Modified: incubator/depot/trunk/common/src/test/org/apache/depot/common/util/classpath/PathSetTests.java
==============================================================================
--- incubator/depot/trunk/common/src/test/org/apache/depot/common/util/classpath/PathSetTests.java	(original)
+++ incubator/depot/trunk/common/src/test/org/apache/depot/common/util/classpath/PathSetTests.java	Fri Apr  9 14:28:11 2004
@@ -18,12 +18,12 @@
 
 import java.util.Iterator;
 
-import junit.framework.TestCase;
+import org.apache.depot.common.junit.DepotTestCase;
 
 /**
  * @author ajack
  */
-public class PathSetTests extends TestCase {
+public class PathSetTests extends DepotTestCase {
 
 	public PathSetTests(String arg0) {
 		super(arg0);

Modified: incubator/depot/trunk/common/src/test/org/apache/depot/common/util/classpath/PathWalkerFilterTests.java
==============================================================================
--- incubator/depot/trunk/common/src/test/org/apache/depot/common/util/classpath/PathWalkerFilterTests.java	(original)
+++ incubator/depot/trunk/common/src/test/org/apache/depot/common/util/classpath/PathWalkerFilterTests.java	Fri Apr  9 14:28:11 2004
@@ -20,8 +20,7 @@
 import java.io.InputStream;
 import java.util.jar.Manifest;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.common.util.classpath.listener.DirectoryListener;
 import org.apache.depot.common.util.classpath.listener.FileContentsListener;
 import org.apache.depot.common.util.classpath.listener.FileListener;
@@ -33,7 +32,7 @@
  * @author ajack
  */
 public class PathWalkerFilterTests
-	extends TestCase
+	extends DepotTestCase
 	implements
 		FileListener,
 		FileContentsListener,

Modified: incubator/depot/trunk/common/src/test/org/apache/depot/common/util/classpath/PathWalkerTests.java
==============================================================================
--- incubator/depot/trunk/common/src/test/org/apache/depot/common/util/classpath/PathWalkerTests.java	(original)
+++ incubator/depot/trunk/common/src/test/org/apache/depot/common/util/classpath/PathWalkerTests.java	Fri Apr  9 14:28:11 2004
@@ -20,8 +20,7 @@
 import java.io.InputStream;
 import java.util.jar.Manifest;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.common.util.classpath.listener.DirectoryListener;
 import org.apache.depot.common.util.classpath.listener.FileContentsListener;
 import org.apache.depot.common.util.classpath.listener.FileListener;
@@ -33,7 +32,7 @@
  * @author ajack
  */
 public class PathWalkerTests
-	extends TestCase
+	extends DepotTestCase
 	implements
 		FileListener,
 		FileContentsListener,

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/sandbox/chalko/UpdateSetTaskTest.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/sandbox/chalko/UpdateSetTaskTest.java	(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/sandbox/chalko/UpdateSetTaskTest.java	Fri Apr  9 14:28:11 2004
@@ -17,14 +17,14 @@
 package org.apache.depot.update.ant.sandbox.chalko;
 import java.io.File;
 
+import org.apache.depot.common.junit.DepotBuildFileTest;
 import org.apache.depot.common.log.Logger;
-import org.apache.tools.ant.BuildFileTest;
 /**
  * @author <a href="http://incubator.apache.org/depot"
  *         >The Apache Incubator Depot Project</a>
  * @version $LastChangedRevision: 9844 $
  */
-public class UpdateSetTaskTest extends BuildFileTest {
+public class UpdateSetTaskTest extends DepotBuildFileTest {
 	/**
 	 * Constructor for RuperDependTaskTest.
 	 * 

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/task/AntTasksTests.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/task/AntTasksTests.java	(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/task/AntTasksTests.java	Fri Apr  9 14:28:11 2004
@@ -16,14 +16,14 @@
 
 package org.apache.depot.update.ant.task;
 
-import org.apache.tools.ant.BuildFileTest;
+import org.apache.depot.common.junit.DepotBuildFileTest;
 
 /**
  * 
  * @author $Author: arb_jack $
  * @version $Revision: 1.1 $
  */
-public class AntTasksTests extends BuildFileTest {
+public class AntTasksTests extends DepotBuildFileTest {
 
 	/**
 	 * Constructor for RuperDependTaskTest.
@@ -37,12 +37,12 @@
 		junit.textui.TestRunner.run(AntTasksTests.class);
 	}
 
-	public void setUp() {
+	public void setUp() throws Exception {
+    	super.setUp();
 		configureProject("update/src/test/org/apache/depot/update/ant/task/anttasks.xml");
 	}
 
 	public void test1() {
 		executeTarget("typical");
 	}
-	
 }

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/task/RepositoryToolTaskTests.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/task/RepositoryToolTaskTests.java	(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/task/RepositoryToolTaskTests.java	Fri Apr  9 14:28:11 2004
@@ -16,14 +16,14 @@
 
 package org.apache.depot.update.ant.task;
 
-import org.apache.tools.ant.BuildFileTest;
+import org.apache.depot.common.junit.DepotBuildFileTest;
 
 /**
  * 
  * @author $Author: arb_jack $
  * @version $Revision: 1.1 $
  */
-public class RepositoryToolTaskTests extends BuildFileTest {
+public class RepositoryToolTaskTests extends DepotBuildFileTest {
 
 	/**
 	 * Constructor for RuperDependTaskTest.

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/task/SynchronizeTaskTests.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/task/SynchronizeTaskTests.java	(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/task/SynchronizeTaskTests.java	Fri Apr  9 14:28:11 2004
@@ -18,15 +18,15 @@
 
 import junit.framework.Assert;
 
+import org.apache.depot.common.junit.DepotBuildFileTest;
 import org.apache.tools.ant.BuildException;
-import org.apache.tools.ant.BuildFileTest;
 
 /**
  * 
  * @author $Author: arb_jack $
  * @version $Revision: 1.2 $
  */
-public class SynchronizeTaskTests extends BuildFileTest {
+public class SynchronizeTaskTests extends DepotBuildFileTest {
 
 	/**
 	 * Constructor for RuperDependTaskTest.

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/files/DefaultResourceAnalyzerTests.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/files/DefaultResourceAnalyzerTests.java	(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/files/DefaultResourceAnalyzerTests.java	Fri Apr  9 14:28:11 2004
@@ -18,8 +18,7 @@
 import java.util.ArrayList;
 import java.util.List;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.update.UpdateException;
 import org.apache.depot.update.resource.Resource;
 import org.apache.depot.update.resource.ResourceType;
@@ -30,7 +29,7 @@
 /**
  * @author arb_jack
  */
-public class DefaultResourceAnalyzerTests extends TestCase {
+public class DefaultResourceAnalyzerTests extends DepotTestCase {
 
 	private DefaultResourceFilenameAnalyzer m_analyzer = null;
 	private VirtualResourceLocator m_http = null;

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/files/ResourceAnalyzerTests.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/files/ResourceAnalyzerTests.java	(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/files/ResourceAnalyzerTests.java	Fri Apr  9 14:28:11 2004
@@ -18,8 +18,7 @@
 import java.util.ArrayList;
 import java.util.List;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.common.log.Logger;
 import org.apache.depot.common.util.debug.DebugUtils;
 import org.apache.depot.update.UpdateException;
@@ -31,7 +30,7 @@
 /**
  * @author arb_jack
  */
-public class ResourceAnalyzerTests extends TestCase {
+public class ResourceAnalyzerTests extends DepotTestCase {
 
 	private IResourceFilenameAnalyzer m_analyzer = null;
 

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/resource/ResourceTests.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/resource/ResourceTests.java	(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/resource/ResourceTests.java	Fri Apr  9 14:28:11 2004
@@ -16,14 +16,13 @@
 
 package org.apache.depot.update.resource;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.common.log.Logger;
 
 /**
  * @author arb_jack
  */
-public class ResourceTests extends TestCase {
+public class ResourceTests extends DepotTestCase {
 
 	static {
 		Logger.testInit();

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	Fri Apr  9 14:28:11 2004
@@ -20,9 +20,9 @@
 import java.util.List;
 
 import junit.framework.Test;
-import junit.framework.TestCase;
 import junit.framework.TestSuite;
 
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.update.ResourceUpdater;
 import org.apache.depot.update.query.ResourceQuery;
 import org.apache.depot.update.query.ResourceQueryHelper;
@@ -34,7 +34,7 @@
 import org.apache.depot.update.util.io.ResolvedFile;
 import org.apache.depot.update.util.net.VirtualResourceLocator;
 
-public class FindTests extends TestCase {
+public class FindTests extends DepotTestCase {
 	private ResolvedFile m_repoDir = ResolvedFile.resolve("transient/usecase/find/repo");
 	private FileHelper m_fileHelper = new FileHelper();
 

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	Fri Apr  9 14:28:11 2004
@@ -19,9 +19,9 @@
 import java.io.File;
 
 import junit.framework.Test;
-import junit.framework.TestCase;
 import junit.framework.TestSuite;
 
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.update.FileAssistant;
 import org.apache.depot.update.FileUpdater;
 import org.apache.depot.update.ResourceUpdater;
@@ -30,7 +30,7 @@
 import org.apache.depot.update.repository.IRepository;
 import org.apache.depot.update.repository.RepositorySet;
 
-public class SynchronizeTests extends TestCase {
+public class SynchronizeTests extends DepotTestCase {
 	File m_repoDir = new File("transient/usecase/synchronize/repo");
 	File m_targetDir = new File("transient/usecase/synchronize/target");
 	FileHelper m_fileHelper = new FileHelper();

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/util/net/VirtualResourceLocatorTests.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/util/net/VirtualResourceLocatorTests.java	(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/util/net/VirtualResourceLocatorTests.java	Fri Apr  9 14:28:11 2004
@@ -18,15 +18,14 @@
 
 import java.net.URL;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.update.protocols.Protocol;
 import org.apache.depot.update.util.io.ResolvedFile;
 
 /**
  * @author arb_jack
  */
-public class VirtualResourceLocatorTests extends TestCase {
+public class VirtualResourceLocatorTests extends DepotTestCase {
 
 	private URL m_mavenUrl = null;
 

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/CompositeSelectorTests.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/CompositeSelectorTests.java	(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/CompositeSelectorTests.java	Fri Apr  9 14:28:11 2004
@@ -19,10 +19,11 @@
 import java.util.Iterator;
 
 import junit.framework.Test;
-import junit.framework.TestCase;
 import junit.framework.TestSuite;
 
-public class CompositeSelectorTests extends TestCase {
+import org.apache.depot.common.junit.DepotTestCase;
+
+public class CompositeSelectorTests extends DepotTestCase {
 
     static class ConcreteCompositeSelector extends CompositeSelector {
         public boolean select(Object o) throws Exception {

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/SelectionTests.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/SelectionTests.java	(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/SelectionTests.java	Fri Apr  9 14:28:11 2004
@@ -19,15 +19,14 @@
 import java.util.ArrayList;
 import java.util.List;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.update.util.regexp.RegularExpressionSelector;
 
 
 /**
  * @author arb_jack
  */
-public class SelectionTests extends TestCase {
+public class SelectionTests extends DepotTestCase {
 
 	private List m_list = null;
 

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/logic/AndSelectorTests.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/logic/AndSelectorTests.java	(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/logic/AndSelectorTests.java	Fri Apr  9 14:28:11 2004
@@ -17,20 +17,14 @@
 package org.apache.depot.update.util.select.logic;
 
 import junit.framework.Test;
-import junit.framework.TestCase;
 import junit.framework.TestSuite;
 
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.update.util.select.MockSelector;
 
-public class AndSelectorTests extends TestCase {
+public class AndSelectorTests extends DepotTestCase {
 
     AndSelector m_and = new AndSelector();
-
-    protected void setUp() {
-    }
-
-    protected void tearDown() {
-    }
 
     public void testEmpty() throws Exception {
         assertTrue("Empty selector should be true", m_and.select(this));

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/logic/BooleanSelectorTests.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/logic/BooleanSelectorTests.java	(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/logic/BooleanSelectorTests.java	Fri Apr  9 14:28:11 2004
@@ -17,12 +17,12 @@
 package org.apache.depot.update.util.select.logic;
 
 import junit.framework.Test;
-import junit.framework.TestCase;
 import junit.framework.TestSuite;
 
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.update.util.select.ISelector;
 
-public class BooleanSelectorTests extends TestCase {
+public class BooleanSelectorTests extends DepotTestCase {
 
     protected void setUp() {
     }

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/logic/NotSelectorTests.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/logic/NotSelectorTests.java	(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/logic/NotSelectorTests.java	Fri Apr  9 14:28:11 2004
@@ -17,10 +17,11 @@
 package org.apache.depot.update.util.select.logic;
 
 import junit.framework.Test;
-import junit.framework.TestCase;
 import junit.framework.TestSuite;
 
-public class NotSelectorTests extends TestCase {
+import org.apache.depot.common.junit.DepotTestCase;
+
+public class NotSelectorTests extends DepotTestCase {
 
     private NotSelector m_not = new NotSelector();
 

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/logic/OrSelectorTests.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/logic/OrSelectorTests.java	(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/util/select/logic/OrSelectorTests.java	Fri Apr  9 14:28:11 2004
@@ -17,12 +17,12 @@
 package org.apache.depot.update.util.select.logic;
 
 import junit.framework.Test;
-import junit.framework.TestCase;
 import junit.framework.TestSuite;
 
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.update.util.select.MockSelector;
 
-public class OrSelectorTests extends TestCase {
+public class OrSelectorTests extends DepotTestCase {
     OrSelector m_or = new OrSelector();
 
     protected void setUp() {

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/util/text/MessageTests.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/util/text/MessageTests.java	(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/util/text/MessageTests.java	Fri Apr  9 14:28:11 2004
@@ -19,9 +19,9 @@
 import java.util.Iterator;
 import java.util.List;
 
-import junit.framework.TestCase;
+import org.apache.depot.common.junit.DepotTestCase;
 
-public class MessageTests extends TestCase {
+public class MessageTests extends DepotTestCase {
 
 	public MessageTests(String name) {
 		super(name);

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/util/xml/XMLParserTests.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/util/xml/XMLParserTests.java	(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/util/xml/XMLParserTests.java	Fri Apr  9 14:28:11 2004
@@ -19,11 +19,10 @@
 import java.io.File;
 import java.util.HashMap;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.common.util.envsafe.ClassLoaderContext;
 
-public class XMLParserTests extends TestCase {
+public class XMLParserTests extends DepotTestCase {
 
 	public XMLParserTests(String name) {
 		super(name);

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/VersionRuntimeTests.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/VersionRuntimeTests.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/VersionRuntimeTests.java	Fri Apr  9 14:28:11 2004
@@ -16,8 +16,7 @@
 
 package org.apache.depot.version;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.common.util.classpath.PathContext;
 import org.apache.depot.common.util.classpath.PathSet;
 import org.apache.depot.version.context.VersionInformation;
@@ -27,7 +26,7 @@
 /**
  * @author ajack
  */
-public class VersionRuntimeTests extends TestCase {
+public class VersionRuntimeTests extends DepotTestCase {
 
 	public VersionRuntimeTests(String arg0) {
 		super(arg0);

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/available/VersionAvailableTaskTest.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/available/VersionAvailableTaskTest.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/available/VersionAvailableTaskTest.java	Fri Apr  9 14:28:11 2004
@@ -16,9 +16,9 @@
 
 package org.apache.depot.version.ant.available;
 
-import org.apache.tools.ant.BuildFileTest;
+import org.apache.depot.common.junit.DepotBuildFileTest;
 
-public class VersionAvailableTaskTest extends BuildFileTest {
+public class VersionAvailableTaskTest extends DepotBuildFileTest {
 
     /**
      * Constructor for VersionTask.

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/constraint/ConstraintCheckTaskTest.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/constraint/ConstraintCheckTaskTest.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/constraint/ConstraintCheckTaskTest.java	Fri Apr  9 14:28:11 2004
@@ -16,10 +16,10 @@
 
 package org.apache.depot.version.ant.constraint;
 
-import org.apache.tools.ant.BuildFileTest;
+import org.apache.depot.common.junit.DepotBuildFileTest;
 
 
-public class ConstraintCheckTaskTest extends BuildFileTest {
+public class ConstraintCheckTaskTest extends DepotBuildFileTest {
 
     /**
      * Constructor for ConstraintEvaluatorTaskTest.

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/constraint/ConstraintGeneratorTaskTest.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/constraint/ConstraintGeneratorTaskTest.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/constraint/ConstraintGeneratorTaskTest.java	Fri Apr  9 14:28:11 2004
@@ -16,10 +16,10 @@
 
 package org.apache.depot.version.ant.constraint;
 
-import org.apache.tools.ant.BuildFileTest;
+import org.apache.depot.common.junit.DepotBuildFileTest;
 
 
-public class ConstraintGeneratorTaskTest extends BuildFileTest {
+public class ConstraintGeneratorTaskTest extends DepotBuildFileTest {
 
     /**
      * Constructor for ConstraintEvaluatorTaskTest.

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/environment/EnvironmentTaskTest.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/environment/EnvironmentTaskTest.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/environment/EnvironmentTaskTest.java	Fri Apr  9 14:28:11 2004
@@ -16,9 +16,9 @@
 
 package org.apache.depot.version.ant.environment;
 
-import org.apache.tools.ant.BuildFileTest;
+import org.apache.depot.common.junit.DepotBuildFileTest;
 
-public class EnvironmentTaskTest extends BuildFileTest {
+public class EnvironmentTaskTest extends DepotBuildFileTest {
 
     /**
      * Constructor for EnvironmentTaskTest.

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/stamp/VersionGeneratorTaskTest.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/stamp/VersionGeneratorTaskTest.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/stamp/VersionGeneratorTaskTest.java	Fri Apr  9 14:28:11 2004
@@ -16,9 +16,9 @@
 
 package org.apache.depot.version.ant.stamp;
 
-import org.apache.tools.ant.BuildFileTest;
+import org.apache.depot.common.junit.DepotBuildFileTest;
 
-public class VersionGeneratorTaskTest extends BuildFileTest {
+public class VersionGeneratorTaskTest extends DepotBuildFileTest {
 
     /**
      * Constructor for VersionTask.

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/constraint/discovery/text/ConstraintTextTests.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/constraint/discovery/text/ConstraintTextTests.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/constraint/discovery/text/ConstraintTextTests.java	Fri Apr  9 14:28:11 2004
@@ -16,8 +16,7 @@
 
 package org.apache.depot.version.constraint.discovery.text;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.version.VersionException;
 import org.apache.depot.version.constraint.IContextConstraint;
 import org.apache.depot.version.constraint.text.ConstraintTextFactory;
@@ -26,7 +25,7 @@
 /**
  * @author arb_jack@users.sourceforge.net
  */
-public class ConstraintTextTests extends TestCase {
+public class ConstraintTextTests extends DepotTestCase {
 
 	public ConstraintTextTests(String arg0) {
 		super(arg0);

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/context/ExtensionRegistryTests.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/context/ExtensionRegistryTests.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/context/ExtensionRegistryTests.java	Fri Apr  9 14:28:11 2004
@@ -16,8 +16,7 @@
 
 package org.apache.depot.version.context;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.version.VersionRuntime;
 import org.apache.depot.version.discovery.loading.LoadType;
 import org.apache.depot.version.extension.VirtualMachineExtension;
@@ -28,7 +27,7 @@
 /**
  * @author ajack
  */
-public class ExtensionRegistryTests extends TestCase {
+public class ExtensionRegistryTests extends DepotTestCase {
 
 	public ExtensionRegistryTests(String arg0) {
 		super(arg0);

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/context/VersionContextTests.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/context/VersionContextTests.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/context/VersionContextTests.java	Fri Apr  9 14:28:11 2004
@@ -16,12 +16,12 @@
 
 package org.apache.depot.version.context;
 
-import junit.framework.TestCase;
+import org.apache.depot.common.junit.DepotTestCase;
 
 /**
  * @author ajack
  */
-public class VersionContextTests extends TestCase {
+public class VersionContextTests extends DepotTestCase {
 
 	public VersionContextTests(String arg0) {
 		super(arg0);

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/context/VersionInformationTests.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/context/VersionInformationTests.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/context/VersionInformationTests.java	Fri Apr  9 14:28:11 2004
@@ -16,8 +16,7 @@
 
 package org.apache.depot.version.context;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.version.VersionRuntimeException;
 import org.apache.depot.version.discovery.loading.LoadType;
 import org.apache.depot.version.discovery.loading.VersionLoadContext;
@@ -28,7 +27,7 @@
 /**
  * @author ajack
  */
-public class VersionInformationTests extends TestCase {
+public class VersionInformationTests extends DepotTestCase {
 
 	public VersionInformationTests(String arg0) {
 		super(arg0);

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/context/VersionRegistryTests.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/context/VersionRegistryTests.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/context/VersionRegistryTests.java	Fri Apr  9 14:28:11 2004
@@ -16,8 +16,7 @@
 
 package org.apache.depot.version.context;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.version.VersionRuntime;
 import org.apache.depot.version.discovery.loading.LoadType;
 import org.apache.depot.version.discovery.loading.VersionLoadContext;
@@ -28,7 +27,7 @@
 /**
  * @author ajack
  */
-public class VersionRegistryTests extends TestCase {
+public class VersionRegistryTests extends DepotTestCase {
 
 	public VersionRegistryTests(String arg0) {
 		super(arg0);

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/discovery/loading/FilenameLoaderTests.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/discovery/loading/FilenameLoaderTests.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/discovery/loading/FilenameLoaderTests.java	Fri Apr  9 14:28:11 2004
@@ -18,8 +18,7 @@
 
 import java.io.File;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.version.VersionException;
 import org.apache.depot.version.VersionMarker;
 import org.apache.depot.version.impl.ApacheVersionMarker;
@@ -30,7 +29,7 @@
 /**
  * @author arb_jack@users.sourceforge.net
  */
-public class FilenameLoaderTests extends TestCase {
+public class FilenameLoaderTests extends DepotTestCase {
 	private static final String TEST_ID = "foo";
 
 	private FilenameVersionLoader m_loader = null;

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/discovery/loading/LoadTypeTests.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/discovery/loading/LoadTypeTests.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/discovery/loading/LoadTypeTests.java	Fri Apr  9 14:28:11 2004
@@ -16,14 +16,13 @@
 
 package org.apache.depot.version.discovery.loading;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.version.VersionException;
 
 /**
  * @author ajack
  */
-public class LoadTypeTests extends TestCase {
+public class LoadTypeTests extends DepotTestCase {
 
 	public LoadTypeTests(String arg0) {
 		super(arg0);

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/discovery/loading/VersionRuntimeLoadingTests.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/discovery/loading/VersionRuntimeLoadingTests.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/discovery/loading/VersionRuntimeLoadingTests.java	Fri Apr  9 14:28:11 2004
@@ -18,8 +18,7 @@
 
 import java.util.Iterator;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.version.VersionException;
 import org.apache.depot.version.VersionRuntime;
 import org.apache.depot.version.context.VersionEnvironment;
@@ -29,7 +28,7 @@
 /**
  * @author ajack
  */
-public class VersionRuntimeLoadingTests extends TestCase {
+public class VersionRuntimeLoadingTests extends DepotTestCase {
 
 	public VersionRuntimeLoadingTests(String arg0) {
 		super(arg0);

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/extension/VirtualMachineExtensionInformationTests.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/extension/VirtualMachineExtensionInformationTests.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/extension/VirtualMachineExtensionInformationTests.java	Fri Apr  9 14:28:11 2004
@@ -16,8 +16,7 @@
 
 package org.apache.depot.version.extension;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.version.VersionRuntimeException;
 import org.apache.depot.version.discovery.loading.LoadType;
 import org.apache.depot.version.impl.ApacheVersion;
@@ -25,7 +24,7 @@
 /**
  * @author ajack
  */
-public class VirtualMachineExtensionInformationTests extends TestCase {
+public class VirtualMachineExtensionInformationTests extends DepotTestCase {
 
 	public VirtualMachineExtensionInformationTests(String arg0) {
 		super(arg0);

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/CompatibilityTests.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/CompatibilityTests.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/CompatibilityTests.java	Fri Apr  9 14:28:11 2004
@@ -16,8 +16,7 @@
 
 package org.apache.depot.version.impl;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.version.VersionException;
 
 /**
@@ -26,7 +25,7 @@
  * @version $Revision: 1.3 $
  * 
  */
-public class CompatibilityTests extends TestCase {
+public class CompatibilityTests extends DepotTestCase {
 
 	/**
 	 * Constructor for CompatibilityTests.

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/ImporterTests.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/ImporterTests.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/ImporterTests.java	Fri Apr  9 14:28:11 2004
@@ -18,8 +18,7 @@
 
 import java.util.Date;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.version.VersionException;
 import org.apache.depot.version.impl.data.VersionData;
 import org.apache.depot.version.specification.VersionSpecificationFactory;
@@ -30,7 +29,7 @@
  * @version $Revision: 1.2 $
  * 
  */
-public class ImporterTests extends TestCase {
+public class ImporterTests extends DepotTestCase {
     public ImporterTests(String arg0) {
         super(arg0);
     }

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/ResolverTests.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/ResolverTests.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/ResolverTests.java	Fri Apr  9 14:28:11 2004
@@ -16,8 +16,7 @@
 
 package org.apache.depot.version.impl;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.version.VersionRuntime;
 import org.apache.depot.version.context.Resolver;
 import org.apache.depot.version.context.VersionInformation;
@@ -25,7 +24,7 @@
 /**
  * @author arb_jack@users.sourceforge.net
  */
-public class ResolverTests extends TestCase {
+public class ResolverTests extends DepotTestCase {
 
     private Resolver m_resolver = null;
 

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/VersionIdentifierTest.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/VersionIdentifierTest.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/VersionIdentifierTest.java	Fri Apr  9 14:28:11 2004
@@ -16,15 +16,14 @@
 
 package org.apache.depot.version.impl;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.version.impl.sample.Version1;
 import org.apache.depot.version.version.Version;
 
 /**
  * @author ajack
  */
-public class VersionIdentifierTest extends TestCase {
+public class VersionIdentifierTest extends DepotTestCase {
 	public VersionIdentifierTest(String arg0) {
 		super(arg0);
 	}

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/VersionImporterTests.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/VersionImporterTests.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/VersionImporterTests.java	Fri Apr  9 14:28:11 2004
@@ -16,8 +16,7 @@
 
 package org.apache.depot.version.impl;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.version.VersionException;
 import org.apache.depot.version.impl.data.ReleaseLevel;
 import org.apache.depot.version.specification.VersionSpecification;
@@ -26,7 +25,7 @@
 /**
  * @author ajack
  */
-public class VersionImporterTests extends TestCase {
+public class VersionImporterTests extends DepotTestCase {
     public VersionImporterTests(String arg0) {
         super(arg0);
     }

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/VersionTest.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/VersionTest.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/VersionTest.java	Fri Apr  9 14:28:11 2004
@@ -21,12 +21,13 @@
 
 import junit.framework.TestCase;
 
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.version.impl.data.ReleaseLevel;
 
 /**
  * @author ajack
  */
-public class VersionTest extends TestCase {
+public class VersionTest extends DepotTestCase {
 
     private ApacheVersion m_version11A1 = null;
     private ApacheVersion m_version11A2 = null;

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataComparisonTest.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataComparisonTest.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataComparisonTest.java	Fri Apr  9 14:28:11 2004
@@ -16,8 +16,7 @@
 
 package org.apache.depot.version.impl.data;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.version.VersionException;
 import org.apache.depot.version.impl.VersionImporter;
 import org.apache.depot.version.impl.data.util.VersionDataComparison;
@@ -25,7 +24,7 @@
 /**
  * @author ajack
  */
-public class VersionDataComparisonTest extends TestCase {
+public class VersionDataComparisonTest extends DepotTestCase {
 	public VersionDataComparisonTest(String arg0) {
 		super(arg0);
 	}

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataConstructorTests.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataConstructorTests.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataConstructorTests.java	Fri Apr  9 14:28:11 2004
@@ -18,15 +18,14 @@
 
 import java.util.HashMap;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.version.VersionException;
 import org.apache.depot.version.impl.ApacheVersion;
 
 /**
  * @author ajack
  */
-public class VersionDataConstructorTests extends TestCase {
+public class VersionDataConstructorTests extends DepotTestCase {
     public VersionDataConstructorTests(String arg0) {
         super(arg0);
     }

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataElementSetTest.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataElementSetTest.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataElementSetTest.java	Fri Apr  9 14:28:11 2004
@@ -16,14 +16,13 @@
 
 package org.apache.depot.version.impl.data;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.version.VersionException;
 
 /**
  * @author ajack
  */
-public class VersionDataElementSetTest extends TestCase {
+public class VersionDataElementSetTest extends DepotTestCase {
     public VersionDataElementSetTest(String arg0) {
         super(arg0);
     }

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataMethodTests.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataMethodTests.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataMethodTests.java	Fri Apr  9 14:28:11 2004
@@ -16,14 +16,13 @@
 
 package org.apache.depot.version.impl.data;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.version.VersionException;
 
 /**
  * @author ajack
  */
-public class VersionDataMethodTests extends TestCase {
+public class VersionDataMethodTests extends DepotTestCase {
     public VersionDataMethodTests(String arg0) {
         super(arg0);
     }

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataRangeIteratorTest.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataRangeIteratorTest.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataRangeIteratorTest.java	Fri Apr  9 14:28:11 2004
@@ -18,15 +18,14 @@
 
 import java.util.Iterator;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.version.VersionException;
 import org.apache.depot.version.impl.data.util.VersionDataRangeIterator;
 
 /**
  * @author ajack
  */
-public class VersionDataRangeIteratorTest extends TestCase {
+public class VersionDataRangeIteratorTest extends DepotTestCase {
     public VersionDataRangeIteratorTest(String arg0) {
         super(arg0);
     }

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataRangeTest.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataRangeTest.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/data/VersionDataRangeTest.java	Fri Apr  9 14:28:11 2004
@@ -16,15 +16,14 @@
 
 package org.apache.depot.version.impl.data;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.version.VersionException;
 import org.apache.depot.version.impl.data.util.VersionDataRange;
 
 /**
  * @author ajack
  */
-public class VersionDataRangeTest extends TestCase {
+public class VersionDataRangeTest extends DepotTestCase {
     public VersionDataRangeTest(String arg0) {
         super(arg0);
     }

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/interfacing/FieldMethodEntityBase1.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/interfacing/FieldMethodEntityBase1.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/interfacing/FieldMethodEntityBase1.java	Fri Apr  9 14:28:11 2004
@@ -16,11 +16,11 @@
 
 package org.apache.depot.version.interfacing;
 
-import junit.framework.TestCase;
+import org.apache.depot.common.junit.DepotTestCase;
 
 /**
  */
-public class FieldMethodEntityBase1 extends TestCase {
+public class FieldMethodEntityBase1 extends DepotTestCase {
     public FieldMethodEntityBase1(String arg0) {
         super(arg0);
     }

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/interfacing/InterfaceBase1.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/interfacing/InterfaceBase1.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/interfacing/InterfaceBase1.java	Fri Apr  9 14:28:11 2004
@@ -19,8 +19,7 @@
 import java.util.List;
 import java.util.Map;
 
-import junit.framework.TestCase;
-
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.version.Version;
 import org.apache.depot.version.VersionException;
 import org.apache.depot.version.VersionMarker;
@@ -35,7 +34,7 @@
 /**
  * @author ajack
  */
-public class InterfaceBase1 extends TestCase {
+public class InterfaceBase1 extends DepotTestCase {
 	public InterfaceBase1(String arg0) {
 		super(arg0);
 	}

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/util/dom/DOMTests.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/util/dom/DOMTests.java	(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/util/dom/DOMTests.java	Fri Apr  9 14:28:11 2004
@@ -14,8 +14,8 @@
  *  limitations under the License.
  */
 package org.apache.depot.version.util.dom;
-import junit.framework.TestCase;
 import org.apache.depot.common.DepotException;
+import org.apache.depot.common.junit.DepotTestCase;
 import org.apache.depot.common.util.dom.DOMUtils;
 import org.apache.depot.version.VersionRuntime;
 import org.apache.depot.version.context.VersionEnvironment;
@@ -27,7 +27,7 @@
 /**
  * @author ajack
  */
-public class DOMTests extends TestCase {
+public class DOMTests extends DepotTestCase {
 	public DOMTests(String arg0) {
 		super(arg0);
 	}

Mime
View raw message