diff options
Diffstat (limited to 'toolkit/crashreporter/google-breakpad/src/client/mac/tests/testlogging.h')
-rw-r--r-- | toolkit/crashreporter/google-breakpad/src/client/mac/tests/testlogging.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/toolkit/crashreporter/google-breakpad/src/client/mac/tests/testlogging.h b/toolkit/crashreporter/google-breakpad/src/client/mac/tests/testlogging.h new file mode 100644 index 000000000..c6b6be699 --- /dev/null +++ b/toolkit/crashreporter/google-breakpad/src/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 |