chromium/net/base/network_change_notifier_unittest.cc

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

#include "net/base/network_change_notifier.h"

#include "base/run_loop.h"
#include "build/build_config.h"
#include "net/base/mock_network_change_notifier.h"
#include "net/base/network_interfaces.h"
#include "net/test/test_connection_cost_observer.h"
#include "net/test/test_with_task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace net {

// Note: This test is subject to the host's OS and network connection. This test
// is not future-proof. New standards will come about necessitating the need to
// alter the ranges of these tests.
TEST(NetworkChangeNotifierTest, NetMaxBandwidthRange) {}

TEST(NetworkChangeNotifierTest, ConnectionTypeFromInterfaceList) {}

TEST(NetworkChangeNotifierTest, IgnoreTeredoOnWindows) {}

TEST(NetworkChangeNotifierTest, IgnoreAirdropOnMac) {}

TEST(NetworkChangeNotifierTest, IgnoreTunnelsOnMac) {}

TEST(NetworkChangeNotifierTest, IgnoreDisconnectedEthernetOnMac) {}

TEST(NetworkChangeNotifierTest, IgnoreVMInterfaces) {}

TEST(NetworkChangeNotifierTest, GetConnectionSubtype) {}

class NetworkChangeNotifierMockedTest : public TestWithTaskEnvironment {};

class TestDnsObserver : public NetworkChangeNotifier::DNSObserver {};

TEST_F(NetworkChangeNotifierMockedTest, TriggerNonSystemDnsChange) {}

TEST_F(NetworkChangeNotifierMockedTest, TriggerConnectionCostChange) {}

TEST_F(NetworkChangeNotifierMockedTest, ConnectionCostDefaultsToCellular) {}

class NetworkChangeNotifierConnectionCostTest : public TestWithTaskEnvironment {};

TEST_F(NetworkChangeNotifierConnectionCostTest, GetConnectionCost) {}

TEST_F(NetworkChangeNotifierConnectionCostTest, AddObserver) {}

}  // namespace net