chromium/services/network/network_change_manager_unittest.cc

// Copyright 2017 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/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 {

// Type of notification expected in test.
enum NotificationType {};

class TestNetworkChangeManagerClient
    : public mojom::NetworkChangeManagerClient {};

}  // namespace

class NetworkChangeManagerTest : public testing::Test {};

TEST_F(NetworkChangeManagerTest, ClientNotified) {}

TEST_F(NetworkChangeManagerTest, OneClientPipeBroken) {}

TEST_F(NetworkChangeManagerTest, NewClientReceivesCurrentType) {}

TEST(NetworkChangeConnectionTypeTest, ConnectionTypeEnumMatch) {}

}  // namespace network