]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/intltest/svccoll.h
ICU-461.18.tar.gz
[apple/icu.git] / icuSources / test / intltest / svccoll.h
CommitLineData
b75a7d8f 1/********************************************************************
374ca955 2 * Copyright (c) 2004, International Business Machines Corporation
b75a7d8f
A
3 * and others. All Rights Reserved.
4 ********************************************************************/
5
6/**
7 * CollationServiceTest tests registration of collators.
8 */
9
10#ifndef _SVCCOLL
11#define _SVCCOLL
12
13#include "unicode/utypes.h"
14
15#if !UCONFIG_NO_COLLATION
16
17#include "intltest.h"
18
374ca955
A
19U_NAMESPACE_BEGIN
20
21class StringEnumeration;
22
b75a7d8f
A
23class CollationServiceTest: public IntlTest {
24public:
25 void runIndexedTest(int32_t index, UBool exec, const char* &name, char* /*par = NULL */);
26
27 void TestRegister(void);
28 void TestRegisterFactory(void);
374ca955
A
29 void TestSeparateTree();
30
31 private:
32 int32_t checkStringEnumeration(const char* msg,
33 StringEnumeration& iter,
34 const char** expected,
35 int32_t expectedCount);
36
37 int32_t checkAvailable(const char* msg);
b75a7d8f
A
38};
39
374ca955
A
40U_NAMESPACE_END
41
b75a7d8f
A
42/* #if !UCONFIG_NO_COLLATION */
43#endif
44
45/* #ifndef _SVCCOLL */
46#endif