aboutsummaryrefslogtreecommitdiff
path: root/src/client/mac/tests
diff options
context:
space:
mode:
authornealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e>2009-07-21 00:10:57 +0000
committernealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e>2009-07-21 00:10:57 +0000
commit22734848ea2124d2e8c75a472f71ae20a69fb116 (patch)
tree5afa6c3c84b50c60ae8438da402edd940c3bb949 /src/client/mac/tests
parentFix for http://breakpad.appspot.com/18009 - run dump_syms on both PPC & i386 ... (diff)
downloadbreakpad-22734848ea2124d2e8c75a472f71ae20a69fb116.tar.xz
Port fixes from internal Google Breakpad to SVN.
A=preston, nealsid R=Stuart, Preston git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@360 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/mac/tests')
-rw-r--r--src/client/mac/tests/BreakpadFramework_Test.mm5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/mac/tests/BreakpadFramework_Test.mm b/src/client/mac/tests/BreakpadFramework_Test.mm
index cd163630..2ea103c6 100644
--- a/src/client/mac/tests/BreakpadFramework_Test.mm
+++ b/src/client/mac/tests/BreakpadFramework_Test.mm
@@ -209,8 +209,9 @@ const mach_port_t kNoLastExceptionThread = MACH_PORT_NULL;
@"Last exception type is not 0 for on demand");
STAssertEquals(last_exception_code_, 0,
@"Last exception code is not 0 for on demand");
- STAssertEquals(last_exception_thread_, (mach_port_t)0,
- @"Last exception thread is not 0 for on demand");
+ STAssertEquals(last_exception_thread_, mach_thread_self(),
+ @"Last exception thread is not mach_thread_self() "
+ "for on demand");
}
@end