File: 02-ignore-failing-tests.patch

package info (click to toggle)
json-smart 2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 736 kB
  • ctags: 1,241
  • sloc: java: 7,313; xml: 387; makefile: 11
file content (43 lines) | stat: -rw-r--r-- 1,467 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
Description: Ignore TestDateConvert due to timezone dependent tests
Author: Emmanuel Bourg <ebourg@apache.org>
Bug: https://github.com/netplex/json-smart-v2/issues/29
--- 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 @@
 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 @@
 		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);
 	}