DescriptionMake it possible to run gtests on iOS.
Adds MainHook object to run_all_unittests main() and run_all_perftest main(), so tests run without beng killed by the OS. (If an application does not check in within a certain amount of time after launch, it will be killed.) The object is empty for non-iOS.
Adds test_listener_ios to test_suite, which registers to be notified on test end. At test end, it runs the run loop to prevent the test run from being killed by the OS.
Disables two tests for iOS: BooleanOperators and StringPattern.
BUG=b/6753976
TEST=None
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146542
Patch Set 1 #
Total comments: 25
Patch Set 2 : Code review feedback addressed. #
Total comments: 14
Patch Set 3 : More feedback applied. #Patch Set 4 : Empty line added. #
Total comments: 16
Patch Set 5 : More feedback - no leak, better comments, and more. #
Messages
Total messages: 13 (0 generated)
|