diff options
author | nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2009-06-03 21:51:33 +0000 |
---|---|---|
committer | nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2009-06-03 21:51:33 +0000 |
commit | 2eb356a68d981b87329cdbaf1ce46380b2362296 (patch) | |
tree | 525e3e5165e4d9a9181168d25a979130ebe0fcca /src/client/mac/testapp | |
parent | Removed logging init macro from minidump_processor_unittest, since with the G... (diff) | |
download | breakpad-2eb356a68d981b87329cdbaf1ce46380b2362296.tar.xz |
Support custom URL parameters. Added unit tests for Breakpad. Added
a way to specify server parameters in app plist file, as well.
R=stuartmorgan, jeremy
A=nealsid
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@346 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/mac/testapp')
-rw-r--r-- | src/client/mac/testapp/Controller.m | 7 | ||||
-rw-r--r-- | src/client/mac/testapp/Info.plist | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/src/client/mac/testapp/Controller.m b/src/client/mac/testapp/Controller.m index e548c917..a324f147 100644 --- a/src/client/mac/testapp/Controller.m +++ b/src/client/mac/testapp/Controller.m @@ -234,6 +234,9 @@ NSLog(@"Shouldn't find BreakpadKeyValue (key2)"); } + BreakpadAddUploadParameter(breakpad_, + @"MeaningOfLife", + @"42"); [NSThread detachNewThreadSelector:@selector(anotherThread) toTarget:self withObject:nil]; @@ -244,8 +247,8 @@ // automated testing. if ([args boolForKey:@"autocrash"]) { BreakpadSetKeyValue(breakpad_, - @BREAKPAD_SKIP_CONFIRM, - @"YES"); + @BREAKPAD_SKIP_CONFIRM, + @"YES"); [self causeCrash]; } diff --git a/src/client/mac/testapp/Info.plist b/src/client/mac/testapp/Info.plist index 2794c44b..6094ec6c 100644 --- a/src/client/mac/testapp/Info.plist +++ b/src/client/mac/testapp/Info.plist @@ -42,6 +42,13 @@ <string>YES</string> <key>BreakpadVendor</key> <string>Foo Bar Corp, Incorporated, LTD, LLC</string> + <key>BreakpadServerParameters</key> + <dict> + <key>Param1</key> + <string>Value1</string> + <key>Param2</key> + <string>Value2</string> + </dict> <key>LSUIElement</key> <string>1</string> </dict> |