home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Programming / ICU / src / icu / source / test / cintltst / cdantst.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-08-16  |  1.9 KB  |  51 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 CDANTST.H
  15. *
  16. * Modification History:
  17. *        Name                     Description            
  18. *     Madhu Katragadda            Converted to C
  19. *********************************************************************************
  20. /**
  21.  * CollationDanishTest 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 _CDANCOLLTST
  28. #define _CDANCOLLTST
  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 test with strength PRIMARY */
  40.  static   void TestPrimary(void);
  41.  
  42.     /* perform test with strength TERTIARY*/
  43.  static  void TestTertiary(void);
  44.  
  45.  
  46.     
  47.  
  48.     
  49.  
  50. #endif
  51.