2000-01-15 02:00:06 +00:00
|
|
|
/********************************************************************
|
|
|
|
* COPYRIGHT:
|
2013-01-14 04:48:51 +00:00
|
|
|
* Copyright (c) 1997-2013, International Business Machines Corporation and
|
2000-01-15 02:00:06 +00:00
|
|
|
* others. All Rights Reserved.
|
|
|
|
********************************************************************/
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
#ifndef _INTLTESTDATEFORMATSYMBOLS
|
|
|
|
#define _INTLTESTDATEFORMATSYMBOLS
|
|
|
|
|
2002-09-21 00:43:14 +00:00
|
|
|
#include "unicode/utypes.h"
|
|
|
|
|
|
|
|
#if !UCONFIG_NO_FORMATTING
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
#include "intltest.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Tests for DateFormatSymbols
|
|
|
|
**/
|
|
|
|
class IntlTestDateFormatSymbols: public IntlTest {
|
2000-08-14 21:42:36 +00:00
|
|
|
void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
/**
|
|
|
|
* Test the API of DateFormatSymbols; primarily a simple get/set set.
|
|
|
|
*/
|
2005-07-14 23:24:38 +00:00
|
|
|
void TestSymbols(/* char *par */);
|
1999-08-16 21:50:52 +00:00
|
|
|
/**
|
|
|
|
* Test getMonths.
|
|
|
|
*/
|
|
|
|
void TestGetMonths(void);
|
2005-07-14 23:24:38 +00:00
|
|
|
void TestGetMonths2(void);
|
|
|
|
|
|
|
|
void TestGetWeekdays2(void);
|
|
|
|
void TestGetEraNames(void);
|
2013-01-14 04:48:51 +00:00
|
|
|
void TestGetSetSpecificItems(void);
|
|
|
|
|
|
|
|
UBool UnicodeStringsArePrefixes(int32_t count, int32_t prefixLen, const UnicodeString *prefixArray, const UnicodeString *baseArray);
|
1999-08-16 21:50:52 +00:00
|
|
|
};
|
|
|
|
|
2002-09-21 00:43:14 +00:00
|
|
|
#endif /* #if !UCONFIG_NO_FORMATTING */
|
|
|
|
|
1999-08-16 21:50:52 +00:00
|
|
|
#endif
|