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

Unified Diff: net/quic/core/quic_buffered_packet_store_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_bandwidth_test.cc ('k') | net/quic/core/quic_client_promised_info_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_buffered_packet_store_test.cc
diff --git a/net/quic/core/quic_buffered_packet_store_test.cc b/net/quic/core/quic_buffered_packet_store_test.cc
index 6ae35a6f4f4ac6ae04553e086abc5016e074f91b..6ab09c57be0cb99b5f6320aab582e3220d85b3f0 100644
--- a/net/quic/core/quic_buffered_packet_store_test.cc
+++ b/net/quic/core/quic_buffered_packet_store_test.cc
@@ -8,11 +8,10 @@
#include <string>
#include "net/quic/platform/api/quic_flags.h"
+#include "net/quic/platform/api/quic_test.h"
#include "net/quic/test_tools/mock_clock.h"
#include "net/quic/test_tools/quic_buffered_packet_store_peer.h"
#include "net/quic/test_tools/quic_test_utils.h"
-#include "testing/gmock/include/gmock/gmock.h"
-#include "testing/gtest/include/gtest/gtest.h"
using std::string;
@@ -47,7 +46,7 @@ class QuicBufferedPacketStoreVisitor
BufferedPacketList last_expired_packet_queue_;
};
-class QuicBufferedPacketStoreTest : public ::testing::Test {
+class QuicBufferedPacketStoreTest : public QuicTest {
public:
QuicBufferedPacketStoreTest()
: store_(&visitor_, &clock_, &alarm_factory_),
@@ -58,7 +57,6 @@ class QuicBufferedPacketStoreTest : public ::testing::Test {
packet_(packet_content_.data(), packet_content_.size(), packet_time_) {}
protected:
- QuicFlagSaver flags_; // Save/restore all QUIC flag values.
QuicBufferedPacketStoreVisitor visitor_;
MockClock clock_;
MockAlarmFactory alarm_factory_;
« no previous file with comments | « net/quic/core/quic_bandwidth_test.cc ('k') | net/quic/core/quic_client_promised_info_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698