diff options
Diffstat (limited to 'toolkit/crashreporter/breakpad-client/mac/tests/testlogging.h')
-rw-r--r-- | toolkit/crashreporter/breakpad-client/mac/tests/testlogging.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/toolkit/crashreporter/breakpad-client/mac/tests/testlogging.h b/toolkit/crashreporter/breakpad-client/mac/tests/testlogging.h new file mode 100644 index 0000000000..c6b6be699b --- /dev/null +++ b/toolkit/crashreporter/breakpad-client/mac/tests/testlogging.h @@ -0,0 +1,9 @@ +// This file exists to override the processor logging for unit tests, +// since it confuses XCode into thinking unit tests have failed. +#include <sstream> + +namespace google_breakpad { +extern std::ostringstream info_log; +} + +#define BPLOG_INFO_STREAM google_breakpad::info_log |