]> git.saurik.com Git - apple/icu.git/blame_incremental - icuSources/test/intltest/svccoll.h
ICU-511.27.tar.gz
[apple/icu.git] / icuSources / test / intltest / svccoll.h
... / ...
CommitLineData
1/********************************************************************
2 * Copyright (c) 2004, International Business Machines Corporation
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
19U_NAMESPACE_BEGIN
20
21class StringEnumeration;
22
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);
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);
38};
39
40U_NAMESPACE_END
41
42/* #if !UCONFIG_NO_COLLATION */
43#endif
44
45/* #ifndef _SVCCOLL */
46#endif