// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "services/network/public/cpp/ip_address_mojom_traits.h" #include "mojo/public/cpp/test_support/test_utils.h" #include "services/network/public/mojom/ip_address.mojom.h" #include "testing/gtest/include/gtest/gtest.h" namespace net { namespace { TEST(IPAddressStructTraitsTest, Ipv4) { … } TEST(IPAddressStructTraitsTest, Ipv6) { … } // Serialization/deserialization not expected to work for invalid addresses, // e.g. an address with 5 octets. TEST(IPAddressStructTraitsTest, InvalidAddress) { … } } // namespace } // namespace net