]> git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/tsmthred.h
ICU-66108.tar.gz
[apple/icu.git] / icuSources / test / intltest / tsmthred.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /********************************************************************
4 * COPYRIGHT:
5 * Copyright (c) 1997-2015, International Business Machines Corporation and
6 * others. All Rights Reserved.
7 ********************************************************************/
8
9
10 #ifndef MULTITHREADTEST_H
11 #define MULTITHREADTEST_H
12
13 #include "intltest.h"
14 #include "mutex.h"
15
16
17
18 /**
19 * Tests actual threading
20 **/
21 class MultithreadTest : public IntlTest
22 {
23 public:
24 MultithreadTest();
25 virtual ~MultithreadTest();
26
27 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
28
29 /**
30 * test that threads even work
31 **/
32 void TestThreads(void);
33
34 /**
35 * test that arabic shaping can work in threads
36 **/
37 void TestArabicShapingThreads(void);
38
39 #if !UCONFIG_NO_FORMATTING
40 /**
41 * test that intl functions work in a multithreaded context
42 **/
43 void TestThreadedIntl(void);
44 #endif
45 void TestCollators(void);
46 void TestString();
47 void TestAnyTranslit();
48 void TestUnifiedCache();
49 void TestBreakTranslit();
50 void TestIncDec();
51 void Test20104();
52 };
53
54 #endif
55