diff options
author | lliabraa@chromium.org <lliabraa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-15 13:14:02 +0000 |
---|---|---|
committer | lliabraa@chromium.org <lliabraa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-15 13:14:02 +0000 |
commit | 5136ba226577638aee810dda5543cd088d67bfd7 (patch) | |
tree | e84a18555e57135671d9313f2dadd2bfa2fd18ab /base/test/test_support_ios.h | |
parent | 7b5173b6fa4b65049b7f1e9072108c7949b01591 (diff) | |
download | chromium_src-5136ba226577638aee810dda5543cd088d67bfd7.zip chromium_src-5136ba226577638aee810dda5543cd088d67bfd7.tar.gz chromium_src-5136ba226577638aee810dda5543cd088d67bfd7.tar.bz2 |
Invoke the iOS hook from TestSuite so each run_all_unittests.cc file does not
have to remember to install MainHook.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/12321117
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188376 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/test/test_support_ios.h')
-rw-r--r-- | base/test/test_support_ios.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/base/test/test_support_ios.h b/base/test/test_support_ios.h index 35b5b19..c71cf0d 100644 --- a/base/test/test_support_ios.h +++ b/base/test/test_support_ios.h @@ -5,11 +5,20 @@ #ifndef BASE_TEST_TEST_SUPPORT_IOS_H_ #define BASE_TEST_TEST_SUPPORT_IOS_H_ +#include "base/test/test_suite.h" + namespace base { -// Init the message loop for tests on iOS. +// Inits the message loop for tests on iOS. void InitIOSTestMessageLoop(); +// Inits the run hook for tests on iOS. +void InitIOSRunHook(TestSuite* suite, int argc, char* argv[]); + +// Launches an iOS app that runs the tests in the suite passed to +// InitIOSRunHook. +void RunTestsFromIOSApp(); + } // namespace base #endif // BASE_TEST_TEST_SUPPORT_IOS_H_ |