Repository: commons-release-plugin Updated Branches: refs/heads/master 2c2402c3a -> 740556589
(test) asserting that properly detached sha256 artifacts exist Project: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/commit/74055658 Tree: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/tree/74055658 Diff: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/diff/74055658 Branch: refs/heads/master Commit: 740556589adb94d0af97e017850a945f474cff8d Parents: 2c2402c Author: Rob Tompkins <chtom...@gmail.com> Authored: Fri May 18 13:20:12 2018 -0400 Committer: Rob Tompkins <chtom...@gmail.com> Committed: Fri May 18 13:20:12 2018 -0400 ---------------------------------------------------------------------- .../plugin/mojos/CommonsDistributionDetachmentMojoTest.java | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/74055658/src/test/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojoTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojoTest.java b/src/test/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojoTest.java index ecb458b..36b80b1 100644 --- a/src/test/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojoTest.java +++ b/src/test/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojoTest.java @@ -69,21 +69,27 @@ public class CommonsDistributionDetachmentMojoTest { File detachedTarGzAsc = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/mockAttachedTar.tar.gz.asc"); File detachedTarMd5 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/mockAttachedTar.tar.gz.md5"); File detachedTarGzSha1 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/mockAttachedTar.tar.gz.sha1"); + File detachedTarGzSha256 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/mockAttachedTar.tar.gz.sha256"); File detachedZip = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/mockAttachedZip.zip"); File detachedZipAsc = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/mockAttachedZip.zip.asc"); File detachedZipMd5 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/mockAttachedZip.zip.md5"); File detachedZipSha1 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/mockAttachedZip.zip.sha1"); + File detachedZipSha256 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/mockAttachedZip.zip.sha256"); File notDetachedMockAttachedFile = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/mockAttachedFile.html"); File sha1Properties = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/sha1.properties"); + File sha256Properties = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/sha256.properties"); assertTrue(detachedTarGz.exists()); assertTrue(detachedTarGzAsc.exists()); assertTrue(detachedTarMd5.exists()); assertTrue(detachedTarGzSha1.exists()); + assertTrue(detachedTarGzSha256.exists()); assertTrue(detachedZip.exists()); assertTrue(detachedZipAsc.exists()); assertTrue(detachedZipMd5.exists()); assertTrue(detachedZipSha1.exists()); + assertTrue(detachedZipSha256.exists()); assertTrue(sha1Properties.exists()); + assertTrue(sha256Properties.exists()); assertFalse(notDetachedMockAttachedFile.exists()); }