// 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 "net/nqe/event_creator.h" #include "base/time/time.h" #include "net/log/net_log_with_source.h" #include "net/log/test_net_log.h" #include "net/nqe/effective_connection_type.h" #include "net/nqe/network_quality.h" #include "testing/gtest/include/gtest/gtest.h" namespace net::nqe::internal { namespace { // Returns the number of entries in |net_log| that have type set to // |NetLogEventType::NETWORK_QUALITY_CHANGED|. int GetNetworkQualityChangedEntriesCount(RecordingNetLogObserver* net_log) { … } // Verify that the net log events are recorded correctly. TEST(NetworkQualityEstimatorEventCreatorTest, Notified) { … } } // namespace } // namespace net::nqe::internal