Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(380)

Side by Side Diff: source/test/intltest/trcoll.h

Issue 2435373002: Delete source/test (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/test/intltest/transtst.cpp ('k') | source/test/intltest/trcoll.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /********************************************************************
2 * COPYRIGHT:
3 * Copyright (c) 1997-2003, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
6
7 /**
8 * CollationTurkishTest is a third level test class. This tests the locale
9 * specific primary and tertiary rules. For example, the dotless-i and dotted-I
10 * sorts between h and j.
11 */
12
13 #ifndef _TRCOLL
14 #define _TRCOLL
15
16 #include "unicode/utypes.h"
17
18 #if !UCONFIG_NO_COLLATION
19
20 #include "tscoll.h"
21
22 class CollationTurkishTest: public IntlTestCollator {
23 public:
24 // If this is too small for the test data, just increase it.
25 // Just don't make it too large, otherwise the executable will get too big
26 enum EToken_Len { MAX_TOKEN_LEN = 16 };
27
28 CollationTurkishTest();
29 virtual ~CollationTurkishTest();
30 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
31
32 // perform tests for turkish locale with strength PRIMARY
33 void TestPrimary(/* char* par */);
34
35 // perform tests for turkish locale with strength TERTIARY
36 void TestTertiary(/* char* par */);
37
38 private:
39 // static constants
40 static const UChar testSourceCases[][MAX_TOKEN_LEN];
41 static const UChar testTargetCases[][MAX_TOKEN_LEN];
42 static const Collator::EComparisonResult results[];
43
44 Collator *myCollation;
45 };
46
47 #endif /* #if !UCONFIG_NO_COLLATION */
48
49 #endif
OLDNEW
« no previous file with comments | « source/test/intltest/transtst.cpp ('k') | source/test/intltest/trcoll.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698