2000-01-15 02:00:06 +00:00
|
|
|
/********************************************************************
|
|
|
|
* COPYRIGHT:
|
2005-06-16 18:44:30 +00:00
|
|
|
* Copyright (c) 1997-2005, International Business Machines Corporation and
|
2000-01-15 02:00:06 +00:00
|
|
|
* others. All Rights Reserved.
|
|
|
|
********************************************************************/
|
|
|
|
/********************************************************************************
|
1999-08-16 21:50:52 +00:00
|
|
|
*
|
|
|
|
* File CCOLLTST.H
|
|
|
|
*
|
|
|
|
* Modification History:
|
|
|
|
* Name Description
|
|
|
|
* Madhu Katragadda Creation
|
|
|
|
*********************************************************************************
|
|
|
|
*/
|
|
|
|
#ifndef _CCOLLTST
|
|
|
|
#define _CCOLLTST
|
|
|
|
|
2002-09-20 17:54:45 +00:00
|
|
|
#include "unicode/utypes.h"
|
|
|
|
|
|
|
|
#if !UCONFIG_NO_COLLATION
|
|
|
|
|
1999-08-16 21:50:52 +00:00
|
|
|
#include "cintltst.h"
|
1999-12-28 23:57:50 +00:00
|
|
|
#include "unicode/ucol.h"
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
/* Internal Functions used*/
|
|
|
|
|
|
|
|
void reportCResult( const UChar source[], const UChar target[],
|
|
|
|
uint8_t *sourceKey, uint8_t *targetKey,
|
|
|
|
UCollationResult compareResult,
|
|
|
|
UCollationResult keyResult,
|
2000-12-12 21:35:26 +00:00
|
|
|
UCollationResult incResult,
|
1999-08-16 21:50:52 +00:00
|
|
|
UCollationResult expectedResult );
|
|
|
|
|
|
|
|
UChar* appendCompareResult(UCollationResult result, UChar* target);
|
|
|
|
|
2001-04-03 00:32:05 +00:00
|
|
|
void addCollAPITest(TestNode**);
|
2005-06-16 18:44:30 +00:00
|
|
|
void addCurrencyCollTest(TestNode**);
|
2001-04-03 00:32:05 +00:00
|
|
|
void addNormTest(TestNode**);
|
|
|
|
void addDanishCollTest(TestNode**);
|
|
|
|
void addGermanCollTest(TestNode**);
|
|
|
|
void addSpanishCollTest(TestNode**);
|
|
|
|
void addFrenchCollTest(TestNode**);
|
|
|
|
void addKannaCollTest(TestNode**);
|
|
|
|
void addTurkishCollTest(TestNode**);
|
|
|
|
void addEnglishCollTest(TestNode**);
|
|
|
|
void addFinnishCollTest(TestNode**);
|
|
|
|
|
|
|
|
void addRuleBasedCollTest(TestNode**);
|
|
|
|
void addCollIterTest(TestNode**);
|
|
|
|
void addAllCollTest(TestNode**);
|
|
|
|
void addMiscCollTest(TestNode**);
|
2001-08-25 02:06:37 +00:00
|
|
|
void addSearchTest(TestNode**);
|
2001-04-03 00:32:05 +00:00
|
|
|
|
2002-09-20 17:54:45 +00:00
|
|
|
#endif /* #if !UCONFIG_NO_COLLATION */
|
|
|
|
|
1999-08-16 21:50:52 +00:00
|
|
|
#endif
|