1
/********************************************************************
3
* Copyright (c) 1997-2001, International Business Machines Corporation and
4
* others. All Rights Reserved.
5
********************************************************************/
8
#ifndef LOTUSCOLLATIONKOREANTEST_H
9
#define LOTUSCOLLATIONKOREANTEST_H
13
class LotusCollationKoreanTest: public IntlTestCollator {
15
// If this is too small for the test data, just increase it.
16
// Just don't make it too large, otherwise the executable will get too big
17
enum EToken_Len { MAX_TOKEN_LEN = 16 };
19
LotusCollationKoreanTest();
20
virtual ~LotusCollationKoreanTest();
21
void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
23
// main test routine, tests rules specific to "Kana" locale
24
void doTest( UnicodeString source, UnicodeString target, Collator::EComparisonResult result);
26
// performs test with strength TERIARY
27
void TestTertiary(/* char* par */);
30
static const UChar testSourceCases[][MAX_TOKEN_LEN];
31
static const UChar testTargetCases[][MAX_TOKEN_LEN];
32
static const Collator::EComparisonResult results[];
34
Collator *myCollation;