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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 20 matching lines...) Expand all Loading... |
31 #include "config.h" | 31 #include "config.h" |
32 #include "platform/text/LocaleWin.h" | 32 #include "platform/text/LocaleWin.h" |
33 | 33 |
34 #include "platform/DateComponents.h" | 34 #include "platform/DateComponents.h" |
35 #include "wtf/DateMath.h" | 35 #include "wtf/DateMath.h" |
36 #include "wtf/MathExtras.h" | 36 #include "wtf/MathExtras.h" |
37 #include "wtf/PassOwnPtr.h" | 37 #include "wtf/PassOwnPtr.h" |
38 #include "wtf/text/CString.h" | 38 #include "wtf/text/CString.h" |
39 #include <gtest/gtest.h> | 39 #include <gtest/gtest.h> |
40 | 40 |
41 using namespace WebCore; | 41 using namespace blink; |
42 using namespace std; | 42 using namespace std; |
43 | 43 |
44 class LocaleWinTest : public ::testing::Test { | 44 class LocaleWinTest : public ::testing::Test { |
45 protected: | 45 protected: |
46 enum { | 46 enum { |
47 January = 0, February, March, | 47 January = 0, February, March, |
48 April, May, June, | 48 April, May, June, |
49 July, August, September, | 49 July, August, September, |
50 October, November, December, | 50 October, November, December, |
51 }; | 51 }; |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 testNumbers(ArabicEG); | 296 testNumbers(ArabicEG); |
297 testNumbers(German); | 297 testNumbers(German); |
298 testNumbers(Spanish); | 298 testNumbers(Spanish); |
299 testNumbers(Persian); | 299 testNumbers(Persian); |
300 testNumbers(JapaneseJP); | 300 testNumbers(JapaneseJP); |
301 testNumbers(KoreanKR); | 301 testNumbers(KoreanKR); |
302 testNumbers(ChineseCN); | 302 testNumbers(ChineseCN); |
303 testNumbers(ChineseHK); | 303 testNumbers(ChineseHK); |
304 testNumbers(ChineseTW); | 304 testNumbers(ChineseTW); |
305 } | 305 } |
OLD | NEW |