| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "config.h" | 26 #include "config.h" |
| 27 #include "platform/text/LocaleMac.h" | 27 #include "platform/text/LocaleMac.h" |
| 28 | 28 |
| 29 #include "platform/DateComponents.h" | 29 #include "platform/DateComponents.h" |
| 30 #include "wtf/DateMath.h" | 30 #include "wtf/DateMath.h" |
| 31 #include "wtf/MathExtras.h" | 31 #include "wtf/MathExtras.h" |
| 32 #include "wtf/PassOwnPtr.h" | 32 #include "wtf/PassOwnPtr.h" |
| 33 #include "wtf/text/CString.h" | 33 #include "wtf/text/CString.h" |
| 34 #include <gtest/gtest.h> | 34 #include <gtest/gtest.h> |
| 35 | 35 |
| 36 using namespace WebCore; | 36 using namespace blink; |
| 37 | 37 |
| 38 class LocaleMacTest : public ::testing::Test { | 38 class LocaleMacTest : public ::testing::Test { |
| 39 protected: | 39 protected: |
| 40 enum { | 40 enum { |
| 41 January = 0, February, March, | 41 January = 0, February, March, |
| 42 April, May, June, | 42 April, May, June, |
| 43 July, August, September, | 43 July, August, September, |
| 44 October, November, December, | 44 October, November, December, |
| 45 }; | 45 }; |
| 46 | 46 |
| (...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 testNumbers("ar"); | 379 testNumbers("ar"); |
| 380 testNumbers("de_DE"); | 380 testNumbers("de_DE"); |
| 381 testNumbers("es_ES"); | 381 testNumbers("es_ES"); |
| 382 testNumbers("fa"); | 382 testNumbers("fa"); |
| 383 testNumbers("ja_JP"); | 383 testNumbers("ja_JP"); |
| 384 testNumbers("ko_KR"); | 384 testNumbers("ko_KR"); |
| 385 testNumbers("zh_CN"); | 385 testNumbers("zh_CN"); |
| 386 testNumbers("zh_HK"); | 386 testNumbers("zh_HK"); |
| 387 testNumbers("zh_TW"); | 387 testNumbers("zh_TW"); |
| 388 } | 388 } |
| OLD | NEW |