home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Programming / ICU / src / icu / source / test / cintltst / cdetst.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-08-16  |  1.9 KB  |  53 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 CDETST.H
  15. *
  16. * Modification History:
  17. *        Name                     Description            
  18. *     Madhu Katragadda            Converted to C
  19. *********************************************************************************
  20. /**
  21.  * CollationGERMANTest 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 _CGERCOLLTST
  28. #define _CGERCOLLTST
  29.  
  30.  
  31. #include "cintltst.h"
  32.  
  33.  
  34. #define MAX_TOKEN_LEN 128
  35.     
  36.  
  37.    
  38.     /* main test routine, tests comparisons for a set of strings against sets of expected results*/
  39.  static   void doTest(UCollator*,  const UChar source[], const UChar target[], UCollationResult result);
  40.  
  41.     /* performs test with strength PRIMARY */
  42.  static    void TestPrimary(void);
  43.  
  44.     /* perform test with strength TERTIARY */
  45. static     void TestTertiary(void);
  46.  
  47.  
  48.     
  49.  
  50.    
  51.  
  52. #endif
  53.