1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /********************************************************************
5 * Copyright (c) 1997-2003, International Business Machines Corporation and
6 * others. All Rights Reserved.
7 ********************************************************************/
10 * CollationTurkishTest is a third level test class. This tests the locale
11 * specific primary and tertiary rules. For example, the dotless-i and dotted-I
12 * sorts between h and j.
18 #include "unicode/utypes.h"
20 #if !UCONFIG_NO_COLLATION
24 class CollationTurkishTest
: public IntlTestCollator
{
26 // If this is too small for the test data, just increase it.
27 // Just don't make it too large, otherwise the executable will get too big
28 enum EToken_Len
{ MAX_TOKEN_LEN
= 16 };
30 CollationTurkishTest();
31 virtual ~CollationTurkishTest();
32 void runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* par
= NULL
);
34 // perform tests for turkish locale with strength PRIMARY
35 void TestPrimary(/* char* par */);
37 // perform tests for turkish locale with strength TERTIARY
38 void TestTertiary(/* char* par */);
42 static const UChar testSourceCases
[][MAX_TOKEN_LEN
];
43 static const UChar testTargetCases
[][MAX_TOKEN_LEN
];
44 static const Collator::EComparisonResult results
[];
46 Collator
*myCollation
;
49 #endif /* #if !UCONFIG_NO_COLLATION */