]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/tsmthred.h
1 /********************************************************************
3 * Copyright (c) 1997-2014, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
8 #ifndef MULTITHREADTEST_H
9 #define MULTITHREADTEST_H
17 * Tests actual threading
19 class MultithreadTest
: public IntlTest
23 virtual ~MultithreadTest();
25 void runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* par
= NULL
);
28 * test that threads even work
30 void TestThreads(void);
33 * test that arabic shaping can work in threads
35 void TestArabicShapingThreads(void);
38 * test that mutexes work
41 #if !UCONFIG_NO_FORMATTING
43 * test that intl functions work in a multithreaded context
45 void TestThreadedIntl(void);
47 void TestCollators(void);
49 void TestAnyTranslit();
50 void TestConditionVariables();
51 void TestUnifiedCache();