• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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-2001, International Business Machines Corporation and
6  * others. All Rights Reserved.
7  ********************************************************************/
8 
9 /**
10  * Collation currency tests.
11  * (It's important to stay current!)
12  */
13 
14 #ifndef _CURRCOLL
15 #define _CURRCOLL
16 
17 #include "unicode/utypes.h"
18 
19 #if !UCONFIG_NO_COLLATION
20 
21 #include "unicode/coleitr.h"
22 #include "tscoll.h"
23 
24 class CollationCurrencyTest: public IntlTestCollator
25 {
26 public:
27 
28     // If this is too small for the test data, just increase it.
29     // Just don't make it too large, otherwise the executable will get too big
30     enum EToken_Len { MAX_TOKEN_LEN = 16 };
31 
32     CollationCurrencyTest();
33     virtual ~CollationCurrencyTest();
34     void runIndexedTest(int32_t index, UBool exec, const char* &name, char* par = NULL);
35 
36     void currencyTest(/*char *par*/);
37 };
38 
39 #endif /* #if !UCONFIG_NO_COLLATION */
40 
41 #endif
42