1 // © 2016 and later: Unicode, Inc. and others. 2 // License & terms of use: http://www.unicode.org/copyright.html 3 /******************************************************************** 4 * COPYRIGHT: 5 * Copyright (c) 1997-2003, International Business Machines Corporation and 6 * others. All Rights Reserved. 7 ********************************************************************/ 8 9 10 #ifndef LOTUSCOLLATIONKOREANTEST_H 11 #define LOTUSCOLLATIONKOREANTEST_H 12 13 #include "unicode/utypes.h" 14 15 #if !UCONFIG_NO_COLLATION 16 17 #include "tscoll.h" 18 19 class LotusCollationKoreanTest: public IntlTestCollator { 20 public: 21 // If this is too small for the test data, just increase it. 22 // Just don't make it too large, otherwise the executable will get too big 23 enum EToken_Len { MAX_TOKEN_LEN = 16 }; 24 25 LotusCollationKoreanTest(); 26 virtual ~LotusCollationKoreanTest(); 27 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL ); 28 29 // performs test with strength TERIARY 30 void TestTertiary(/* char* par */); 31 32 private: 33 static const UChar testSourceCases[][MAX_TOKEN_LEN]; 34 static const UChar testTargetCases[][MAX_TOKEN_LEN]; 35 static const Collator::EComparisonResult results[]; 36 37 Collator *myCollation; 38 }; 39 40 #endif /* #if !UCONFIG_NO_COLLATION */ 41 42 #endif 43