chromium/net/third_party/quiche/src/quiche/quic/platform/api/quic_socket_address_test.cc

// Copyright (c) 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "quiche/quic/platform/api/quic_socket_address.h"

#include <memory>
#include <sstream>

#include "quiche/quic/platform/api/quic_ip_address.h"
#include "quiche/quic/platform/api/quic_test.h"

namespace quic {
namespace {

TEST(QuicSocketAddress, Uninitialized) {}

TEST(QuicSocketAddress, ExplicitConstruction) {}

TEST(QuicSocketAddress, OutputToStream) {}

TEST(QuicSocketAddress, FromSockaddrIPv4) {}

TEST(QuicSocketAddress, FromSockaddrIPv6) {}

TEST(QuicSocketAddres, ToSockaddrIPv4) {}

TEST(QuicSocketAddress, Normalize) {}

// TODO(vasilvv): either ensure this works on all platforms, or deprecate and
// remove this API.
#if defined(__linux__) && !defined(ANDROID)
#include <errno.h>
#include <sys/socket.h>
#include <sys/types.h>

TEST(QuicSocketAddress, FromSocket) {}
#endif

}  // namespace
}  // namespace quic