#if defined(__linux__)
#include "quiche/quic/tools/quic_default_client.h"
#include <dirent.h>
#include <sys/types.h>
#include <memory>
#include <string>
#include <utility>
#include "absl/strings/match.h"
#include "absl/strings/string_view.h"
#include "quiche/quic/core/io/quic_default_event_loop.h"
#include "quiche/quic/core/io/quic_event_loop.h"
#include "quiche/quic/core/quic_default_clock.h"
#include "quiche/quic/platform/api/quic_test.h"
#include "quiche/quic/platform/api/quic_test_loopback.h"
#include "quiche/quic/test_tools/crypto_test_utils.h"
#include "quiche/common/quiche_text_utils.h"
namespace quic {
namespace test {
namespace {
const char* kPathToFds = …;
std::string ReadLink(const std::string& path) { … }
size_t NumOpenSocketFDs() { … }
class QuicDefaultClientTest : public QuicTest { … };
TEST_F(QuicDefaultClientTest, DoNotLeakSocketFDs) { … }
TEST_F(QuicDefaultClientTest, CreateAndCleanUpUDPSockets) { … }
}
}
}
#endif