8024618: Issues with French locale on compact1,2: expected:<janvier> but was:<January>
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
This commit is contained in:
parent
f0317e41c1
commit
04a877811a
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user