Index: base/i18n/time_formatting_unittest.cc |
diff --git a/base/i18n/time_formatting_unittest.cc b/base/i18n/time_formatting_unittest.cc |
index 51a48513aca6c10d4610501f4f29a861dc0a1fb9..f3344a671598938d606ab94788311a37a0833b18 100644 |
--- a/base/i18n/time_formatting_unittest.cc |
+++ b/base/i18n/time_formatting_unittest.cc |
@@ -188,6 +188,10 @@ TEST(TimeFormattingTest, MAYBE_TimeFormatDateUS) { |
EXPECT_EQ(ASCIIToUTF16("4/30/11, 3:42:07 PM ") + GetShortTimeZone(time), |
TimeFormatShortDateAndTimeWithTimeZone(time)); |
+ EXPECT_EQ(ASCIIToUTF16("April 2011"), TimeFormatMonthAndYear(time)); |
+ EXPECT_EQ(ASCIIToUTF16("Saturday, April 30"), |
+ TimeFormatWeekdayMonthAndDay(time)); |
+ |
EXPECT_EQ(ASCIIToUTF16("Saturday, April 30, 2011 at 3:42:07 PM"), |
TimeFormatFriendlyDateAndTime(time)); |
@@ -215,6 +219,9 @@ TEST(TimeFormattingTest, MAYBE_TimeFormatDateGB) { |
TimeFormatShortDateAndTime(time)); |
EXPECT_EQ(ASCIIToUTF16("30/04/2011, 15:42:07 ") + GetShortTimeZone(time), |
TimeFormatShortDateAndTimeWithTimeZone(time)); |
+ EXPECT_EQ(ASCIIToUTF16("April 2011"), TimeFormatMonthAndYear(time)); |
+ EXPECT_EQ(ASCIIToUTF16("Saturday 30 April"), |
+ TimeFormatWeekdayMonthAndDay(time)); |
EXPECT_EQ(ASCIIToUTF16("Saturday, 30 April 2011 at 15:42:07"), |
TimeFormatFriendlyDateAndTime(time)); |
EXPECT_EQ(ASCIIToUTF16("Saturday, 30 April 2011"), |