scuffed-code/icu4c/source/test/intltest/currcoll.h

40 lines
982 B
C
Raw Normal View History

/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2001, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
1999-08-16 21:50:52 +00:00
/**
* Collation currency tests.
* (It's important to stay current!)
*/
#ifndef _CURRCOLL
#define _CURRCOLL
#include "unicode/utypes.h"
#if !UCONFIG_NO_COLLATION
#include "unicode/coleitr.h"
#include "tscoll.h"
1999-08-16 21:50:52 +00:00
class CollationCurrencyTest: public IntlTestCollator
1999-08-16 21:50:52 +00:00
{
public:
// If this is too small for the test data, just increase it.
// Just don't make it too large, otherwise the executable will get too big
1999-08-16 21:50:52 +00:00
enum EToken_Len { MAX_TOKEN_LEN = 16 };
CollationCurrencyTest();
virtual ~CollationCurrencyTest();
void runIndexedTest(int32_t index, UBool exec, const char* &name, char* par = NULL);
1999-08-16 21:50:52 +00:00
void currencyTest(/*char *par*/);
1999-08-16 21:50:52 +00:00
};
#endif /* #if !UCONFIG_NO_COLLATION */
1999-08-16 21:50:52 +00:00
#endif