Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(434)

Unified Diff: net/quic/core/congestion_control/bandwidth_sampler_test.cc

Issue 2848203002: Add a platform implementation of QuicTest and QuicTestWithParam (Closed)
Patch Set: net/quic/platform/impl/quic_test_impl.cc Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/chromium/quic_utils_chromium_test.cc ('k') | net/quic/core/congestion_control/bbr_sender_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/congestion_control/bandwidth_sampler_test.cc
diff --git a/net/quic/core/congestion_control/bandwidth_sampler_test.cc b/net/quic/core/congestion_control/bandwidth_sampler_test.cc
index bf6f7e6c5d91ce99df398891f248439dd81ec377..aa9bdd0e56ccef7c839240e8c7bd0c054a67138b 100644
--- a/net/quic/core/congestion_control/bandwidth_sampler_test.cc
+++ b/net/quic/core/congestion_control/bandwidth_sampler_test.cc
@@ -4,9 +4,8 @@
#include "net/quic/core/congestion_control/bandwidth_sampler.h"
+#include "net/quic/platform/api/quic_test.h"
#include "net/quic/test_tools/mock_clock.h"
-#include "testing/gmock/include/gmock/gmock.h"
-#include "testing/gtest/include/gtest/gtest.h"
namespace net {
namespace test {
@@ -30,7 +29,7 @@ static_assert((kRegularPacketSize & 31) == 0,
"kRegularPacketSize has to be five times divisible by 2");
// A test fixture with utility methods for BandwidthSampler tests.
-class BandwidthSamplerTest : public ::testing::Test {
+class BandwidthSamplerTest : public QuicTest {
protected:
BandwidthSamplerTest() : bytes_in_flight_(0) {
// Ensure that the clock does not start at zero.
« no previous file with comments | « net/quic/chromium/quic_utils_chromium_test.cc ('k') | net/quic/core/congestion_control/bbr_sender_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698