From 04a877811a0a515b7a28ed7ec493a5948f56e3e1 Mon Sep 17 00:00:00 2001 From: Roger Riggs Date: Thu, 12 Sep 2013 10:58:38 -0400 Subject: [PATCH] 8024618: Issues with French locale on compact1,2: expected: but was: 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 --- .../time/format/TCKDateTimeTextPrinting.java | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/jdk/test/java/time/tck/java/time/format/TCKDateTimeTextPrinting.java b/jdk/test/java/time/tck/java/time/format/TCKDateTimeTextPrinting.java index 52f51369a0c..b547a837fb8 100644 --- a/jdk/test/java/time/tck/java/time/format/TCKDateTimeTextPrinting.java +++ b/jdk/test/java/time/tck/java/time/format/TCKDateTimeTextPrinting.java @@ -155,23 +155,6 @@ public class TCKDateTimeTextPrinting { } } - //----------------------------------------------------------------------- - @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 {