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

Unified Diff: net/tools/quic/stateless_rejector_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/tools/quic/quic_time_wait_list_manager_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/stateless_rejector_test.cc
diff --git a/net/tools/quic/stateless_rejector_test.cc b/net/tools/quic/stateless_rejector_test.cc
index 50b5a83adf641f828b0f0a465a482ec65b5a664f..190121cb48ab251531ed3ee254da6bee0e7fcb0c 100644
--- a/net/tools/quic/stateless_rejector_test.cc
+++ b/net/tools/quic/stateless_rejector_test.cc
@@ -15,6 +15,7 @@
#include "net/quic/platform/api/quic_ptr_util.h"
#include "net/quic/platform/api/quic_str_cat.h"
#include "net/quic/platform/api/quic_string_piece.h"
+#include "net/quic/platform/api/quic_test.h"
#include "net/quic/platform/api/quic_text_utils.h"
#include "net/quic/test_tools/crypto_test_utils.h"
#include "net/quic/test_tools/quic_crypto_server_config_peer.h"
@@ -73,7 +74,7 @@ std::vector<TestParams> GetTestParams() {
return params;
}
-class StatelessRejectorTest : public ::testing::TestWithParam<TestParams> {
+class StatelessRejectorTest : public QuicTestWithParam<TestParams> {
public:
StatelessRejectorTest()
: proof_source_(crypto_test_utils::ProofSourceForTesting()),
@@ -147,8 +148,6 @@ class StatelessRejectorTest : public ::testing::TestWithParam<TestParams> {
StatelessRejectorTest* test_;
};
- QuicFlagSaver flags_; // Save/restore all QUIC flag values.
-
std::unique_ptr<ProofSource> proof_source_;
MockClock clock_;
QuicCryptoServerConfig config_;
« no previous file with comments | « net/tools/quic/quic_time_wait_list_manager_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698