2017-01-20 00:20:31 +00:00
|
|
|
// © 2016 and later: Unicode, Inc. and others.
|
2016-06-15 18:58:17 +00:00
|
|
|
// License & terms of use: http://www.unicode.org/copyright.html
|
2007-11-28 20:49:58 +00:00
|
|
|
/*
|
|
|
|
*******************************************************************************
|
2016-05-31 21:45:07 +00:00
|
|
|
* Copyright (C) 2007-2015, International Business Machines Corporation and *
|
|
|
|
* others. All Rights Reserved. *
|
2007-11-28 20:49:58 +00:00
|
|
|
*******************************************************************************
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _TIMEZONEFORMATTEST_
|
|
|
|
#define _TIMEZONEFORMATTEST_
|
|
|
|
|
|
|
|
#include "unicode/utypes.h"
|
|
|
|
|
|
|
|
#if !UCONFIG_NO_FORMATTING
|
|
|
|
|
|
|
|
#include "intltest.h"
|
|
|
|
|
|
|
|
class TimeZoneFormatTest : public IntlTest {
|
2015-12-03 23:10:38 +00:00
|
|
|
public:
|
2007-11-28 20:49:58 +00:00
|
|
|
// IntlTest override
|
|
|
|
void runIndexedTest(int32_t index, UBool exec, const char*& name, char* par);
|
|
|
|
|
|
|
|
void TestTimeZoneRoundTrip(void);
|
|
|
|
void TestTimeRoundTrip(void);
|
2013-02-11 00:23:55 +00:00
|
|
|
void TestParse(void);
|
|
|
|
void TestISOFormat(void);
|
2013-06-12 20:56:06 +00:00
|
|
|
void TestFormat(void);
|
2014-07-23 21:51:09 +00:00
|
|
|
void TestFormatTZDBNames(void);
|
2017-03-14 19:39:30 +00:00
|
|
|
void TestFormatCustomZone(void);
|
2015-12-03 23:10:38 +00:00
|
|
|
|
|
|
|
void RunTimeRoundTripTests(int32_t threadNumber);
|
2007-11-28 20:49:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* #if !UCONFIG_NO_FORMATTING */
|
|
|
|
|
|
|
|
#endif // _TIMEZONEFORMATTEST_
|