]>
Commit | Line | Data |
---|---|---|
1 | // © 2016 and later: Unicode, Inc. and others. | |
2 | // License & terms of use: http://www.unicode.org/copyright.html | |
3 | /* | |
4 | ******************************************************************************* | |
5 | * Copyright (C) 2007-2015, International Business Machines Corporation and * | |
6 | * others. All Rights Reserved. * | |
7 | ******************************************************************************* | |
8 | */ | |
9 | ||
10 | #ifndef _TIMEZONEFORMATTEST_ | |
11 | #define _TIMEZONEFORMATTEST_ | |
12 | ||
13 | #include "unicode/utypes.h" | |
14 | ||
15 | #if !UCONFIG_NO_FORMATTING | |
16 | ||
17 | #include "intltest.h" | |
18 | ||
19 | class TimeZoneFormatTest : public IntlTest { | |
20 | public: | |
21 | // IntlTest override | |
22 | void runIndexedTest(int32_t index, UBool exec, const char*& name, char* par); | |
23 | ||
24 | void TestTimeZoneRoundTrip(void); | |
25 | void TestTimeRoundTrip(void); | |
26 | void TestParse(void); | |
27 | void TestISOFormat(void); | |
28 | void TestFormat(void); | |
29 | void TestFormatTZDBNames(void); | |
30 | void TestFormatCustomZone(void); | |
31 | void TestFormatTZDBNamesAllZoneCoverage(void); | |
32 | void TestAdoptDefaultThreadSafe(void); | |
33 | ||
34 | void RunTimeRoundTripTests(int32_t threadNumber); | |
35 | void RunAdoptDefaultThreadSafeTests(int32_t threadNumber); | |
36 | }; | |
37 | ||
38 | #endif /* #if !UCONFIG_NO_FORMATTING */ | |
39 | ||
40 | #endif // _TIMEZONEFORMATTEST_ |