scuffed-code/icu4c/source/test/cintltst/callcoll.h

54 lines
1.4 KiB
C
Raw Normal View History

/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-1999, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
/********************************************************************************
1999-08-16 21:50:52 +00:00
*
* File CALLCOLL.H
*
* Modification History:
* Name Description
* Madhu Katragadda Ported to C
*********************************************************************************
*/
/**
* CollationDummyTest is a third level test class. This tests creation of
* a customized collator object. For example, number 1 to be sorted
* equlivalent to word 'one'.
*/
#ifndef _CALLCOLLTST
#define _CALLCOLLTST
#include "cintltst.h"
/* static constants */
#define MAX_TOKEN_LEN 128
/* tests comparison of custom collation with different strengths */
static void doTest(UCollator*, const UChar* source, const UChar* target, UCollationResult result);
/* perform test with strength PRIMARY */
static void TestPrimary(void);
/* perform test with strength SECONDARY */
static void TestSecondary(void);
/* perform test with strength tertiary */
static void TestTertiary(void);
/*perform tests with strength Identical */
static void TestIdentical(void);
/* perform extra tests */
static void TestExtra(void);
#endif