| 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 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 #include "platform/DateComponents.h" | 29 #include "platform/DateComponents.h" |
| 30 #include "platform/TestingPlatformSupport.h" | 30 #include "platform/TestingPlatformSupport.h" |
| 31 #include "public/platform/Platform.h" | 31 #include "public/platform/Platform.h" |
| 32 #include "wtf/DateMath.h" | 32 #include "wtf/DateMath.h" |
| 33 #include "wtf/MathExtras.h" | 33 #include "wtf/MathExtras.h" |
| 34 #include "wtf/PassOwnPtr.h" | 34 #include "wtf/PassOwnPtr.h" |
| 35 #include "wtf/text/CString.h" | 35 #include "wtf/text/CString.h" |
| 36 #include <gtest/gtest.h> | 36 #include <gtest/gtest.h> |
| 37 | 37 |
| 38 using namespace blink; | 38 namespace blink { |
| 39 | 39 |
| 40 class LocalePlatformSupport : public TestingPlatformSupport { | 40 class LocalePlatformSupport : public TestingPlatformSupport { |
| 41 public: | 41 public: |
| 42 LocalePlatformSupport() : TestingPlatformSupport(TestingPlatformSupport::Con
fig()) { } | 42 LocalePlatformSupport() : TestingPlatformSupport(TestingPlatformSupport::Con
fig()) { } |
| 43 | 43 |
| 44 WebString queryLocalizedString(WebLocalizedString::Name /*name*/) override | 44 WebString queryLocalizedString(WebLocalizedString::Name /*name*/) override |
| 45 { | 45 { |
| 46 return WebString::fromUTF8("Week $2, $1"); | 46 return WebString::fromUTF8("Week $2, $1"); |
| 47 } | 47 } |
| 48 }; | 48 }; |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 testNumbers("ar"); | 392 testNumbers("ar"); |
| 393 testNumbers("de_DE"); | 393 testNumbers("de_DE"); |
| 394 testNumbers("es_ES"); | 394 testNumbers("es_ES"); |
| 395 testNumbers("fa"); | 395 testNumbers("fa"); |
| 396 testNumbers("ja_JP"); | 396 testNumbers("ja_JP"); |
| 397 testNumbers("ko_KR"); | 397 testNumbers("ko_KR"); |
| 398 testNumbers("zh_CN"); | 398 testNumbers("zh_CN"); |
| 399 testNumbers("zh_HK"); | 399 testNumbers("zh_HK"); |
| 400 testNumbers("zh_TW"); | 400 testNumbers("zh_TW"); |
| 401 } | 401 } |
| 402 |
| 403 } // namespace blink |
| OLD | NEW |