You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2024/01/28 23:24:49 UTC

(maven-jarsigner) branch fix created (now 812008c)

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

slachiewicz pushed a change to branch fix
in repository https://gitbox.apache.org/repos/asf/maven-jarsigner.git


      at 812008c  Enable one more test

This branch includes the following new commits:

     new 812008c  Enable one more test

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(maven-jarsigner) 01/01: Enable one more test

Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch fix
in repository https://gitbox.apache.org/repos/asf/maven-jarsigner.git

commit 812008c0f2487098198b501edfab297f05f886c8
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Mon Jan 29 00:08:25 2024 +0100

    Enable one more test
---
 .../java/org/apache/maven/shared/jarsigner/JarSignerUtilTest.java   | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/maven/shared/jarsigner/JarSignerUtilTest.java b/src/test/java/org/apache/maven/shared/jarsigner/JarSignerUtilTest.java
index 07a166a..36db3bf 100644
--- a/src/test/java/org/apache/maven/shared/jarsigner/JarSignerUtilTest.java
+++ b/src/test/java/org/apache/maven/shared/jarsigner/JarSignerUtilTest.java
@@ -25,6 +25,8 @@ import java.util.jar.Attributes;
 import java.util.jar.JarFile;
 import java.util.jar.Manifest;
 
+import org.junit.jupiter.api.Test;
+
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertFalse;
 import static org.junit.jupiter.api.Assertions.assertTrue;
@@ -37,7 +39,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
  */
 public class JarSignerUtilTest extends AbstractJarSignerTest {
 
-    // Fix MSHARED-277
+    @Test
     public void testUnsignArchive() throws Exception {
 
         File target = prepareTestJar("javax.persistence_2.0.5.v201212031355.jar");
@@ -58,7 +60,7 @@ public class JarSignerUtilTest extends AbstractJarSignerTest {
         assertFalse(JarSignerUtil.isArchiveSigned(target));
 
         // check that manifest has no digest entry
-        // see https://jira.codehaus.org/browse/MSHARED-314
+        // see https://issues.apache.org/jira/browse/MSHARED-314
         Manifest manifest = readManifest(target);
 
         Manifest cleanManifest = JarSignerUtil.buildUnsignedManifest(manifest);