• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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) override;
23 
24     void TestTimeZoneRoundTrip();
25     void TestTimeRoundTrip();
26     void TestParse();
27     void TestISOFormat();
28     void TestFormat();
29     void TestFormatTZDBNames();
30     void TestFormatCustomZone();
31     void TestFormatTZDBNamesAllZoneCoverage();
32     void TestAdoptDefaultThreadSafe();
33     void TestCentralTime();
34     void TestBogusLocale();
35     void Test22614GetMetaZoneNamesNotCrash();
36     void Test22615NonASCIIID();
37 
38     void RunTimeRoundTripTests(int32_t threadNumber);
39     void RunAdoptDefaultThreadSafeTests(int32_t threadNumber);
40 };
41 
42 #endif /* #if !UCONFIG_NO_FORMATTING */
43 
44 #endif // _TIMEZONEFORMATTEST_
45