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

Unified Diff: base/test/test_support_ios.h

Issue 2226623003: Adds support for running unittests using XCTest on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review. Created 4 years, 4 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 c71cf0df1d4001e8874e5cc100166722a5c4979c..f4731169b4a335293592102686695d784d326757 100644
--- a/base/test/test_support_ios.h
+++ b/base/test/test_support_ios.h
@@ -19,6 +19,9 @@ void InitIOSRunHook(TestSuite* suite, int argc, char* argv[]);
// InitIOSRunHook.
void RunTestsFromIOSApp();
+// Returns true if the test app is being run with an XCTest module.
+bool IsRunningWithXCTest();
+
} // 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