Index: net/quic/core/crypto/crypto_secret_boxer_test.cc |
diff --git a/net/quic/core/crypto/crypto_secret_boxer_test.cc b/net/quic/core/crypto/crypto_secret_boxer_test.cc |
index 12820179c16024696391013eb945f010cd834011..18fea413bfda6420832251198de902b60ea057d8 100644 |
--- a/net/quic/core/crypto/crypto_secret_boxer_test.cc |
+++ b/net/quic/core/crypto/crypto_secret_boxer_test.cc |
@@ -5,14 +5,16 @@ |
#include "net/quic/core/crypto/crypto_secret_boxer.h" |
#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 { |
-TEST(CryptoSecretBoxerTest, BoxAndUnbox) { |
+class CryptoSecretBoxerTest : public QuicTest {}; |
+ |
+TEST_F(CryptoSecretBoxerTest, BoxAndUnbox) { |
QuicStringPiece message("hello world"); |
CryptoSecretBoxer boxer; |
@@ -47,7 +49,7 @@ static bool CanDecode(const CryptoSecretBoxer& decoder, |
return ok; |
} |
-TEST(CryptoSecretBoxerTest, MultipleKeys) { |
+TEST_F(CryptoSecretBoxerTest, MultipleKeys) { |
string key_11(CryptoSecretBoxer::GetKeySize(), 0x11); |
string key_12(CryptoSecretBoxer::GetKeySize(), 0x12); |