This appears to be fixed on trunk as the exit strategy is different.
However, for the release tag it is broken.
What steps will reproduce the problem?
1. Running tests against iPhone 3.0 Simulator using google test kit 1.5.1
What is the expected output? What do you see instead?
Expected:
Executed 193 tests, with 0 failures (0 unexpected) in 0.045 (0.045) seconds
Got:
Executed 193 tests, with 0 failures (0 unexpected) in 0.045 (0.045) seconds
2009-03-18 09:56:15.558 Tests[64567:10b] *** -[UIApplication terminate]:
unrecognized selector sent to instance 0xd14410
2009-03-18 09:56:15.558 Tests[64567:10b] *** Terminating app due to
uncaught exception 'NSInvalidArgumentException', reason: '***
-[UIApplication terminate]: unrecognized selector sent to instance 0xd14410'
2009-03-18 09:56:15.558 Tests[64567:10b] Stack: (
807800427,
2419809851,
808176203,
807751910,
807604514,
11166,
814624733,
814659967,
814621115,
810661610,
807585791,
807581512,
838921506,
838921703,
814661496,
13982,
8698
)
What version of the product are you using? On what operating system?
iPhone 3.0 Simulator, MacOS X 10.5.6
Please provide any additional information below.
Apple changed their 'UIApplication' private api and renamed the 'terminate'
method to 'terminateWithSuccess'. This can be verified by using the
class-dump utility against the UIKit framework.
Attached is a patched version of GTMIPhoneUnitTestDelegate.m that makes the
necessary changes.