scuffed-code/icu4c/source/test/intltest/tsdtfmsy.h
2016-05-26 22:32:17 +00:00

43 lines
1.1 KiB
C++

/********************************************************************
* COPYRIGHT:
* Copyright (C) 2016 and later: Unicode, Inc. and others.
* License & terms of use: http://www.unicode.org/copyright.html
********************************************************************/
#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