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