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

Unified Diff: net/quic/core/congestion_control/cubic_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
Index: net/quic/core/congestion_control/cubic_test.cc
diff --git a/net/quic/core/congestion_control/cubic_test.cc b/net/quic/core/congestion_control/cubic_test.cc
index 875e85174b7701cc265ab3ef38fdb1b5408fea77..c7e31266e6b220ee2cf7d2704f8d4a0c6aae4081 100644
--- a/net/quic/core/congestion_control/cubic_test.cc
+++ b/net/quic/core/congestion_control/cubic_test.cc
@@ -8,8 +8,8 @@
#include "net/quic/platform/api/quic_flags.h"
#include "net/quic/platform/api/quic_str_cat.h"
+#include "net/quic/platform/api/quic_test.h"
#include "net/quic/test_tools/mock_clock.h"
-#include "testing/gtest/include/gtest/gtest.h"
using std::string;
@@ -83,7 +83,7 @@ std::vector<TestParams> GetTestParams() {
// TODO(jokulik): Once we've rolled out the cubic convex fix, we will
// no longer need a parameterized test.
-class CubicTest : public ::testing::TestWithParam<TestParams> {
+class CubicTest : public QuicTestWithParam<TestParams> {
protected:
CubicTest()
: one_ms_(QuicTime::Delta::FromMilliseconds(1)),
« no previous file with comments | « net/quic/core/congestion_control/cubic_bytes_test.cc ('k') | net/quic/core/congestion_control/general_loss_algorithm_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698