• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /********************************************************************
2  * COPYRIGHT:
3  * Copyright (c) 1997-2005, International Business Machines Corporation and
4  * others. All Rights Reserved.
5  ********************************************************************/
6 /********************************************************************************
7 *
8 * File CCOLLTST.H
9 *
10 * Modification History:
11 *        Name                     Description
12 *     Madhu Katragadda               Creation
13 *********************************************************************************
14 */
15 #ifndef _CCOLLTST
16 #define _CCOLLTST
17 
18 #include "unicode/utypes.h"
19 
20 #if !UCONFIG_NO_COLLATION
21 
22 #include "cintltst.h"
23 #include "unicode/ucol.h"
24 
25 /* Internal Functions used*/
26 
27 void reportCResult( const UChar source[], const UChar target[],
28                          uint8_t *sourceKey, uint8_t *targetKey,
29                          UCollationResult compareResult,
30                          UCollationResult keyResult,
31                          UCollationResult incResult,
32                          UCollationResult expectedResult );
33 
34 UChar* appendCompareResult(UCollationResult result, UChar* target);
35 
36 void addCollAPITest(TestNode**);
37 void addCurrencyCollTest(TestNode**);
38 void addNormTest(TestNode**);
39 void addDanishCollTest(TestNode**);
40 void addGermanCollTest(TestNode**);
41 void addSpanishCollTest(TestNode**);
42 void addFrenchCollTest(TestNode**);
43 void addKannaCollTest(TestNode**);
44 void addTurkishCollTest(TestNode**);
45 void addEnglishCollTest(TestNode**);
46 void addFinnishCollTest(TestNode**);
47 
48 void addRuleBasedCollTest(TestNode**);
49 void addCollIterTest(TestNode**);
50 void addAllCollTest(TestNode**);
51 void addMiscCollTest(TestNode**);
52 void addSearchTest(TestNode**);
53 
54 #endif /* #if !UCONFIG_NO_COLLATION */
55 
56 #endif
57