Title: [131751] trunk/Source/WebKit/chromium
Revision
131751
Author
[email protected]
Date
2012-10-18 07:55:15 -0700 (Thu, 18 Oct 2012)

Log Message

Add Localizer::monthFormat and implementations
https://bugs.webkit.org/show_bug.cgi?id=99704

* tests/LocaleMacTest.cpp:
(TEST_F): Remove tests for fr_FR and ru locales for a compatibility reason.

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (131750 => 131751)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-10-18 14:49:22 UTC (rev 131750)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-10-18 14:55:15 UTC (rev 131751)
@@ -3,6 +3,14 @@
         Add Localizer::monthFormat and implementations
         https://bugs.webkit.org/show_bug.cgi?id=99704
 
+        * tests/LocaleMacTest.cpp:
+        (TEST_F): Remove tests for fr_FR and ru locales for a compatibility reason.
+
+2012-10-18  Kent Tamura  <[email protected]>
+
+        Add Localizer::monthFormat and implementations
+        https://bugs.webkit.org/show_bug.cgi?id=99704
+
         Reviewed by Kentaro Hara.
 
         * tests/LocaleMacTest.cpp:

Modified: trunk/Source/WebKit/chromium/tests/LocaleMacTest.cpp (131750 => 131751)


--- trunk/Source/WebKit/chromium/tests/LocaleMacTest.cpp	2012-10-18 14:49:22 UTC (rev 131750)
+++ trunk/Source/WebKit/chromium/tests/LocaleMacTest.cpp	2012-10-18 14:55:15 UTC (rev 131751)
@@ -245,9 +245,11 @@
 TEST_F(LocaleMacTest, monthFormat)
 {
     EXPECT_STREQ("MMM yyyy", monthFormat("en_US").utf8().data());
-    EXPECT_STREQ("MMM y", monthFormat("fr_FR").utf8().data());
     EXPECT_STREQ("yyyy\xE5\xB9\xB4M\xE6\x9C\x88", monthFormat("ja_JP").utf8().data());
-    EXPECT_STREQ("LLL y", monthFormat("ru").utf8().data());
+
+    // fr_FR and ru return different results on OS versions.
+    //  "MMM yyyy" "LLL yyyy" on 10.6 and 10.7
+    //  "MMM y" "LLL y" on 10.8
 }
 
 TEST_F(LocaleMacTest, timeFormat)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to