Title: [131392] trunk/Source/WebKit/chromium
Revision
131392
Author
[email protected]
Date
2012-10-15 18:13:14 -0700 (Mon, 15 Oct 2012)

Log Message

LocaleMacTest.formatDate is failing on Mac 10.8
https://bugs.webkit.org/show_bug.cgi?id=99330

It seems OS X 10.8 and 10.7 return different date formats for ja_JP
locale. We should not test such locales.

* tests/LocaleMacTest.cpp:
(TEST_F): Remove a test for ja_JP locale.

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (131391 => 131392)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-10-16 00:53:31 UTC (rev 131391)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-10-16 01:13:14 UTC (rev 131392)
@@ -1,3 +1,14 @@
+2012-10-15  Kent Tamura  <[email protected]>
+
+        LocaleMacTest.formatDate is failing on Mac 10.8
+        https://bugs.webkit.org/show_bug.cgi?id=99330
+
+        It seems OS X 10.8 and 10.7 return different date formats for ja_JP
+        locale. We should not test such locales.
+
+        * tests/LocaleMacTest.cpp:
+        (TEST_F): Remove a test for ja_JP locale.
+
 2012-10-15  Joshua Bell  <[email protected]>
 
         IndexedDB: Pass type of error causing abort to IDBTransaction::onAbort

Modified: trunk/Source/WebKit/chromium/tests/LocaleMacTest.cpp (131391 => 131392)


--- trunk/Source/WebKit/chromium/tests/LocaleMacTest.cpp	2012-10-16 00:53:31 UTC (rev 131391)
+++ trunk/Source/WebKit/chromium/tests/LocaleMacTest.cpp	2012-10-16 01:13:14 UTC (rev 131392)
@@ -150,7 +150,7 @@
 {
     EXPECT_STREQ("4/27/05", formatDate("en_US", 2005, April, 27).utf8().data());
     EXPECT_STREQ("27/04/05", formatDate("fr_FR", 2005, April, 27).utf8().data());
-    EXPECT_STREQ("05/04/27", formatDate("ja_JP", 2005, April, 27).utf8().data());
+    // Do not test ja_JP locale. OS X 10.8 and 10.7 have different formats.
 }
 
 TEST_F(LocaleMacTest, formatTime)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to