23 #include "gtest/gtest.h" 28 TEST(RawLoggingCompilationTest, Log) {
33 ABSL_RAW_LOG(INFO,
"RAW INFO: %d %d %d %d %d", 1, 2, 3, 4, 5);
38 TEST(RawLoggingCompilationTest, PassingCheck) {
46 const char kExpectedDeathOutput[] =
"";
48 TEST(RawLoggingDeathTest, FailingCheck) {
50 kExpectedDeathOutput);
53 TEST(RawLoggingDeathTest, LogFatal) {
54 EXPECT_DEATH_IF_SUPPORTED(
ABSL_RAW_LOG(FATAL,
"my dog has fleas"),
55 kExpectedDeathOutput);
58 TEST(InternalLog, CompilationTest) {
60 std::string log_msg =
"Internal Log";
69 TEST(InternalLogDeathTest, FailingCheck) {
71 kExpectedDeathOutput);
74 TEST(InternalLogDeathTest, LogFatal) {
76 kExpectedDeathOutput);
#define ABSL_RAW_LOG(severity,...)
#define ABSL_INTERNAL_CHECK(condition, message)
std::string StrCat(const AlphaNum &a, const AlphaNum &b)
#define ABSL_RAW_CHECK(condition, message)
#define ABSL_INTERNAL_LOG(severity, message)
TEST(Symbolize, Unimplemented)