Fix test failures in CryptoUtilsTest http://cl/536525707 added 2 test cases to CryptoUtilsTest using TEST(). However, other CryptoUtilsTests use TEST_F(). When rolling this change to Chromium, it causes test failures with the message: "All tests in the same test suite must use the same test fixture class, so mixing TEST_F and TEST in the same test suite is illegal." This CL fixes this by changing the test name to AnonymousTokensCryptoUtilsTest. PiperOrigin-RevId: 537145422
diff --git a/quiche/blind_sign_auth/anonymous_tokens/cpp/crypto/at_crypto_utils_test.cc b/quiche/blind_sign_auth/anonymous_tokens/cpp/crypto/at_crypto_utils_test.cc index c8d362a..982767e 100644 --- a/quiche/blind_sign_auth/anonymous_tokens/cpp/crypto/at_crypto_utils_test.cc +++ b/quiche/blind_sign_auth/anonymous_tokens/cpp/crypto/at_crypto_utils_test.cc
@@ -269,7 +269,7 @@ // following Goa test: // http://google3/privacy/net/boq/common/tokens/token_types_test.go;l=21;rcl=528885322 // copybara:strip_end -TEST(CryptoUtilsTest, RsaPssDerEncodingTest) { +TEST(AnonymousTokensCryptoUtilsTest, RsaPssDerEncoding) { RSAPublicKey public_key_e_not_padded; RSAPublicKey public_key_e_padded; @@ -322,7 +322,7 @@ // The public key used in this test is taken from the test vectors found here: // https://www.ietf.org/archive/id/draft-ietf-privacypass-protocol-10.html#name-issuance-protocol-2-blind-rs -TEST(CryptoUtilsTest, IetfPrivacyPassBlindRsaPublicKeyToDerTest) { +TEST(AnonymousTokensCryptoUtilsTest, IetfPrivacyPassBlindRsaPublicKeyToDer) { RSAPublicKey public_key; public_key.set_n(absl::HexStringToBytes( "cb1aed6b6a95f5b1ce013a4cfcab25b94b2e64a23034e4250a7eab43c0df3a8c12993af1"