llvm/lldb/unittests/Host/SocketTest.cpp

//===-- SocketTest.cpp ----------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "TestingSupport/Host/SocketTestUtilities.h"
#include "TestingSupport/SubsystemRAII.h"
#include "lldb/Host/Config.h"
#include "lldb/Host/MainLoop.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) {}

TEST_P(SocketTest, DomainMainLoopAccept) {}
#endif

TEST_P(SocketTest, TCPListen0ConnectAccept) {}

TEST_P(SocketTest, TCPMainLoopAccept) {}

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();