8024618: Issues with French locale on compact1,2: expected:<janvier> but was:<January>
authorrriggs
Thu, 12 Sep 2013 10:58:38 -0400
changeset 19848 0cac8db40be5
parent 19847 e481217d82f2
child 19849 49c0b1bda5db
8024618: Issues with French locale on compact1,2: expected:<janvier> but was:<January> Summary: Tests against the data of the French locale are not valid as conformance tests and are redundant with testing of the US Locale above Reviewed-by: alanb
jdk/test/java/time/tck/java/time/format/TCKDateTimeTextPrinting.java
--- a/jdk/test/java/time/tck/java/time/format/TCKDateTimeTextPrinting.java	Thu Sep 12 17:01:39 2013 +0200
+++ b/jdk/test/java/time/tck/java/time/format/TCKDateTimeTextPrinting.java	Thu Sep 12 10:58:38 2013 -0400
@@ -157,23 +157,6 @@
 
     //-----------------------------------------------------------------------
     @Test
-    public void test_print_appendText2arg_french_long() throws Exception {
-        DateTimeFormatter f = builder.appendText(MONTH_OF_YEAR, TextStyle.FULL).toFormatter(Locale.FRENCH);
-        LocalDateTime dt = LocalDateTime.of(2010, 1, 1, 0, 0);
-        String text = f.format(dt);
-        assertEquals(text, "janvier");
-    }
-
-    @Test
-    public void test_print_appendText2arg_french_short() throws Exception {
-        DateTimeFormatter f = builder.appendText(MONTH_OF_YEAR, TextStyle.SHORT).toFormatter(Locale.FRENCH);
-        LocalDateTime dt = LocalDateTime.of(2010, 1, 1, 0, 0);
-        String text = f.format(dt);
-        assertEquals(text, "janv.");
-    }
-
-    //-----------------------------------------------------------------------
-    @Test
     public void test_appendTextMap() throws Exception {
         Map<Long, String> map = new HashMap<Long, String>();
         map.put(1L, "JNY");