aboutsummaryrefslogtreecommitdiff
path: root/src/client/mac/tests/exception_handler_test.cc
diff options
context:
space:
mode:
authorted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-08-13 20:18:58 +0000
committerted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-08-13 20:18:58 +0000
commit315fd78199bc606ee02cb085dacadd58e0fc40c8 (patch)
tree2ef03316d391e2f5fa9310af188b5a65a57dccdd /src/client/mac/tests/exception_handler_test.cc
parentAdd protobuf external reference to third_party. (diff)
downloadbreakpad-315fd78199bc606ee02cb085dacadd58e0fc40c8.tar.xz
Implement CrashGeneration{Client,Server} for OOP dump generation on OS X, enable OOP dump generation in ExceptionHandler
R=mark at http://breakpad.appspot.com/146001 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@646 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/mac/tests/exception_handler_test.cc')
-rw-r--r--src/client/mac/tests/exception_handler_test.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/mac/tests/exception_handler_test.cc b/src/client/mac/tests/exception_handler_test.cc
index 4a63df36..6ba244dd 100644
--- a/src/client/mac/tests/exception_handler_test.cc
+++ b/src/client/mac/tests/exception_handler_test.cc
@@ -36,6 +36,7 @@
#include "client/mac/handler/exception_handler.h"
#include "client/mac/tests/auto_tempdir.h"
+namespace {
using std::string;
using google_breakpad::AutoTempDir;
using google_breakpad::ExceptionHandler;
@@ -76,7 +77,7 @@ TEST(ExceptionHandler, InProcess) {
pid_t pid = fork();
if (pid == 0) {
close(fds[0]);
- ExceptionHandler eh(tempDir.path, NULL, MDCallback, &fds[1], true);
+ ExceptionHandler eh(tempDir.path, NULL, MDCallback, &fds[1], true, NULL);
// crash
SoonToCrash();
// not reached
@@ -99,3 +100,5 @@ TEST(ExceptionHandler, InProcess) {
EXPECT_NE(0, WIFEXITED(ret));
EXPECT_EQ(0, WEXITSTATUS(ret));
}
+
+}