scuffed-code/icu4c/source/test/intltest/tsdtfmsy.h
2013-01-14 04:48:51 +00:00

43 lines
1.1 KiB
C++

/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2013, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
#ifndef _INTLTESTDATEFORMATSYMBOLS
#define _INTLTESTDATEFORMATSYMBOLS
#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING
#include "intltest.h"
/**
* Tests for DateFormatSymbols
**/
class IntlTestDateFormatSymbols: public IntlTest {
void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
private:
/**
* Test the API of DateFormatSymbols; primarily a simple get/set set.
*/
void TestSymbols(/* char *par */);
/**
* Test getMonths.
*/
void TestGetMonths(void);
void TestGetMonths2(void);
void TestGetWeekdays2(void);
void TestGetEraNames(void);
void TestGetSetSpecificItems(void);
UBool UnicodeStringsArePrefixes(int32_t count, int32_t prefixLen, const UnicodeString *prefixArray, const UnicodeString *baseArray);
};
#endif /* #if !UCONFIG_NO_FORMATTING */
#endif