~ubuntu-branches/ubuntu/gutsy/icu/gutsy-updates

« back to all changes in this revision

Viewing changes to source/test/cintltst/capitst.h

  • Committer: Package Import Robot
  • Author(s): Jay Berkenbilt
  • Date: 2005-11-19 11:29:31 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20051119112931-vcizkrp10tli4enw
Tags: 3.4-3
Explicitly build with g++ 3.4.  The current ICU fails its test suite
with 4.0 but not with 3.4.  Future versions should work properly with
4.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/********************************************************************
2
 
 * COPYRIGHT: 
3
 
 * Copyright (c) 1997-2001, International Business Machines Corporation and
4
 
 * others. All Rights Reserved.
5
 
 ********************************************************************/
6
 
/********************************************************************************
7
 
*
8
 
* File CAPITEST.H
9
 
*
10
 
* Modification History:
11
 
*        Name                     Description            
12
 
*     Madhu Katragadda            Converted to C
13
 
*********************************************************************************
14
 
*//* C API TEST For COLLATOR */
15
 
 
16
 
#ifndef _CCOLLAPITST
17
 
#define _CCOLLAPITST
18
 
 
19
 
 
20
 
#include "cintltst.h"
21
 
#define MAX_TOKEN_LEN 16
22
 
 
23
 
 
24
 
    /**
25
 
     * error reporting utility method
26
 
     **/
27
 
 
28
 
    static void doAssert(int condition, const char *message);
29
 
    /**
30
 
     * Collator Class Properties
31
 
     * ctor, dtor, createInstance, compare, getStrength/setStrength
32
 
     * getDecomposition/setDecomposition, getDisplayName
33
 
     */
34
 
    void TestProperty(void);
35
 
    /**
36
 
     * Test RuleBasedCollator and getRules
37
 
     **/
38
 
    void TestRuleBasedColl(void);
39
 
    
40
 
    /**
41
 
     * Test compare
42
 
     **/
43
 
    void TestCompare(void);
44
 
    /**
45
 
     * Test hashCode functionality
46
 
     **/
47
 
    void TestHashCode(void);
48
 
    /**
49
 
     * Tests the constructor and numerous other methods for CollationKey
50
 
     **/
51
 
   void TestSortKey(void);
52
 
    /**
53
 
     * test the CollationElementIterator methods
54
 
     **/
55
 
   void TestElemIter(void);
56
 
    /**
57
 
     * Test ucol_getAvailable and ucol_countAvailable()
58
 
     **/
59
 
    void TestGetAll(void);
60
 
    /**
61
 
     * Test ucol_GetDefaultRules ()
62
 
    void TestGetDefaultRules(void);
63
 
     **/
64
 
 
65
 
    void TestDecomposition(void);
66
 
    /**
67
 
     * Test ucol_safeClone ()
68
 
     **/    
69
 
    void TestSafeClone(void);
70
 
 
71
 
    /**
72
 
     * Test getting bounds for a sortkey
73
 
     */
74
 
    void TestBounds(void);
75
 
 
76
 
    /**
77
 
     * Test ucol_getLocale function
78
 
     */
79
 
    void TestGetLocale(void);
80
 
 
81
 
 
82
 
#endif