@@ -52,10 +52,10 @@ namespace
5252 static size_t const CBC_IV_SIZE_BYTES = 16u ;
5353
5454#ifndef ENABLE_COMMONCRYPTO_ENCRYPTION
55- #if !defined(NDEBUG) && ! defined(GTEST_PSEUDO_WINDOWS )
55+ #if !defined(NDEBUG) && defined(GTEST_HAS_DEATH_TEST )
5656 static const char * const BYTES_SPECIFIER = " bytes=0-10" ;
5757 static const char * const ASSERTION_FAILED = " Assertion .*" ;
58- #endif // !defined(NDEBUG) && ! defined(GTEST_PSEUDO_WINDOWS )
58+ #endif // !defined(NDEBUG) && defined(GTEST_HAS_DEATH_TEST )
5959 static const char * const GET_RANGE_SPECIFIER = " bytes=20-40" ;
6060 static const char * const GET_RANGE_OUTPUT = " ge for encryption and" ;
6161 static size_t const GCM_TAG_LENGTH = 128u ;
@@ -714,7 +714,7 @@ namespace
714714 ASSERT_EQ (kmsClient->m_decryptCalledCount , 1u );
715715 }
716716
717- #if !defined(NDEBUG) && ! defined(GTEST_PSEUDO_WINDOWS )
717+ #if !defined(NDEBUG) && defined(GTEST_HAS_DEATH_TEST )
718718 TEST_F (CryptoModulesTest, StrictAERangeGet)
719719 {
720720 SimpleEncryptionMaterials materials (Aws::Utils::Crypto::SymmetricCipher::GenerateKey ());
@@ -829,7 +829,7 @@ namespace
829829 auto getObjectFunction = [&s3Client](Aws::S3::Model::GetObjectRequest getRequest) -> Aws::S3::Model::GetObjectOutcome { return s3Client.GetObject (getRequest); };
830830 ASSERT_DEATH ({ decryptionModule->GetObjectSecurely (getRequest, headOutcome.GetResult (), contentCryptoMaterial, getObjectFunction); }, ASSERTION_FAILED);
831831 }
832- #endif // !defined(NDEBUG) && ! defined(GTEST_PSEUDO_WINDOWS )
832+ #endif // !defined(NDEBUG) && defined(GTEST_HAS_DEATH_TEST )
833833#endif
834834
835835 TEST_F (CryptoModulesTest, RangeParserSuccess)
0 commit comments