diff --git a/test/include/test/common/death.hpp b/test/include/test/common/death.hpp index 6c2deab60..d10ca2bff 100644 --- a/test/include/test/common/death.hpp +++ b/test/include/test/common/death.hpp @@ -13,10 +13,10 @@ namespace test /// passes an exit code. #if defined(GTEST_OS_WINDOWS) || defined(GTEST_OS_FUCHSIA) #define PATOMIC_GTEST_HAS_KILLED_BY_SIGNAL 0 -using KilledBySignalType = testing::ExitedWithCode; +using KilledByAbortPredicateType = testing::ExitedWithCode; #else #define PATOMIC_GTEST_HAS_KILLED_BY_SIGNAL 1 -using KilledBySignalType = testing::KilledBySignal; +using KilledByAbortPredicateType = testing::KilledBySignal; #endif @@ -27,7 +27,7 @@ using KilledBySignalType = testing::KilledBySignal; /// /// @note /// Predicate is callable with the signature bool()(int). -KilledBySignalType +KilledByAbortPredicateType KilledByAbort(); diff --git a/test/src/common/death.cpp b/test/src/common/death.cpp index fcf335ed4..6b7afbb3d 100644 --- a/test/src/common/death.cpp +++ b/test/src/common/death.cpp @@ -8,7 +8,7 @@ namespace test { -testing::ExitedWithCode +KilledByAbortPredicateType KilledByAbort() { #if PATOMIC_GTEST_HAS_KILLED_BY_SIGNAL