]>
Commit | Line | Data |
---|---|---|
f3c0d7a5 A |
1 | // © 2016 and later: Unicode, Inc. and others. |
2 | // License & terms of use: http://www.unicode.org/copyright.html | |
b75a7d8f A |
3 | /******************************************************************** |
4 | * COPYRIGHT: | |
2ca993e8 | 5 | * Copyright (c) 1997-2015, International Business Machines Corporation and |
b75a7d8f A |
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 | ||
b75a7d8f A |
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); | |
51004dcb A |
33 | |
34 | /** | |
35 | * test that arabic shaping can work in threads | |
36 | **/ | |
37 | void TestArabicShapingThreads(void); | |
38 | ||
b75a7d8f A |
39 | /** |
40 | * test that mutexes work | |
41 | **/ | |
42 | void TestMutex(void); | |
43 | #if !UCONFIG_NO_FORMATTING | |
44 | /** | |
45 | * test that intl functions work in a multithreaded context | |
46 | **/ | |
47 | void TestThreadedIntl(void); | |
48 | #endif | |
57a6839d A |
49 | void TestCollators(void); |
50 | void TestString(); | |
51 | void TestAnyTranslit(); | |
b331163b A |
52 | void TestConditionVariables(); |
53 | void TestUnifiedCache(); | |
2ca993e8 | 54 | void TestBreakTranslit(); |
0f5d89e8 | 55 | void TestIncDec(); |
b75a7d8f A |
56 | }; |
57 | ||
58 | #endif | |
59 |