Go to the documentation of this file. 17 #ifndef ABSL_BASE_INTERNAL_EXCEPTION_TESTING_H_ 18 #define ABSL_BASE_INTERNAL_EXCEPTION_TESTING_H_ 20 #include "gtest/gtest.h" 26 #ifdef ABSL_HAVE_EXCEPTIONS 28 #define ABSL_BASE_INTERNAL_EXPECT_FAIL(expr, exception_t, text) \ 29 EXPECT_THROW(expr, exception_t) 31 #elif defined(__ANDROID__) 34 #define ABSL_BASE_INTERNAL_EXPECT_FAIL(expr, exception_t, text) \ 35 EXPECT_DEATH(expr, ".*") 37 #define ABSL_BASE_INTERNAL_EXPECT_FAIL(expr, exception_t, text) \ 38 EXPECT_DEATH_IF_SUPPORTED(expr, text) 42 #endif // ABSL_BASE_INTERNAL_EXCEPTION_TESTING_H_
abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:18