2000-01-15 02:00:06 +00:00
|
|
|
/********************************************************************
|
|
|
|
* COPYRIGHT:
|
2016-05-26 22:32:17 +00:00
|
|
|
* Copyright (C) 2016 and later: Unicode, Inc. and others.
|
|
|
|
* License & terms of use: http://www.unicode.org/copyright.html
|
2000-01-15 02:00:06 +00:00
|
|
|
********************************************************************/
|
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
|