incubator-depot-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickcha...@apache.org
Subject svn commit: rev 36330 - incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl
Date Fri, 13 Aug 2004 06:58:28 GMT
Author: nickchalko
Date: Thu Aug 12 23:58:27 2004
New Revision: 36330

Modified:
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/VersionImporterTests.java
Log:
Imporoved logging.

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
Thu Aug 12 23:58:27 2004
@@ -41,8 +41,8 @@
 
 		VersionSpecification spec = version.getSpecification();
 
-		assertTrue("Apache Specification Used", spec
-				.equals(new ApacheVersionSpecification()));
+		assertEquals("Apache Specification Used",
+				new ApacheVersionSpecification(), spec);
 	}
 
 	public void testTypical() throws VersionException {
@@ -60,13 +60,13 @@
 	public void testReleaseQualifier() throws VersionException {
 		ApacheVersion version = importVersion("1.2.3-alpha1-20030302");
 
-		assertEquals("Release Qualifier Correct", 1, version
+		assertEquals("Release Qualifier for" + version, 1, version
 				.getReleaseQualifier());
 
 		VersionSpecification spec = version.getSpecification();
 
-		assertTrue("Apache Specification Used", spec
-				.equals(new ApacheVersionSpecification()));
+		assertEquals("Specification Used", new ApacheVersionSpecification(),
+				spec);
 	}
 
 	private ApacheVersion importVersion(String data) throws VersionException {

Mime
View raw message