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

Unified Diff: net/quic/crypto/null_decrypter_test.cc

Issue 12334063: Land recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more EXPECT_FALSE Created 7 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/crypto/null_decrypter.cc ('k') | net/quic/crypto/null_encrypter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/null_decrypter_test.cc
diff --git a/net/quic/crypto/null_decrypter_test.cc b/net/quic/crypto/null_decrypter_test.cc
index ad73cea3ae478811c73f07079d93253ba7e15125..3d201fe66f993ffba5da94ceb5605babcb7589f8 100644
--- a/net/quic/crypto/null_decrypter_test.cc
+++ b/net/quic/crypto/null_decrypter_test.cc
@@ -23,7 +23,7 @@ TEST(NullDecrypterTest, Decrypt) {
};
NullDecrypter decrypter;
scoped_ptr<QuicData> decrypted(
- decrypter.Decrypt("hello world!",
+ decrypter.Decrypt(0, "hello world!",
StringPiece(reinterpret_cast<const char*>(expected),
arraysize(expected))));
ASSERT_TRUE(decrypted.get());
@@ -43,7 +43,7 @@ TEST(NullDecrypterTest, BadHash) {
};
NullDecrypter decrypter;
scoped_ptr<QuicData> decrypted(
- decrypter.Decrypt("hello world!",
+ decrypter.Decrypt(0, "hello world!",
StringPiece(reinterpret_cast<const char*>(expected),
arraysize(expected))));
ASSERT_FALSE(decrypted.get());
@@ -59,7 +59,7 @@ TEST(NullDecrypterTest, ShortInput) {
};
NullDecrypter decrypter;
scoped_ptr<QuicData> decrypted(
- decrypter.Decrypt("hello world!",
+ decrypter.Decrypt(0, "hello world!",
StringPiece(reinterpret_cast<const char*>(expected),
arraysize(expected))));
ASSERT_FALSE(decrypted.get());
« no previous file with comments | « net/quic/crypto/null_decrypter.cc ('k') | net/quic/crypto/null_encrypter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698