chromium/net/base/sockaddr_util_posix_unittest.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40284755): Remove this and spanify to fix the errors.
#pragma allow_unsafe_buffers
#endif

#include "net/base/sockaddr_util_posix.h"

#include <string.h>

#include <sys/socket.h>
#include <sys/un.h>

#include "net/base/sockaddr_storage.h"
#include "testing/gmock/include/gmock/gmock-matchers.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace net {

namespace {

size_t MaxPathLength(SockaddrStorage* storage) {}

}  // namespace

TEST(FillUnixAddressTest, SimpleAddress) {}

TEST(FillUnixAddressTest, PathEmpty) {}

TEST(FillUnixAddressTest, AddressMaxLength) {}

TEST(FillUnixAddressTest, AddressTooLong) {}

TEST(FillUnixAddressTest, AbstractLinuxAddress) {}

}  // namespace net