home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Programming / ICU / src / icu / source / test / cintltst / capitst.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-08-16  |  2.2 KB  |  72 lines

  1. /*
  2. *****************************************************************************************
  3. *                                                                                       *
  4. * COPYRIGHT:                                                                            *
  5. *   (C) Copyright Taligent, Inc.,  1996                                                 *
  6. *   (C) Copyright International Business Machines Corporation,  1999                    *
  7. *   Licensed Material - Program-Property of IBM - All Rights Reserved.                  *
  8. *   US Government Users Restricted Rights - Use, duplication, or disclosure             *
  9. *   restricted by GSA ADP Schedule Contract with IBM Corp.                              *
  10. *                                                                                       *
  11. *****************************************************************************************
  12. ********************************************************************************
  13. *
  14. * File CAPITEST.H
  15. *
  16. * Modification History:
  17. *        Name                     Description            
  18. *     Madhu Katragadda            Converted to C
  19. *********************************************************************************
  20. *//* C API TEST For COLLATOR */
  21.  
  22. #ifndef _CCOLLAPITST
  23. #define _CCOLLAPITST
  24.  
  25.  
  26. #include "cintltst.h"
  27. #define   MAX_TOKEN_LEN  128  
  28.  
  29.  
  30.     /**
  31.      * error reporting utility method
  32.      **/
  33.  
  34.     static void doAssert(int condition, const char *message);
  35.     /**
  36.      * Collator Class Properties
  37.      * ctor, dtor, createInstance, compare, getStrength/setStrength
  38.      * getDecomposition/setDecomposition, getDisplayName
  39.      */
  40.     void TestProperty(void);
  41.     /**
  42.      * Test RuleBasedCollator and getRules
  43.      **/
  44.     void TestRuleBasedColl(void);
  45.     
  46.     /**
  47.      * Test compare
  48.      **/
  49.     void TestCompare(void);
  50.     /**
  51.      * Test hashCode functionality
  52.      **/
  53.     void TestHashCode(void);
  54.     /**
  55.      * Tests the constructor and numerous other methods for CollationKey
  56.      **/
  57.    void TestSortKey(void);
  58.     /**
  59.      * test the CollationElementIterator methods
  60.      **/
  61.    void TestElemIter(void);
  62.     /**
  63.      * Test ucol_getAvailable and ucol_countAvailable()
  64.      **/
  65.     void TestGetAll(void);
  66.  
  67.     
  68.  
  69.     
  70.  
  71. #endif
  72.