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