File: voms-api-java-expired-2022-10-08.patch

package info (click to toggle)
voms-api-java 3.3.2-1%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,548 kB
  • sloc: java: 7,466; xml: 354; makefile: 2
file content (111 lines) | stat: -rw-r--r-- 3,689 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
diff --git a/src/test/java/org/italiangrid/voms/test/ac/TestACGeneration.java b/src/test/java/org/italiangrid/voms/test/ac/TestACGeneration.java
index bc7557c..80120db 100644
--- a/src/test/java/org/italiangrid/voms/test/ac/TestACGeneration.java
+++ b/src/test/java/org/italiangrid/voms/test/ac/TestACGeneration.java
@@ -301,7 +301,7 @@ public class TestACGeneration {
     assertEquals(validatedAttrs.size(), 0);
   }
 
-  @Test
+  // @Test
   public void testSuccesfullACExtractionFromProxy() {
 
     ValidationResultChecker c = new ValidationResultChecker(true);
diff --git a/src/test/java/org/italiangrid/voms/test/ac/TestACValidator.java b/src/test/java/org/italiangrid/voms/test/ac/TestACValidator.java
index 8b420a9..b35aa8a 100644
--- a/src/test/java/org/italiangrid/voms/test/ac/TestACValidator.java
+++ b/src/test/java/org/italiangrid/voms/test/ac/TestACValidator.java
@@ -62,7 +62,7 @@ public class TestACValidator implements Fixture {
 
   }
 
-  @Test
+  // @Test
   public void testValidityCheckSuccess() throws Exception {
 
     ProxyCertificate proxy = Utils.getVOMSAA().createVOMSProxy(holder, defaultVOFqans);
@@ -96,7 +96,7 @@ public class TestACValidator implements Fixture {
     Assert.assertEquals(VOMSValidationErrorCode.acNotValidAtCurrentTime, m.getErrorCode());
   }
 
-  @Test
+  // @Test
   public void testHolderCheckFailure() throws Exception {
 
     ProxyCertificate proxy =
@@ -172,7 +172,7 @@ public class TestACValidator implements Fixture {
 
   }
 
-  @Test
+  // @Test
   public void testEmptyACCertsExtensionSuccess() throws Exception {
 
     VOMSAA aa = Utils.getVOMSAA();
@@ -256,7 +256,7 @@ public class TestACValidator implements Fixture {
         r.getValidationErrors().get(1).getErrorCode());
   }
 
-  @Test
+  // @Test
   public void testUnknownCriticalExtensionFailure() throws Exception {
 
     VOMSAA aa = Utils.getVOMSAA();
@@ -281,7 +281,7 @@ public class TestACValidator implements Fixture {
         r.getValidationErrors().get(0).getMessage());
   }
 
-  @Test
+  // @Test
   public void testCriticalAKIDFailure() throws Exception {
 
     VOMSAA aa = Utils.getVOMSAA();
@@ -304,7 +304,7 @@ public class TestACValidator implements Fixture {
         r.getValidationErrors().get(0).getMessage());
   }
 
-  @Test
+  // @Test
   public void testCriticalNoRevAvailFailure() throws Exception {
 
     VOMSAA aa = Utils.getVOMSAA();
@@ -329,7 +329,7 @@ public class TestACValidator implements Fixture {
         r.getValidationErrors().get(0).getMessage());
   }
 
-  @Test
+  // @Test
   public void testTargetValidationSuccess() throws Exception {
 
     VOMSAA aa = Utils.getVOMSAA();
@@ -355,7 +355,7 @@ public class TestACValidator implements Fixture {
     Assert.assertTrue(r.isValid());
   }
 
-  @Test
+  // @Test
   public void testTargetValidationFailure() throws Exception {
 
     VOMSAA aa = Utils.getVOMSAA();
@@ -375,7 +375,7 @@ public class TestACValidator implements Fixture {
 
   }
 
-  @Test
+  // @Test
   public void testResolveHostnameException() throws Exception {
 
     VOMSAA aa = Utils.getVOMSAA();
diff --git a/src/test/java/org/italiangrid/voms/test/req/TestRequests.java b/src/test/java/org/italiangrid/voms/test/req/TestRequests.java
index d00ad46..214bde7 100644
--- a/src/test/java/org/italiangrid/voms/test/req/TestRequests.java
+++ b/src/test/java/org/italiangrid/voms/test/req/TestRequests.java
@@ -41,7 +41,7 @@ import eu.emi.security.authn.x509.impl.PEMCredential;
 
 public class TestRequests implements Fixture {
 
-  @Test
+  // @Test
   public void testEchoRequest() throws Exception {
 
     VOMSACService acService = Utils.buildACService(new EchoVOMSProtocol(Utils.getAACredential()));