#include "TestingSupport/Host/SocketTestUtilities.h"
#include "TestingSupport/SubsystemRAII.h"
#include "lldb/Host/Config.h"
#include "lldb/Utility/UriParser.h"
#include "llvm/Testing/Support/Error.h"
#include "gtest/gtest.h"
usingnamespacelldb_private;
struct SocketTestParams { … };
class SocketTest : public testing::TestWithParam<SocketTestParams> { … };
TEST_P(SocketTest, DecodeHostAndPort) { … }
#if LLDB_ENABLE_POSIX
TEST_P(SocketTest, DomainListenConnectAccept) { … }
#endif
TEST_P(SocketTest, TCPListen0ConnectAccept) { … }
TEST_P(SocketTest, TCPGetAddress) { … }
TEST_P(SocketTest, UDPConnect) { … }
TEST_P(SocketTest, TCPListen0GetPort) { … }
TEST_P(SocketTest, TCPGetConnectURI) { … }
TEST_P(SocketTest, UDPGetConnectURI) { … }
#if LLDB_ENABLE_POSIX
TEST_P(SocketTest, DomainGetConnectURI) { … }
#endif
INSTANTIATE_TEST_SUITE_P(…);