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

Unified Diff: net/quic/core/crypto/cert_compressor_test.cc

Issue 2671333004: Convert class-full-of-statics CryptoTestUtils into a namespace (Closed)
Patch Set: Created 3 years, 10 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_http_stream_test.cc ('k') | net/quic/core/crypto/channel_id_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/crypto/cert_compressor_test.cc
diff --git a/net/quic/core/crypto/cert_compressor_test.cc b/net/quic/core/crypto/cert_compressor_test.cc
index 11da03395ff23fb524d676954ee028427d1719b9..2ab9094c8d5806789691f78308da9e95e0892fbf 100644
--- a/net/quic/core/crypto/cert_compressor_test.cc
+++ b/net/quic/core/crypto/cert_compressor_test.cc
@@ -49,7 +49,7 @@ TEST(CertCompressor, Common) {
chain.push_back("testcert");
static const uint64_t set_hash = 42;
std::unique_ptr<CommonCertSets> common_sets(
- CryptoTestUtils::MockCommonCertSets(chain[0], set_hash, 1));
+ crypto_test_utils::MockCommonCertSets(chain[0], set_hash, 1));
const string compressed = CertCompressor::CompressChain(
chain,
StringPiece(reinterpret_cast<const char*>(&set_hash), sizeof(set_hash)),
@@ -115,7 +115,7 @@ TEST(CertCompressor, BadInputs) {
cached_certs, nullptr, &chain));
std::unique_ptr<CommonCertSets> common_sets(
- CryptoTestUtils::MockCommonCertSets("foo", 42, 1));
+ crypto_test_utils::MockCommonCertSets("foo", 42, 1));
/* incorrect hash and index */
EXPECT_FALSE(CertCompressor::DecompressChain(
« no previous file with comments | « net/quic/chromium/quic_http_stream_test.cc ('k') | net/quic/core/crypto/channel_id_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698