1 | // |
---|---|
2 | // SocketsTestSuite.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 "SocketsTestSuite.h" |
12 | #include "SocketTest.h" |
13 | #include "SocketStreamTest.h" |
14 | #include "DatagramSocketTest.h" |
15 | #include "MulticastSocketTest.h" |
16 | #include "DialogSocketTest.h" |
17 | #include "RawSocketTest.h" |
18 | #include "PollSetTest.h" |
19 | |
20 | |
21 | CppUnit::Test* SocketsTestSuite::suite() |
22 | { |
23 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("SocketsTestSuite"); |
24 | |
25 | pSuite->addTest(SocketTest::suite()); |
26 | pSuite->addTest(SocketStreamTest::suite()); |
27 | pSuite->addTest(DatagramSocketTest::suite()); |
28 | pSuite->addTest(DialogSocketTest::suite()); |
29 | pSuite->addTest(RawSocketTest::suite()); |
30 | #ifdef POCO_NET_HAS_INTERFACE |
31 | pSuite->addTest(MulticastSocketTest::suite()); |
32 | #endif |
33 | pSuite->addTest(PollSetTest::suite()); |
34 | return pSuite; |
35 | } |
36 |