]> git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/currcoll.h
ICU-511.27.tar.gz
[apple/icu.git] / icuSources / test / intltest / currcoll.h
1 /********************************************************************
2 * COPYRIGHT:
3 * Copyright (c) 1997-2001, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
6
7 /**
8 * Collation currency tests.
9 * (It's important to stay current!)
10 */
11
12 #ifndef _CURRCOLL
13 #define _CURRCOLL
14
15 #include "unicode/utypes.h"
16
17 #if !UCONFIG_NO_COLLATION
18
19 #include "unicode/coleitr.h"
20 #include "tscoll.h"
21
22 class CollationCurrencyTest: public IntlTestCollator
23 {
24 public:
25
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 };
29
30 CollationCurrencyTest();
31 virtual ~CollationCurrencyTest();
32 void runIndexedTest(int32_t index, UBool exec, const char* &name, char* par = NULL);
33
34 void currencyTest(/*char *par*/);
35 };
36
37 #endif /* #if !UCONFIG_NO_COLLATION */
38
39 #endif