mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
840044f69b
* fix(PollSet): PollSet data race #3628 * fix(SocketConnector): SocketConnector test #2875 * fix(PollSet): optimize the amount of locked code; fix and simplify wakeUp logic * fix(SocketConnectorTest): fix test memleak (data not flowing, handlers not deleted) #2875 * fix(PollSet): clear() and tests
37 lines
635 B
C++
37 lines
635 B
C++
//
|
|
// SocketConnectorTest.h
|
|
//
|
|
// Definition of the SocketConnectorTest class.
|
|
//
|
|
// Copyright (c) 2005-2019, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#ifndef SocketConnectorTest_INCLUDED
|
|
#define SocketConnectorTest_INCLUDED
|
|
|
|
|
|
#include "Poco/Net/Net.h"
|
|
#include "CppUnit/TestCase.h"
|
|
|
|
|
|
class SocketConnectorTest: public CppUnit::TestCase
|
|
{
|
|
public:
|
|
SocketConnectorTest(const std::string& name);
|
|
~SocketConnectorTest();
|
|
|
|
void testUnregisterConnector();
|
|
|
|
void setUp();
|
|
void tearDown();
|
|
|
|
static CppUnit::Test* suite();
|
|
};
|
|
|
|
|
|
#endif // SocketConnectorTest_INCLUDED
|