#include "services/network/network_change_manager.h"
#include <algorithm>
#include <memory>
#include <utility>
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "net/base/network_change_notifier.h"
#include "services/network/public/mojom/network_change_manager.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace network {
namespace {
enum NotificationType { … };
class TestNetworkChangeManagerClient
: public mojom::NetworkChangeManagerClient { … };
}
class NetworkChangeManagerTest : public testing::Test { … };
TEST_F(NetworkChangeManagerTest, ClientNotified) { … }
TEST_F(NetworkChangeManagerTest, OneClientPipeBroken) { … }
TEST_F(NetworkChangeManagerTest, NewClientReceivesCurrentType) { … }
TEST(NetworkChangeConnectionTypeTest, ConnectionTypeEnumMatch) { … }
}