Package: json-smart / 2.2-2+deb11u1

02-ignore-failing-tests.patch Patch series | download
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
From: Emmanuel Bourg <ebourg@apache.org>
Date: Wed, 29 Mar 2023 21:54:56 +0000
Subject: Ignore TestDateConvert due to timezone dependent tests

Bug: https://github.com/netplex/json-smart-v2/issues/29
---
 .../src/test/java/net/minidev/asm/TestDateConvert.java       | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/accessors-smart/src/test/java/net/minidev/asm/TestDateConvert.java b/accessors-smart/src/test/java/net/minidev/asm/TestDateConvert.java
index af34745..01a1552 100644
--- a/accessors-smart/src/test/java/net/minidev/asm/TestDateConvert.java
+++ b/accessors-smart/src/test/java/net/minidev/asm/TestDateConvert.java
@@ -11,7 +11,7 @@ import junit.framework.TestCase;
 public class TestDateConvert extends TestCase {
 	SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
 
-	public void testDateFR() throws Exception {
+	public void _testDateFR() throws Exception {
 		String expectedDateText = "23/01/2012 13:42:12";
 		ArrayList<String> tests = new ArrayList<String>();
 		tests.add("23 janvier 2012 13:42:12");
@@ -35,23 +35,23 @@ public class TestDateConvert extends TestCase {
 		ConvertDate.convertToDate(testDate);
 	}
 
-	public void testDateUS() throws Exception {
+	public void _testDateUS() throws Exception {
 		testDateLocalized(Locale.US);
 	}
 
-	public void testDateFRANCE() throws Exception {
+	public void _testDateFRANCE() throws Exception {
 		testDateLocalized(Locale.FRANCE);
 	}
 
-	public void testDateCANADA() throws Exception {
+	public void _testDateCANADA() throws Exception {
 		testDateLocalized(Locale.CANADA);
 	}
 
-	public void testDateGERMANY() throws Exception {
+	public void _testDateGERMANY() throws Exception {
 		testDateLocalized(Locale.GERMANY);
 	}
 
-	public void testDateITALY() throws Exception {
+	public void _testDateITALY() throws Exception {
 		testDateLocalized(Locale.ITALY);
 	}