blob: e8a0c50a9d2497302ba3684dc22da175c4de1921 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// **********************************************************************
//
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
#include <IceUtil/MutexProtocol.h>
#include <TestSuite.h>
#include <ThreadPriority.h>
#include <TimerPriority.h>
#include <PriorityInversion.h>
std::list<TestBasePtr> allTests;
void
initializeTestSuite()
{
allTests.push_back(new ThreadPriorityTest);
allTests.push_back(new TimerPriorityTest);
if(IceUtil::getDefaultMutexProtocol() == IceUtil::PrioInherit)
{
allTests.push_back(new PriorityInversionTest);
}
}
|