cb40d8b1a5
correct the mutex Remove comments about not thread safe
41 lines
1.2 KiB
C++
41 lines
1.2 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);
|
|
|
|
void TestTimeZoneRoundTrip(void);
|
|
void TestTimeRoundTrip(void);
|
|
void TestParse(void);
|
|
void TestISOFormat(void);
|
|
void TestFormat(void);
|
|
void TestFormatTZDBNames(void);
|
|
void TestFormatCustomZone(void);
|
|
void TestFormatTZDBNamesAllZoneCoverage(void);
|
|
void TestAdoptDefaultThreadSafe(void);
|
|
|
|
void RunTimeRoundTripTests(int32_t threadNumber);
|
|
void RunAdoptDefaultThreadSafeTests(int32_t threadNumber);
|
|
};
|
|
|
|
#endif /* #if !UCONFIG_NO_FORMATTING */
|
|
|
|
#endif // _TIMEZONEFORMATTEST_
|