| 1 | // |
|---|---|
| 2 | // NetCoreTestSuite.cpp |
| 3 | // |
| 4 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. |
| 5 | // and Contributors. |
| 6 | // |
| 7 | // SPDX-License-Identifier: BSL-1.0 |
| 8 | // |
| 9 | |
| 10 | |
| 11 | #include "NetCoreTestSuite.h" |
| 12 | #include "IPAddressTest.h" |
| 13 | #include "SocketAddressTest.h" |
| 14 | #include "DNSTest.h" |
| 15 | #include "NetworkInterfaceTest.h" |
| 16 | |
| 17 | |
| 18 | CppUnit::Test* NetCoreTestSuite::suite() |
| 19 | { |
| 20 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("NetCoreTestSuite"); |
| 21 | |
| 22 | pSuite->addTest(IPAddressTest::suite()); |
| 23 | pSuite->addTest(SocketAddressTest::suite()); |
| 24 | pSuite->addTest(DNSTest::suite()); |
| 25 | #ifdef POCO_NET_HAS_INTERFACE |
| 26 | pSuite->addTest(NetworkInterfaceTest::suite()); |
| 27 | #endif // POCO_NET_HAS_INTERFACE |
| 28 | return pSuite; |
| 29 | } |
| 30 |