home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Programming / ICU / src / icu / source / test / cintltst / callcoll.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-08-16  |  2.1 KB  |  60 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 CALLCOLL.H
  15. *
  16. * Modification History:
  17. *        Name                     Description            
  18. *     Madhu Katragadda              Ported to C
  19. *********************************************************************************
  20. */
  21. /**
  22.  * CollationDummyTest is a third level test class.  This tests creation of 
  23.  * a customized collator object.  For example, number 1 to be sorted 
  24.  * equlivalent to word 'one'.
  25.  */
  26. #ifndef _CALLCOLLTST
  27. #define _CALLCOLLTST
  28.  
  29. #include "cintltst.h"
  30.  
  31.  
  32.  
  33.     /* static constants */
  34. #define MAX_TOKEN_LEN 128
  35.       
  36.     /* tests comparison of custom collation with different strengths */
  37. static    void doTest(UCollator*, const UChar* source, const UChar* target, UCollationResult result);
  38.  
  39.     /* perform test with strength PRIMARY */
  40. static    void TestPrimary(void);
  41.  
  42.     /* perform test with strength SECONDARY */
  43. static void TestSecondary(void);
  44.  
  45.     /* perform test with strength tertiary */
  46.     static void TestTertiary(void);
  47.  
  48.     /*perform tests with strength Identical */
  49. static    void TestIdentical(void);
  50.  
  51.     /* perform extra tests */
  52.     static void TestExtra(void);
  53.  
  54.  
  55.    
  56.  
  57.  
  58.  
  59. #endif
  60.