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

Log Message

Add shortMonthLabels and shortStandAloneMonthLabels to Localizer
https://bugs.webkit.org/show_bug.cgi?id=99787

* tests/LocaleMacTest.cpp:
(TEST_F): Disable tests depends on OS X versions.

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (131858 => 131859)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-10-19 05:46:10 UTC (rev 131858)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-10-19 05:50:55 UTC (rev 131859)
@@ -3,6 +3,14 @@
         Add shortMonthLabels and shortStandAloneMonthLabels to Localizer
         https://bugs.webkit.org/show_bug.cgi?id=99787
 
+        * tests/LocaleMacTest.cpp:
+        (TEST_F): Disable tests depends on OS X versions.
+
+2012-10-18  Kent Tamura  <[email protected]>
+
+        Add shortMonthLabels and shortStandAloneMonthLabels to Localizer
+        https://bugs.webkit.org/show_bug.cgi?id=99787
+
         Reviewed by Kentaro Hara.
 
         * tests/LocaleMacTest.cpp:

Modified: trunk/Source/WebKit/chromium/tests/LocaleMacTest.cpp (131858 => 131859)


--- trunk/Source/WebKit/chromium/tests/LocaleMacTest.cpp	2012-10-19 05:46:10 UTC (rev 131858)
+++ trunk/Source/WebKit/chromium/tests/LocaleMacTest.cpp	2012-10-19 05:50:55 UTC (rev 131859)
@@ -296,9 +296,10 @@
     EXPECT_STREQ("12\xE6\x9C\x88", shortStandAloneMonthLabel("ja_JP", 11).utf8().data());
 
     EXPECT_STREQ("\xD0\xBC\xD0\xB0\xD1\x80\xD1\x82\xD0\xB0", shortMonthLabel("ru_RU", 2).utf8().data());
-    EXPECT_STREQ("\xD0\x9C\xD0\xB0\xD1\x80\xD1\x82", shortStandAloneMonthLabel("ru_RU", 2).utf8().data());
     EXPECT_STREQ("\xD0\xBC\xD0\xB0\xD1\x8F", shortMonthLabel("ru_RU", 4).utf8().data());
-    EXPECT_STREQ("\xD0\x9C\xD0\xB0\xD0\xB9", shortStandAloneMonthLabel("ru_RU", 4).utf8().data());
+    // The ru_RU locale returns different stand-alone month labels on OS versions.
+    //  "\xD0\xBC\xD0\xB0\xD1\x80\xD1\x82" "\xD0\xBC\xD0\xB0\xD0\xB9" on 10.6 and 10.7
+    //  "\xD0\x9C\xD0\xB0\xD1\x80\xD1\x82" "\xD0\x9C\xD0\xB0\xD0\xB9" on 10.8
 }
 
 TEST_F(LocaleMacTest, timeAMPMLabels)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to