| 1 | // |
| 2 | // SocketAddressTest.h |
| 3 | // |
| 4 | // Definition of the SocketAddressTest 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 SocketAddressTest_INCLUDED |
| 14 | #define SocketAddressTest_INCLUDED |
| 15 | |
| 16 | |
| 17 | #include "Poco/Net/Net.h" |
| 18 | #include "Poco/CppUnit/TestCase.h" |
| 19 | |
| 20 | |
| 21 | class SocketAddressTest: public CppUnit::TestCase |
| 22 | { |
| 23 | public: |
| 24 | SocketAddressTest(const std::string& name); |
| 25 | ~SocketAddressTest(); |
| 26 | |
| 27 | void testSocketAddress(); |
| 28 | void testSocketRelationals(); |
| 29 | void testSocketAddress6(); |
| 30 | void testSocketAddressUnixLocal(); |
| 31 | void testSocketAddressLinuxAbstract(); |
| 32 | |
| 33 | void setUp(); |
| 34 | void tearDown(); |
| 35 | |
| 36 | static CppUnit::Test* suite(); |
| 37 | |
| 38 | private: |
| 39 | }; |
| 40 | |
| 41 | |
| 42 | #endif // SocketAddressTest_INCLUDED |
| 43 | |