#include "llvm/ADT/SmallString.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/FileUtilities.h"
#include "llvm/Support/raw_socket_stream.h"
#include "llvm/Testing/Support/Error.h"
#include "gtest/gtest.h"
#include <future>
#include <stdlib.h>
#include <thread>
#ifdef _WIN32
#include "llvm/Support/Windows/WindowsSupport.h"
#endif
usingnamespacellvm;
namespace {
bool hasUnixSocketSupport() { … }
TEST(raw_socket_streamTest, CLIENT_TO_SERVER_AND_SERVER_TO_CLIENT) { … }
TEST(raw_socket_streamTest, READ_WITH_TIMEOUT) { … }
TEST(raw_socket_streamTest, ACCEPT_WITH_TIMEOUT) { … }
TEST(raw_socket_streamTest, ACCEPT_WITH_SHUTDOWN) { … }
}