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