mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
44 lines
1.3 KiB
C++
44 lines
1.3 KiB
C++
// © 2016 and later: Unicode, Inc. and others.
|
|
// License & terms of use: http://www.unicode.org/copyright.html
|
|
/*
|
|
*******************************************************************************
|
|
* Copyright (C) 2007-2015, International Business Machines Corporation and *
|
|
* others. All Rights Reserved. *
|
|
*******************************************************************************
|
|
*/
|
|
|
|
#ifndef _TIMEZONEFORMATTEST_
|
|
#define _TIMEZONEFORMATTEST_
|
|
|
|
#include "unicode/utypes.h"
|
|
|
|
#if !UCONFIG_NO_FORMATTING
|
|
|
|
#include "intltest.h"
|
|
|
|
class TimeZoneFormatTest : public IntlTest {
|
|
public:
|
|
// IntlTest override
|
|
void runIndexedTest(int32_t index, UBool exec, const char*& name, char* par) override;
|
|
|
|
void TestTimeZoneRoundTrip();
|
|
void TestTimeRoundTrip();
|
|
void TestParse();
|
|
void TestISOFormat();
|
|
void TestFormat();
|
|
void TestFormatTZDBNames();
|
|
void TestFormatCustomZone();
|
|
void TestFormatTZDBNamesAllZoneCoverage();
|
|
void TestAdoptDefaultThreadSafe();
|
|
void TestCentralTime();
|
|
void TestBogusLocale();
|
|
void Test22614GetMetaZoneNamesNotCrash();
|
|
void Test22615NonASCIIID();
|
|
|
|
void RunTimeRoundTripTests(int32_t threadNumber);
|
|
void RunAdoptDefaultThreadSafeTests(int32_t threadNumber);
|
|
};
|
|
|
|
#endif /* #if !UCONFIG_NO_FORMATTING */
|
|
|
|
#endif // _TIMEZONEFORMATTEST_
|