Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3482)

Unified Diff: base/test/test_support_ios.h

Issue 12321117: Refactor MainHook into TestSuite. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed a couple blank lines Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/test/test_suite.cc ('k') | base/test/test_support_ios.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_support_ios.h
diff --git a/base/test/test_support_ios.h b/base/test/test_support_ios.h
index 35b5b198e1c813a9fb11577154f49395655c2e4e..c71cf0df1d4001e8874e5cc100166722a5c4979c 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_
« no previous file with comments | « base/test/test_suite.cc ('k') | base/test/test_support_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698