home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Programming / ICU / src / icu / source / test / cintltst / cfrtst.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-08-16  |  2.0 KB  |  52 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 CFRTST.H
  15. *
  16. * Modification History:
  17. *        Name                     Description            
  18. *     Madhu Katragadda            Converted to C
  19. *********************************************************************************
  20. /**
  21.  * CollationFrenchTest 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 _CFRCOLLTST
  28. #define _CFRCOLLTST
  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.     /* performs Extra tests*/
  40.    static void TestExtra(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.  
  49.    
  50.  
  51. #endif
  52.