home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Programming / ICU / src / icu / source / test / cintltst / cjaptst.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 CJAPTST.H
  15. *
  16. * Modification History:
  17. *        Name                     Description            
  18. *     Madhu Katragadda            Converted to C
  19. *********************************************************************************
  20. /**
  21.  * CollationKannaTest(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 _CJACOLLTST
  28. #define _CJACOLLTST
  29.  
  30.  
  31. #include "cintltst.h"
  32.  
  33.  
  34. #define MAX_TOKEN_LEN 128
  35.  
  36.    
  37.     /*main test routine, tests comparisons for a set of strings against sets of expected results*/
  38.     static void doTest(UCollator*, const UChar* source, const UChar* target, UCollationResult result);
  39.  
  40.  
  41.     /*perform test with strength TERTIARY*/
  42. static    void TestTertiary(void);
  43.  
  44.  
  45.     
  46.  
  47. #endif
  48.