#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 {
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) { … }
}