]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/intltest/ucdtest.h
ICU-3.13.tar.gz
[apple/icu.git] / icuSources / test / intltest / ucdtest.h
CommitLineData
b75a7d8f
A
1/********************************************************************
2 * COPYRIGHT:
3 * Copyright (c) 1997-2003, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
6
7#include "unicode/uniset.h"
8#include "intltest.h"
9
10/** Helper function for TestUnicodeData */
11U_CAPI void U_CALLCONV unicodeDataLineFn(void *context,
12 char *fields[][2], int32_t fieldCount,
13 UErrorCode *pErrorCode);
14
15U_CAPI void U_CALLCONV
16derivedCorePropsLineFn(void *context,
17 char *fields[][2], int32_t fieldCount,
18 UErrorCode *pErrorCode);
19
20/**
21 * Test API and functionality of class Unicode
22 **/
23class UnicodeTest: public IntlTest {
24public:
25 UnicodeTest();
26 virtual ~UnicodeTest();
27
28 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
29
30 void TestAdditionalProperties();
31
32private:
33
34 friend void U_CALLCONV unicodeDataLineFn(void *context,
35 char *fields[][2], int32_t fieldCount,
36 UErrorCode *pErrorCode);
37
38 friend void U_CALLCONV
39 derivedCorePropsLineFn(void *context,
40 char *fields[][2], int32_t fieldCount,
41 UErrorCode *pErrorCode);
42
43 UnicodeSet derivedCoreProps[30];
44};
45