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

Unified Diff: net/quic/core/crypto/curve25519_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/curve25519_key_exchange_test.cc
diff --git a/net/quic/core/crypto/curve25519_key_exchange_test.cc b/net/quic/core/crypto/curve25519_key_exchange_test.cc
index 6ded8a76b8c597661e317d68c518c960f2286e67..7496bca828e58d149001faf55142f92640575ce4 100644
--- a/net/quic/core/crypto/curve25519_key_exchange_test.cc
+++ b/net/quic/core/crypto/curve25519_key_exchange_test.cc
@@ -7,16 +7,18 @@
#include <memory>
#include "net/quic/core/crypto/quic_random.h"
-#include "testing/gtest/include/gtest/gtest.h"
+#include "net/quic/platform/api/quic_test.h"
using std::string;
namespace net {
namespace test {
+class Curve25519KeyExchangeTest : public QuicTest {};
+
// SharedKey just tests that the basic key exchange identity holds: that both
// parties end up with the same key.
-TEST(Curve25519KeyExchange, SharedKey) {
+TEST_F(Curve25519KeyExchangeTest, SharedKey) {
QuicRandom* const rand = QuicRandom::GetInstance();
for (int i = 0; i < 5; i++) {
« no previous file with comments | « net/quic/core/crypto/crypto_utils_test.cc ('k') | net/quic/core/crypto/local_strike_register_client_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698