home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Programming / ICU / src / icu / source / test / cintltst / cturtst.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-08-16  |  1.9 KB  |  48 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 CTURTST.H
  15. *
  16. * Modification History:
  17. *        Name                     Description            
  18. *     Madhu Katragadda            Converted to C
  19. *********************************************************************************
  20. /**
  21.  * CollationTurkishTest(JAPAN) is a third level test class.  This tests the locale
  22.  * specific primary, secondary and tertiary rules.  For example, the ignorable
  23.  * character '-' in string "black-bird".  The en_US locale uses the default
  24.  * collation rules as its sorting sequence.
  25.  */
  26.  
  27. #ifndef _CTRCOLLTST
  28. #define _CTRCOLLTST
  29.  
  30.  
  31. #include "cintltst.h"
  32.  
  33. #define MAX_TOKEN_LEN 128
  34.  
  35.    
  36.     /* main test routine, tests comparisons for a set of strings against sets of expected results */
  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.     /* perform test with strength TERTIARY */
  42. static    void TestTertiary(void);
  43.  
  44.  
  45.     
  46.  
  47. #endif
  48.