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

Unified Diff: net/quic/core/quic_flow_controller_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/core/quic_error_codes_test.cc ('k') | net/quic/core/quic_framer_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_flow_controller_test.cc
diff --git a/net/quic/core/quic_flow_controller_test.cc b/net/quic/core/quic_flow_controller_test.cc
index ee80f755f6ec6f321e842e430209158805b54ea6..95019d89f536d84f216d8d87f0dd95b497011f65 100644
--- a/net/quic/core/quic_flow_controller_test.cc
+++ b/net/quic/core/quic_flow_controller_test.cc
@@ -7,11 +7,11 @@
#include <memory>
#include "net/quic/platform/api/quic_str_cat.h"
+#include "net/quic/platform/api/quic_test.h"
#include "net/quic/test_tools/quic_connection_peer.h"
#include "net/quic/test_tools/quic_flow_controller_peer.h"
#include "net/quic/test_tools/quic_sent_packet_manager_peer.h"
#include "net/quic/test_tools/quic_test_utils.h"
-#include "testing/gtest/include/gtest/gtest.h"
using testing::_;
@@ -32,7 +32,7 @@ class MockFlowController : public QuicFlowControllerInterface {
DISALLOW_COPY_AND_ASSIGN(MockFlowController);
};
-class QuicFlowControllerTest : public ::testing::Test {
+class QuicFlowControllerTest : public QuicTest {
public:
QuicFlowControllerTest()
: stream_id_(1234),
@@ -57,7 +57,6 @@ class QuicFlowControllerTest : public ::testing::Test {
MockAlarmFactory alarm_factory_;
MockQuicConnection connection_;
MockFlowController session_flow_controller_;
- QuicFlagSaver flag_saver_;
};
TEST_F(QuicFlowControllerTest, SendingBytes) {
« no previous file with comments | « net/quic/core/quic_error_codes_test.cc ('k') | net/quic/core/quic_framer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698