aa0b0a88e8
X-SVN-Rev: 2
49 lines
1.9 KiB
C
49 lines
1.9 KiB
C
/*
|
|
*****************************************************************************************
|
|
* *
|
|
* COPYRIGHT: *
|
|
* (C) Copyright Taligent, Inc., 1996 *
|
|
* (C) Copyright International Business Machines Corporation, 1999 *
|
|
* Licensed Material - Program-Property of IBM - All Rights Reserved. *
|
|
* US Government Users Restricted Rights - Use, duplication, or disclosure *
|
|
* restricted by GSA ADP Schedule Contract with IBM Corp. *
|
|
* *
|
|
*****************************************************************************************
|
|
********************************************************************************
|
|
*
|
|
* File CFINTST.H
|
|
*
|
|
* Modification History:
|
|
* Name Description
|
|
* Madhu Katragadda Converted to C
|
|
*********************************************************************************
|
|
/**
|
|
* CollationFinnishTest is a third level test class. This tests the locale
|
|
* specific primary, secondary and tertiary rules. For example, the ignorable
|
|
* character '-' in string "black-bird". The en_US locale uses the default
|
|
* collation rules as its sorting sequence.
|
|
*/
|
|
|
|
#ifndef _CFINCOLLTST
|
|
#define _CFINCOLLTST
|
|
|
|
|
|
#include "cintltst.h"
|
|
|
|
|
|
#define MAX_TOKEN_LEN 128
|
|
|
|
/* main test routine, tests comparisons for a set of strings against sets of expected results*/
|
|
static void doTest(UCollator*, const UChar* source, const UChar* target, UCollationResult result);
|
|
|
|
/* perform test with strength SECONDARY*/
|
|
static void TestPrimary(void);
|
|
|
|
/* perform test with strength TERTIARY */
|
|
static void TestTertiary(void);
|
|
|
|
|
|
|
|
|
|
#endif
|