34 #ifndef GOOGLE_PROTOBUF_GOOGLETEST_H__
35 #define GOOGLE_PROTOBUF_GOOGLETEST_H__
42 #if !PROTOBUF_USE_EXCEPTIONS && defined(GTEST_HAS_DEATH_TEST)
43 #define PROTOBUF_HAS_DEATH_TEST
67 #undef ERROR // defend against promiscuous windows.h
92 const string& message);
102 #endif // GOOGLE_PROTOBUF_GOOGLETEST_H__
virtual ~ScopedMemoryLog()
static void HandleLog(LogLevel level, const char *filename, int line, const string &message)
string GetCapturedTestStdout()
map< LogLevel, vector< string > > messages_
Definition: googletest.h:88
LogHandler * old_handler_
Definition: googletest.h:89
string GetCapturedTestStderr()
static const LogLevel ERROR
Definition: googletest.h:68
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ScopedMemoryLog)
LogLevel
Definition: common.h:622
Definition: BnetFileGenerator.h:47
void LogHandler(LogLevel level, const char *filename, int line, const std::string &message)
Definition: common.h:762
static ScopedMemoryLog * active_log_
Definition: googletest.h:94
static const LogLevel WARNING
Definition: googletest.h:69
Definition: googletest.h:79
const vector< string > & GetMessages(LogLevel error)