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

Unified Diff: net/quic/core/crypto/p256_key_exchange_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
Index: net/quic/core/crypto/p256_key_exchange_test.cc
diff --git a/net/quic/core/crypto/p256_key_exchange_test.cc b/net/quic/core/crypto/p256_key_exchange_test.cc
index 7ff40220b97a4360d840869adda1e886dec127d3..1156df4f4a2fd27ddc547580cb3e7050a34d1a79 100644
--- a/net/quic/core/crypto/p256_key_exchange_test.cc
+++ b/net/quic/core/crypto/p256_key_exchange_test.cc
@@ -6,16 +6,18 @@
#include <memory>
-#include "testing/gtest/include/gtest/gtest.h"
+#include "net/quic/platform/api/quic_test.h"
using std::string;
namespace net {
namespace test {
+class P256KeyExchangeTest : public QuicTest {};
+
// SharedKey just tests that the basic key exchange identity holds: that both
// parties end up with the same key.
-TEST(P256KeyExchange, SharedKey) {
+TEST_F(P256KeyExchangeTest, SharedKey) {
for (int i = 0; i < 5; i++) {
string alice_private(P256KeyExchange::NewPrivateKey());
string bob_private(P256KeyExchange::NewPrivateKey());
« no previous file with comments | « net/quic/core/crypto/null_encrypter_test.cc ('k') | net/quic/core/crypto/quic_compressed_certs_cache_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698