#include "services/network/network_quality_estimator_manager.h"
#include <algorithm>
#include <memory>
#include <utility>
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "net/log/net_log.h"
#include "net/nqe/effective_connection_type.h"
#include "net/nqe/network_quality_estimator.h"
#include "services/network/public/mojom/network_quality_estimator_manager.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace network {
namespace {
class TestNetworkQualityEstimatorManagerClient
: public mojom::NetworkQualityEstimatorManagerClient { … };
}
class NetworkQualityEstimatorManagerTest : public testing::Test { … };
TEST_F(NetworkQualityEstimatorManagerTest, ClientNotified) { … }
TEST_F(NetworkQualityEstimatorManagerTest,
ClientNotifiedUnknownNetworkQuality) { … }
TEST_F(NetworkQualityEstimatorManagerTest, OneClientPipeBroken) { … }
TEST_F(NetworkQualityEstimatorManagerTest,
NewClientReceivesCurrentEffectiveType) { … }
}