| 23 | inline void socketUnixStream(); |
| 24 | inline void socketUnixDatagram(); |
| 25 | inline void socketUnixAbstractDatagram(); |
| 26 | inline void socketMulticast(); |
| 27 | |
| 28 | inline Result socketServerSnippet(); |
| 29 | inline Result socketClientAcceptSnippet(); |
| 30 | inline Result socketClientConnectSnippet(); |
| 31 | |
| 32 | SocketTest(SC::TestReport& report) : TestCase(report, "SocketTest") |
| 33 | { |
| 34 | using namespace SC; |
| 35 | if (test_section("parseAddress")) |
| 36 | { |
| 37 | parseAddress(); |
| 38 | } |
| 39 | if (test_section("parse unix address")) |
| 40 | { |
| 41 | parseUnixAddress(); |
| 42 | } |
| 43 | if (test_section("DNS")) |
| 44 | { |
| 45 | resolveDNS(); |
| 46 | } |
| 47 | if (test_section("socket base")) |
| 48 | { |
| 49 | socketCreate(); |
| 50 | } |
| 51 | if (test_section("tcp client server")) |
| 52 | { |
| 53 | socketClientServer(SocketFlags::SocketStream, SocketFlags::ProtocolTcp); |
| 54 | } |
| 55 | if (test_section("udp client server (connected)")) |
nothing calls this directly
no outgoing calls
no test coverage detected