1 /********************************************************************
3 * Copyright (c) 1997-2003, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
7 #include "unicode/uniset.h"
10 /** Helper function for TestUnicodeData */
11 U_CAPI
void U_CALLCONV
unicodeDataLineFn(void *context
,
12 char *fields
[][2], int32_t fieldCount
,
13 UErrorCode
*pErrorCode
);
15 U_CAPI
void U_CALLCONV
16 derivedCorePropsLineFn(void *context
,
17 char *fields
[][2], int32_t fieldCount
,
18 UErrorCode
*pErrorCode
);
21 * Test API and functionality of class Unicode
23 class UnicodeTest
: public IntlTest
{
26 virtual ~UnicodeTest();
28 void runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* par
= NULL
);
30 void TestAdditionalProperties();
34 friend void U_CALLCONV
unicodeDataLineFn(void *context
,
35 char *fields
[][2], int32_t fieldCount
,
36 UErrorCode
*pErrorCode
);
38 friend void U_CALLCONV
39 derivedCorePropsLineFn(void *context
,
40 char *fields
[][2], int32_t fieldCount
,
41 UErrorCode
*pErrorCode
);
43 UnicodeSet derivedCoreProps
[30];