scuffed-code/icu4c/source/test/cintltst/capitst.h
George Rhoten c0ecb9aa96 ICU-832 Each test string does not need to be 128 UChars big.
Setting MAX_TOKEN_LEN to a lower limit takes out about 100K from the executable on Windows.
If you need larger test string, you can raise the limit where it's needed.

X-SVN-Rev: 4411
2001-03-30 03:49:29 +00:00

72 lines
1.8 KiB
C

/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2001, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
/********************************************************************************
*
* File CAPITEST.H
*
* Modification History:
* Name Description
* Madhu Katragadda Converted to C
*********************************************************************************
*//* C API TEST For COLLATOR */
#ifndef _CCOLLAPITST
#define _CCOLLAPITST
#include "cintltst.h"
#define MAX_TOKEN_LEN 16
/**
* error reporting utility method
**/
static void doAssert(int condition, const char *message);
/**
* Collator Class Properties
* ctor, dtor, createInstance, compare, getStrength/setStrength
* getDecomposition/setDecomposition, getDisplayName
*/
void TestProperty(void);
/**
* Test RuleBasedCollator and getRules
**/
void TestRuleBasedColl(void);
/**
* Test compare
**/
void TestCompare(void);
/**
* Test hashCode functionality
**/
void TestHashCode(void);
/**
* Tests the constructor and numerous other methods for CollationKey
**/
void TestSortKey(void);
/**
* test the CollationElementIterator methods
**/
void TestElemIter(void);
/**
* Test ucol_getAvailable and ucol_countAvailable()
**/
void TestGetAll(void);
/**
* Test ucol_GetDefaultRules ()
void TestGetDefaultRules(void);
**/
void TestDecomposition(void);
/**
* Test ucol_safeClone ()
**/
void TestSafeClone(void);
#endif