diff options
Diffstat (limited to 'Build/source/libs/icu/icu-49.1/test/intltest/tsmthred.h')
-rw-r--r-- | Build/source/libs/icu/icu-49.1/test/intltest/tsmthred.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-49.1/test/intltest/tsmthred.h b/Build/source/libs/icu/icu-49.1/test/intltest/tsmthred.h new file mode 100644 index 00000000000..f2f990608f9 --- /dev/null +++ b/Build/source/libs/icu/icu-49.1/test/intltest/tsmthred.h @@ -0,0 +1,46 @@ +/******************************************************************** + * COPYRIGHT: + * Copyright (c) 1997-2004, International Business Machines Corporation and + * others. All Rights Reserved. + ********************************************************************/ + + +#ifndef MULTITHREADTEST_H +#define MULTITHREADTEST_H + +#include "intltest.h" +#include "mutex.h" + + + +/** + * Tests actual threading + **/ +class MultithreadTest : public IntlTest +{ +public: + MultithreadTest(); + virtual ~MultithreadTest(); + + void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL ); + + /** + * test that threads even work + **/ + void TestThreads(void); + /** + * test that mutexes work + **/ + void TestMutex(void); +#if !UCONFIG_NO_FORMATTING + /** + * test that intl functions work in a multithreaded context + **/ + void TestThreadedIntl(void); +#endif + void TestCollators(void); + void TestString(); +}; + +#endif + |