OLD | NEW |
1 /******************************************************************** | 1 /******************************************************************** |
2 * COPYRIGHT: | 2 * COPYRIGHT: |
3 * Copyright (c) 2008-2013 International Business Machines Corporation and | 3 * Copyright (c) 2008-2015 International Business Machines Corporation and |
4 * others. All Rights Reserved. | 4 * others. All Rights Reserved. |
5 ********************************************************************/ | 5 ********************************************************************/ |
6 | 6 |
7 #ifndef _INTLTESTDATEINTERVALFORMAT | 7 #ifndef _INTLTESTDATEINTERVALFORMAT |
8 #define _INTLTESTDATEINTERVALFORMAT | 8 #define _INTLTESTDATEINTERVALFORMAT |
9 | 9 |
10 #include "unicode/utypes.h" | 10 #include "unicode/utypes.h" |
11 #include "unicode/locid.h" | 11 #include "unicode/locid.h" |
12 | 12 |
13 #if !UCONFIG_NO_FORMATTING | 13 #if !UCONFIG_NO_FORMATTING |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 /** | 45 /** |
46 * Tests different year formats. | 46 * Tests different year formats. |
47 */ | 47 */ |
48 void testYearFormats(); | 48 void testYearFormats(); |
49 | 49 |
50 /** | 50 /** |
51 * Stress test -- stress test formatting on 40 locales | 51 * Stress test -- stress test formatting on 40 locales |
52 */ | 52 */ |
53 void testStress(); | 53 void testStress(); |
54 | 54 |
| 55 void testTicket11583_2(); |
| 56 |
55 private: | 57 private: |
56 /** | 58 /** |
57 * Test formatting against expected result | 59 * Test formatting against expected result |
58 */ | 60 */ |
59 void expect(const char** data, int32_t data_length); | 61 void expect(const char** data, int32_t data_length); |
60 | 62 |
61 /** | 63 /** |
62 * Test formatting against expected result using user defined | 64 * Test formatting against expected result using user defined |
63 * DateIntervalInfo | 65 * DateIntervalInfo |
64 */ | 66 */ |
65 void expectUserDII(const char** data, int32_t data_length); | 67 void expectUserDII(const char** data, int32_t data_length); |
66 | 68 |
67 /** | 69 /** |
68 * Stress test formatting | 70 * Stress test formatting |
69 */ | 71 */ |
70 void stress(const char** data, int32_t data_length, const Locale& loc, | 72 void stress(const char** data, int32_t data_length, const Locale& loc, |
71 const char* locName); | 73 const char* locName); |
72 }; | 74 }; |
73 | 75 |
74 #endif /* #if !UCONFIG_NO_FORMATTING */ | 76 #endif /* #if !UCONFIG_NO_FORMATTING */ |
75 | 77 |
76 #endif | 78 #endif |
OLD | NEW |