1//
2// MutexTest.h
3//
4// Definition of the MutexTest class.
5//
6// Copyright (c) 2007, Applied Informatics Software Engineering GmbH.
7// and Contributors.
8//
9// SPDX-License-Identifier: BSL-1.0
10//
11
12
13#ifndef MutexTest_INCLUDED
14#define MutexTest_INCLUDED
15
16
17#include "Poco/Foundation.h"
18#include "Poco/CppUnit/TestCase.h"
19
20
21class MutexTest: public CppUnit::TestCase
22{
23public:
24 MutexTest(const std::string& name);
25 ~MutexTest();
26
27 void testMutexRecursion();
28 void testRecursiveMutexRecursion();
29 void testSpinlockMutex();
30
31 void setUp();
32 void tearDown();
33
34 static CppUnit::Test* suite();
35
36private:
37};
38
39
40#endif // MutexTest_INCLUDED
41