]>
git.saurik.com Git - apple/icu.git/blob - 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 /********************************************************************
5 * Copyright (c) 1997-2015, International Business Machines Corporation and
6 * others. All Rights Reserved.
7 ********************************************************************/
10 #ifndef MULTITHREADTEST_H
11 #define MULTITHREADTEST_H
19 * Tests actual threading
21 class MultithreadTest
: public IntlTest
25 virtual ~MultithreadTest();
27 void runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* par
= NULL
);
30 * test that threads even work
32 void TestThreads(void);
35 * test that arabic shaping can work in threads
37 void TestArabicShapingThreads(void);
40 * test that mutexes work
43 #if !UCONFIG_NO_FORMATTING
45 * test that intl functions work in a multithreaded context
47 void TestThreadedIntl(void);
49 void TestCollators(void);
51 void TestAnyTranslit();
52 void TestConditionVariables();
53 void TestUnifiedCache();
54 void TestBreakTranslit();