提交 952c9f92 编写于 作者: R rriggs

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
上级 0b829c47
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册