diff options
Diffstat (limited to 'Build/source/libs/icu/icu-xetex/test/intltest/svccoll.h')
-rw-r--r-- | Build/source/libs/icu/icu-xetex/test/intltest/svccoll.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-xetex/test/intltest/svccoll.h b/Build/source/libs/icu/icu-xetex/test/intltest/svccoll.h new file mode 100644 index 00000000000..3967f104ce8 --- /dev/null +++ b/Build/source/libs/icu/icu-xetex/test/intltest/svccoll.h @@ -0,0 +1,46 @@ +/******************************************************************** + * Copyright (c) 2004, International Business Machines Corporation + * and others. All Rights Reserved. + ********************************************************************/ + +/** + * CollationServiceTest tests registration of collators. + */ + +#ifndef _SVCCOLL +#define _SVCCOLL + +#include "unicode/utypes.h" + +#if !UCONFIG_NO_COLLATION + +#include "intltest.h" + +U_NAMESPACE_BEGIN + +class StringEnumeration; + +class CollationServiceTest: public IntlTest { +public: + void runIndexedTest(int32_t index, UBool exec, const char* &name, char* /*par = NULL */); + + void TestRegister(void); + void TestRegisterFactory(void); + void TestSeparateTree(); + + private: + int32_t checkStringEnumeration(const char* msg, + StringEnumeration& iter, + const char** expected, + int32_t expectedCount); + + int32_t checkAvailable(const char* msg); +}; + +U_NAMESPACE_END + +/* #if !UCONFIG_NO_COLLATION */ +#endif + +/* #ifndef _SVCCOLL */ +#endif |