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 10428 - in incubator/depot/trunk/version: . src/java/org/apache/depot/version/impl src/java/org/apache/depot/version/version src/test/java/org/apache/depot/version/ant/available src/test/java/org/apache/depot/version/ant/constraint src/test/java/org/apache/depot/version/ant/environment src/test/java/org/apache/depot/version/ant/stamp src/test/java/org/apache/depot/version/impl
Date Thu, 29 Apr 2004 18:37:49 GMT
Author: ajack
Date: Thu Apr 29 11:37:49 2004
New Revision: 10428

Modified:
   incubator/depot/trunk/version/.svnignore
   incubator/depot/trunk/version/build.xml
   incubator/depot/trunk/version/src/java/org/apache/depot/version/impl/VersionImplementationConstants.java
   incubator/depot/trunk/version/src/java/org/apache/depot/version/version/Version.java.txt
   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/available.xml
   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/impl/VersionIdentifierTest.java
Log:
Running unit tests.


Modified: incubator/depot/trunk/version/.svnignore
==============================================================================
--- incubator/depot/trunk/version/.svnignore	(original)
+++ incubator/depot/trunk/version/.svnignore	Thu Apr 29 11:37:49 2004
@@ -1,2 +1,4 @@
-target
-dist
\ No newline at end of file
+build
+dist
+.project
+.classpath

Modified: incubator/depot/trunk/version/build.xml
==============================================================================
--- incubator/depot/trunk/version/build.xml	(original)
+++ incubator/depot/trunk/version/build.xml	Thu Apr 29 11:37:49 2004
@@ -18,7 +18,6 @@
 <project name="version" default="all">
 	<description> 
 		Depot Version is a Repository Updater 
-
 	</description>
 	<tstamp />
 	<typedef resource="org/krysalis/antworks/importer/antlib.xml"

Modified: incubator/depot/trunk/version/src/java/org/apache/depot/version/impl/VersionImplementationConstants.java
==============================================================================
--- incubator/depot/trunk/version/src/java/org/apache/depot/version/impl/VersionImplementationConstants.java
(original)
+++ incubator/depot/trunk/version/src/java/org/apache/depot/version/impl/VersionImplementationConstants.java
Thu Apr 29 11:37:49 2004
@@ -32,7 +32,7 @@
     public static final String VERSION_FORMAT_VERSION = "1.0.0-alpha";
 
     public static final String APACHE_PACKAGE = "org.apache";
-    public static final String VERSION_PACKAGE = APACHE_PACKAGE + ".version";
+    public static final String VERSION_PACKAGE = APACHE_PACKAGE + ".depot.version";
 
     //	The Apache Format
     public static final String APACHE_VERSION_FORMAT = VERSION_PACKAGE;

Modified: incubator/depot/trunk/version/src/java/org/apache/depot/version/version/Version.java.txt
==============================================================================
--- incubator/depot/trunk/version/src/java/org/apache/depot/version/version/Version.java.txt
(original)
+++ incubator/depot/trunk/version/src/java/org/apache/depot/version/version/Version.java.txt
Thu Apr 29 11:37:49 2004
@@ -21,6 +21,6 @@
  */
 public class Version extends ApacheVersionMarker {
 	public Version() throws VersionException {
-		super("org.apache.depot.version.version", "@project.version@");
+		super("org.apache.depot.version", "@project.version@");
 	}
 }

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
Thu Apr 29 11:37:49 2004
@@ -29,7 +29,7 @@
     }
 
     public void setUp() {
-        configureProject("version/src/test/java/org/apache/depot/version/ant/available/available.xml");
+        configureProject("src/test/java/org/apache/depot/version/ant/available/available.xml");
     }
 
     public void testExistence() {

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/available/available.xml
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/available/available.xml
(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/available/available.xml
Thu Apr 29 11:37:49 2004
@@ -14,7 +14,7 @@
 See the License for the specific language governing permissions and
 limitations under the License.
 -->
-<project name="version-test" basedir="../../../../../../../.." default="testSimple">
+<project name="version-test" basedir="../../../../../.." default="testSimple">
 	<taskdef resource="depot-version-antlib.xml"/>
 	
 	<target name="testExistence">

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
Thu Apr 29 11:37:49 2004
@@ -30,7 +30,7 @@
     }
 
     public void setUp() {
-        configureProject("version/src/test/org/apache/depot/version/ant/constraint/constraint-check.xml");
+        configureProject("src/test/java/org/apache/depot/version/ant/constraint/constraint-check.xml");
     }
     
     public void testSimple() {

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
Thu Apr 29 11:37:49 2004
@@ -30,7 +30,7 @@
     }
 
     public void setUp() {
-        configureProject("version/src/test/org/apache/depot/version/ant/constraint/constraint.xml");
+        configureProject("src/test/java/org/apache/depot/version/ant/constraint/constraint.xml");
     }
     
     public void testSimple() {

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
Thu Apr 29 11:37:49 2004
@@ -29,7 +29,7 @@
     }
 
     public void setUp() {
-        configureProject("version/src/test/org/apache/depot/version/ant/environment/environment.xml");
+        configureProject("src/test/java/org/apache/depot/version/ant/environment/environment.xml");
     }
 
     public void test() {

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
Thu Apr 29 11:37:49 2004
@@ -29,7 +29,7 @@
     }
 
     public void setUp() {
-        configureProject("version/src/test/java/ant/org/apache/version/ant/stamp/version.xml");
+        configureProject("src/test/java/org/apache/version/ant/stamp/version.xml");
     }
     public void testComplex() {
         executeTarget("testComplex");

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
Thu Apr 29 11:37:49 2004
@@ -43,7 +43,7 @@
 	}
 
 	public void testTrim2() {
-		String idKey = "org.apache.version.impl.sample";
+		String idKey = "org.apache.depot.version.impl.sample";
 
 		VersionIdentifier id =
 			VersionIdentifier.extractVersionIdentifier(Version1.class);

Mime
View raw message