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