| OLD | NEW |
| 1 /******************************************************************** | 1 /******************************************************************** |
| 2 * COPYRIGHT: | 2 * COPYRIGHT: |
| 3 * Copyright (c) 1997-2008,2011, International Business Machines Corporation and | 3 * Copyright (c) 1997-2014, International Business Machines Corporation and |
| 4 * others. All Rights Reserved. | 4 * others. All Rights Reserved. |
| 5 ********************************************************************/ | 5 ********************************************************************/ |
| 6 /*******************************************************************************
* | 6 /*******************************************************************************
* |
| 7 * | 7 * |
| 8 * File CITERTST.H | 8 * File CITERTST.H |
| 9 * | 9 * |
| 10 * Modification History: | 10 * Modification History: |
| 11 * Name Description | 11 * Name Description |
| 12 * Madhu Katragadda Converted to C | 12 * Madhu Katragadda Converted to C |
| 13 ********************************************************************************
*/ | 13 ********************************************************************************
*/ |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 /** | 73 /** |
| 74 * Repeat TestBug672 with normalizatin enabled - this test revealed a bug | 74 * Repeat TestBug672 with normalizatin enabled - this test revealed a bug |
| 75 * in incremental normalization. | 75 * in incremental normalization. |
| 76 */ | 76 */ |
| 77 static void TestBug672Normalize(void); | 77 static void TestBug672Normalize(void); |
| 78 /** | 78 /** |
| 79 * Test iterators with an relatively small buffer | 79 * Test iterators with an relatively small buffer |
| 80 */ | 80 */ |
| 81 static void TestSmallBuffer(void); | 81 static void TestSmallBuffer(void); |
| 82 /** | 82 /** |
| 83 * Tests the CEs generated by the iterators. | |
| 84 */ | |
| 85 static void TestCEs(void); | |
| 86 /** | |
| 87 * Tests the discontiguos contractions | 83 * Tests the discontiguos contractions |
| 88 */ | 84 */ |
| 89 static void TestDiscontiguos(void); | 85 static void TestDiscontiguos(void); |
| 90 /** | 86 /** |
| 91 * Tests that the iterators bails out when the CEBuffer is exhausted | |
| 92 */ | |
| 93 static void TestCEBufferOverflow(void); | |
| 94 /** | |
| 95 * Tests the validity of CEs generated by the iterators. | |
| 96 * Bound checkings. | |
| 97 */ | |
| 98 static void TestCEValidity(void); | |
| 99 /** | |
| 100 * Tests the validity of sortkeys generated by the iterators. | |
| 101 * Bound checkings. | |
| 102 */ | |
| 103 static void TestSortKeyValidity(void); | |
| 104 /** | |
| 105 * TestSearchCollatorElements tests iterator behavior (forwards and backwards) wi
th | 87 * TestSearchCollatorElements tests iterator behavior (forwards and backwards) wi
th |
| 106 * normalization on AND jamo tailoring, among other things. | 88 * normalization on AND jamo tailoring, among other things. |
| 107 */ | 89 */ |
| 108 static void TestSearchCollatorElements(void); | 90 static void TestSearchCollatorElements(void); |
| 109 | 91 |
| 110 /*------------------------------------------------------------------------ | 92 /*------------------------------------------------------------------------ |
| 111 Internal utilities | 93 Internal utilities |
| 112 */ | 94 */ |
| 113 | 95 |
| 114 | 96 |
| 115 static void assertEqual(UCollationElements *i1, UCollationElements *i2); | 97 static void assertEqual(UCollationElements *i1, UCollationElements *i2); |
| 116 | 98 |
| 117 | 99 |
| 118 #endif /* #if !UCONFIG_NO_COLLATION */ | 100 #endif /* #if !UCONFIG_NO_COLLATION */ |
| 119 | 101 |
| 120 #endif | 102 #endif |
| OLD | NEW |