Index: net/quic/core/crypto/chacha20_poly1305_decrypter_test.cc |
diff --git a/net/quic/core/crypto/chacha20_poly1305_decrypter_test.cc b/net/quic/core/crypto/chacha20_poly1305_decrypter_test.cc |
index a24d5315187e7769881ee5b2571f75d676204092..c930745089029c2fa7e62135f0a8c01f7caf5e02 100644 |
--- a/net/quic/core/crypto/chacha20_poly1305_decrypter_test.cc |
+++ b/net/quic/core/crypto/chacha20_poly1305_decrypter_test.cc |
@@ -7,6 +7,7 @@ |
#include <memory> |
#include "net/quic/core/quic_utils.h" |
+#include "net/quic/platform/api/quic_test.h" |
#include "net/quic/platform/api/quic_text_utils.h" |
#include "net/quic/test_tools/quic_test_utils.h" |
@@ -133,7 +134,9 @@ QuicData* DecryptWithNonce(ChaCha20Poly1305Decrypter* decrypter, |
return new QuicData(output.release(), output_length, true); |
} |
-TEST(ChaCha20Poly1305DecrypterTest, Decrypt) { |
+class ChaCha20Poly1305DecrypterTest : public QuicTest {}; |
+ |
+TEST_F(ChaCha20Poly1305DecrypterTest, Decrypt) { |
for (size_t i = 0; test_vectors[i].key != nullptr; i++) { |
// If not present then decryption is expected to fail. |
bool has_pt = test_vectors[i].pt; |