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

55 lines
1.5 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);
/* Test jitterbug 581 */
static void TestJB581(void);
1999-08-16 21:50:52 +00:00
#endif