]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/intltest/lcukocol.h
ICU-511.32.tar.gz
[apple/icu.git] / icuSources / test / intltest / lcukocol.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
8#ifndef LOTUSCOLLATIONKOREANTEST_H
9#define LOTUSCOLLATIONKOREANTEST_H
10
11#include "unicode/utypes.h"
12
13#if !UCONFIG_NO_COLLATION
14
15#include "tscoll.h"
16
17class LotusCollationKoreanTest: public IntlTestCollator {
18public:
19 // If this is too small for the test data, just increase it.
20 // Just don't make it too large, otherwise the executable will get too big
21 enum EToken_Len { MAX_TOKEN_LEN = 16 };
22
23 LotusCollationKoreanTest();
24 virtual ~LotusCollationKoreanTest();
25 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
26
27 // performs test with strength TERIARY
28 void TestTertiary(/* char* par */);
29
30private:
31 static const UChar testSourceCases[][MAX_TOKEN_LEN];
32 static const UChar testTargetCases[][MAX_TOKEN_LEN];
33 static const Collator::EComparisonResult results[];
34
35 Collator *myCollation;
36};
37
38#endif /* #if !UCONFIG_NO_COLLATION */
39
40#endif