You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by ja...@apache.org on 2019/05/28 05:31:42 UTC

[ant-ivy] branch master updated: Fix checksum files of the ivy.xml(s), that changed in previous commit, used in tests

This is an automated email from the ASF dual-hosted git repository.

jaikiran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant-ivy.git


The following commit(s) were added to refs/heads/master by this push:
     new 63fd929  Fix checksum files of the ivy.xml(s), that changed in previous commit, used in tests
63fd929 is described below

commit 63fd929eb231560be7fb8bcae9ce335ebcc4efd8
Author: Jaikiran Pai <ja...@apache.org>
AuthorDate: Tue May 28 11:01:21 2019 +0530

    Fix checksum files of the ivy.xml(s), that changed in previous commit, used in tests
---
 test/java/org/apache/ivy/plugins/resolver/FileSystemResolverTest.java | 4 ++--
 test/repositories/checksums/allright/2.0/ivy-2.0.xml.SHA-256          | 2 +-
 test/repositories/checksums/allright/3.0/ivy-3.0.xml.SHA-512          | 2 +-
 test/repositories/checksums/allright/ivy-1.0.xml.md5                  | 2 +-
 test/repositories/checksums/badartcs/ivy-1.0.xml.md5                  | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/test/java/org/apache/ivy/plugins/resolver/FileSystemResolverTest.java b/test/java/org/apache/ivy/plugins/resolver/FileSystemResolverTest.java
index cc50d0e..a8b412f 100644
--- a/test/java/org/apache/ivy/plugins/resolver/FileSystemResolverTest.java
+++ b/test/java/org/apache/ivy/plugins/resolver/FileSystemResolverTest.java
@@ -238,7 +238,7 @@ public class FileSystemResolverTest extends AbstractDependencyResolverTest {
         ModuleRevisionId mrid = ModuleRevisionId.newInstance("test", "allright", "1.0");
         ResolvedModuleRevision rmr = resolver.getDependency(new DefaultDependencyDescriptor(mrid,
                 false), data);
-        assertNotNull(rmr);
+        assertNotNull("Resolver could not get dependency " + mrid, rmr);
         DownloadReport dr = resolver.download(rmr.getDescriptor().getAllArtifacts(),
             getDownloadOptions());
         assertEquals(4, dr.getArtifactsReports(DownloadStatus.SUCCESSFUL).length);
@@ -257,7 +257,7 @@ public class FileSystemResolverTest extends AbstractDependencyResolverTest {
         resolver.setChecksums("md5");
         mrid = ModuleRevisionId.newInstance("test", "badartcs", "1.0");
         rmr = resolver.getDependency(new DefaultDependencyDescriptor(mrid, false), data);
-        assertNotNull(rmr);
+        assertNotNull("Could not get dependency " + mrid, rmr);
         dr = resolver.download(new Artifact[] {new DefaultArtifact(mrid, rmr.getPublicationDate(),
                 mrid.getName(), "jar", "jar")}, getDownloadOptions());
         assertEquals(1, dr.getArtifactsReports(DownloadStatus.FAILED).length);
diff --git a/test/repositories/checksums/allright/2.0/ivy-2.0.xml.SHA-256 b/test/repositories/checksums/allright/2.0/ivy-2.0.xml.SHA-256
index 8d01fe5..f6e06ba 100644
--- a/test/repositories/checksums/allright/2.0/ivy-2.0.xml.SHA-256
+++ b/test/repositories/checksums/allright/2.0/ivy-2.0.xml.SHA-256
@@ -1 +1 @@
-6e07f0c04dea757cdaf5811a8b682b7f4d286db0ba16db5ff6c65309ff76409b
\ No newline at end of file
+d15f288c474ba2f0e1e9abeefbd53e81cb179a215df2fdadbe20304231ec64b3
\ No newline at end of file
diff --git a/test/repositories/checksums/allright/3.0/ivy-3.0.xml.SHA-512 b/test/repositories/checksums/allright/3.0/ivy-3.0.xml.SHA-512
index 7c4a3b1..b246ed1 100644
--- a/test/repositories/checksums/allright/3.0/ivy-3.0.xml.SHA-512
+++ b/test/repositories/checksums/allright/3.0/ivy-3.0.xml.SHA-512
@@ -1 +1 @@
-805b1d9877ba8859682be6b7bd82cb06ff2c5b370ec3bf039b57d26bd9b75008588a72b252488e539ee6d4f4637185fbc83a8ddb5ae3156d1784bfd392fdb419
\ No newline at end of file
+1c89a263864fe2f6ff3df9ccb22705c7c38ee243a4ae0b3a6d30e1cf40f241e846b3248dc461c369efa9b09abaa74071133c26298e65af530990167f8db72e24
\ No newline at end of file
diff --git a/test/repositories/checksums/allright/ivy-1.0.xml.md5 b/test/repositories/checksums/allright/ivy-1.0.xml.md5
index e2d7da4..b183626 100644
--- a/test/repositories/checksums/allright/ivy-1.0.xml.md5
+++ b/test/repositories/checksums/allright/ivy-1.0.xml.md5
@@ -1 +1 @@
-68af88552e763f5b11c17d6b4dbf9e4a
\ No newline at end of file
+98b16c7dcad647ef7d61fca11e74ef3a
\ No newline at end of file
diff --git a/test/repositories/checksums/badartcs/ivy-1.0.xml.md5 b/test/repositories/checksums/badartcs/ivy-1.0.xml.md5
index c116734..46dae43 100644
--- a/test/repositories/checksums/badartcs/ivy-1.0.xml.md5
+++ b/test/repositories/checksums/badartcs/ivy-1.0.xml.md5
@@ -1 +1 @@
-4d61ffcf56435e37b4cbf0964f9c7c1a
\ No newline at end of file
+46734caf005eafa728717644d221aeae
\ No newline at end of file