changeset 8168:672f349fbad7

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
author rriggs
date Thu, 12 Sep 2013 10:58:38 -0400
parents 631c8dcd91f4
children 60d6f60416ca
files test/java/time/tck/java/time/format/TCKDateTimeTextPrinting.java
diffstat 1 files changed, 0 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/time/tck/java/time/format/TCKDateTimeTextPrinting.java	Thu Sep 12 17:01:39 2013 +0200
+++ b/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");