| OLD | NEW |
| 1 /*********************************************************************** | 1 /*********************************************************************** |
| 2 * COPYRIGHT: | 2 * COPYRIGHT: |
| 3 * Copyright (c) 1997-2013, International Business Machines Corporation | 3 * Copyright (c) 1997-2014, International Business Machines Corporation |
| 4 * and others. All Rights Reserved. | 4 * and others. All Rights Reserved. |
| 5 ***********************************************************************/ | 5 ***********************************************************************/ |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * CollationAPITest is a third level test class. This test performs API | 8 * CollationAPITest is a third level test class. This test performs API |
| 9 * related tests for the Collation framework. | 9 * related tests for the Collation framework. |
| 10 */ | 10 */ |
| 11 | 11 |
| 12 #ifndef _APICOLL | 12 #ifndef _APICOLL |
| 13 #define _APICOLL | 13 #define _APICOLL |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 127 |
| 128 /** | 128 /** |
| 129 * Tests the collator attributes | 129 * Tests the collator attributes |
| 130 */ | 130 */ |
| 131 void TestAttribute(); | 131 void TestAttribute(); |
| 132 | 132 |
| 133 /** | 133 /** |
| 134 * Tests the setters and getters of variable top | 134 * Tests the setters and getters of variable top |
| 135 */ | 135 */ |
| 136 void TestVariableTopSetting(); | 136 void TestVariableTopSetting(); |
| 137 void TestMaxVariable(); |
| 137 | 138 |
| 138 /** | 139 /** |
| 139 * Tests GetLocale for a Collator | 140 * Tests GetLocale for a Collator |
| 140 */ | 141 */ |
| 141 void TestGetLocale(); | 142 void TestGetLocale(); |
| 142 | 143 |
| 143 /** | 144 /** |
| 144 * Tests bounds API | 145 * Tests bounds API |
| 145 */ | 146 */ |
| 146 void TestBounds(); | 147 void TestBounds(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 159 * Tests the dynamic and static ids of collation classes | 160 * Tests the dynamic and static ids of collation classes |
| 160 */ | 161 */ |
| 161 void TestUClassID(); | 162 void TestUClassID(); |
| 162 | 163 |
| 163 /** | 164 /** |
| 164 * Test NULL | 165 * Test NULL |
| 165 */ | 166 */ |
| 166 void TestNULLCharTailoring(); | 167 void TestNULLCharTailoring(); |
| 167 | 168 |
| 168 void TestClone(); | 169 void TestClone(); |
| 170 void TestCloneBinary(); |
| 169 void TestIterNumeric(); | 171 void TestIterNumeric(); |
| 172 void TestBadKeywords(); |
| 170 | 173 |
| 171 private: | 174 private: |
| 172 // If this is too small for the test data, just increase it. | 175 // If this is too small for the test data, just increase it. |
| 173 // Just don't make it too large, otherwise the executable will get too big | 176 // Just don't make it too large, otherwise the executable will get too big |
| 174 enum EToken_Len { MAX_TOKEN_LEN = 16 }; | 177 enum EToken_Len { MAX_TOKEN_LEN = 16 }; |
| 175 | 178 |
| 176 void dump(UnicodeString msg, RuleBasedCollator* c, UErrorCode& status); | 179 void dump(UnicodeString msg, RuleBasedCollator* c, UErrorCode& status); |
| 177 | 180 |
| 178 }; | 181 }; |
| 179 | 182 |
| 180 #endif /* #if !UCONFIG_NO_COLLATION */ | 183 #endif /* #if !UCONFIG_NO_COLLATION */ |
| 181 | 184 |
| 182 #endif | 185 #endif |
| OLD | NEW |