Allow setting a new MinidumpDescriptor on ExceptionHandler, also expose directory from MinidumpDescriptor
R=digit at https://breakpad.appspot.com/452003/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1037 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
a8e7e18656
commit
54ede03227
4 changed files with 29 additions and 3 deletions
|
@ -125,6 +125,10 @@ TEST(ExceptionHandlerTest, SimpleWithPath) {
|
|||
AutoTempDir temp_dir;
|
||||
ExceptionHandler handler(
|
||||
MinidumpDescriptor(temp_dir.path()), NULL, NULL, NULL, true, -1);
|
||||
EXPECT_EQ(temp_dir.path(), handler.minidump_descriptor().directory());
|
||||
string temp_subdir = temp_dir.path() + "/subdir";
|
||||
handler.set_minidump_descriptor(MinidumpDescriptor(temp_subdir));
|
||||
EXPECT_EQ(temp_subdir, handler.minidump_descriptor().directory());
|
||||
}
|
||||
|
||||
TEST(ExceptionHandlerTest, SimpleWithFD) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue