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