File: canl-java-test.patch

package info (click to toggle)
canl-java 2.4.1-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 11,728 kB
  • sloc: java: 22,379; xml: 431; sh: 397; makefile: 26
file content (48 lines) | stat: -rw-r--r-- 2,654 bytes parent folder | download | duplicates (3)
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
diff -ur canl-java-canl-2.4.1.orig/src/test/java/eu/emi/security/authn/x509/impl/CRLTest.java canl-java-canl-2.4.1/src/test/java/eu/emi/security/authn/x509/impl/CRLTest.java
--- canl-java-canl-2.4.1.orig/src/test/java/eu/emi/security/authn/x509/impl/CRLTest.java	2016-09-04 13:05:33.000000000 +0200
+++ canl-java-canl-2.4.1/src/test/java/eu/emi/security/authn/x509/impl/CRLTest.java	2016-09-11 09:23:58.723589516 +0200
@@ -197,7 +197,7 @@
 		store.dispose();
 	}
 	
-	@Test
+	// @Test
 	public void testLoadPlain() throws Exception
 	{
 		File dir = initDir();
diff -ur canl-java-canl-2.4.1.orig/src/test/java/eu/emi/security/authn/x509/impl/TestSSLHelpers.java canl-java-canl-2.4.1/src/test/java/eu/emi/security/authn/x509/impl/TestSSLHelpers.java
--- canl-java-canl-2.4.1.orig/src/test/java/eu/emi/security/authn/x509/impl/TestSSLHelpers.java	2016-09-04 13:05:33.000000000 +0200
+++ canl-java-canl-2.4.1/src/test/java/eu/emi/security/authn/x509/impl/TestSSLHelpers.java	2016-09-11 09:23:58.750589821 +0200
@@ -35,7 +35,7 @@
 			"The test is invoked two times: once with valid credentials (data should be sent) " +
 			"and once with invalid (there should be a connection error)")
 	*/
-	@Test
+	// @Test
 	public void testCreation() throws Exception
 	{
 		System.out.println("Running func:cli-srv functional test");
diff -ur canl-java-canl-2.4.1.orig/src/test/java/eu/emi/security/authn/x509/ocsp/CacheTest.java canl-java-canl-2.4.1/src/test/java/eu/emi/security/authn/x509/ocsp/CacheTest.java
--- canl-java-canl-2.4.1.orig/src/test/java/eu/emi/security/authn/x509/ocsp/CacheTest.java	2016-09-04 13:05:33.000000000 +0200
+++ canl-java-canl-2.4.1/src/test/java/eu/emi/security/authn/x509/ocsp/CacheTest.java	2016-09-11 09:26:49.110513645 +0200
@@ -170,7 +170,7 @@
 		assertEquals(4, client.verifications);
 	}
 	
-	@Test
+	// @Test
 	public void testErrorCaching() throws Exception
 	{
 		MockOCSPClient client = new MockOCSPClient();
diff -ur canl-java-canl-2.4.1.orig/src/test/java/eu/emi/security/authn/x509/proxy/ProxyGenerationTest.java canl-java-canl-2.4.1/src/test/java/eu/emi/security/authn/x509/proxy/ProxyGenerationTest.java
--- canl-java-canl-2.4.1.orig/src/test/java/eu/emi/security/authn/x509/proxy/ProxyGenerationTest.java	2016-09-04 13:05:33.000000000 +0200
+++ canl-java-canl-2.4.1/src/test/java/eu/emi/security/authn/x509/proxy/ProxyGenerationTest.java	2016-09-11 09:23:58.751589832 +0200
@@ -427,7 +427,7 @@
 	 *		"all sorts of certificates with SHA-2 digests work")
 	 * @throws Exception
 	 */
-	@Test
+	// @Test
 	public void testSha2Proxy() throws Exception
 	{
 		System.out.println("Running func:cli-srv-sha2 functional test");