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

Unified Diff: base/test/test_suite.cc

Issue 861093004: iOS gtest launcher: make simple unit tests like base_unittests work (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years, 11 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/launcher/unit_test_launcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_suite.cc
diff --git a/base/test/test_suite.cc b/base/test/test_suite.cc
index a6fc201113e5d84447bbec9adc48afc69693042b..903e93ea07a7b8aba49e66f49603dcda88bdae89 100644
--- a/base/test/test_suite.cc
+++ b/base/test/test_suite.cc
@@ -171,7 +171,6 @@ void TestSuite::ResetCommandLine() {
listeners.Append(new TestClientInitializer);
}
-#if !defined(OS_IOS)
void TestSuite::AddTestLauncherResultPrinter() {
// Only add the custom printer if requested.
if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
@@ -197,7 +196,6 @@ void TestSuite::AddTestLauncherResultPrinter() {
testing::UnitTest::GetInstance()->listeners();
listeners.Append(printer);
}
-#endif // !defined(OS_IOS)
// Don't add additional code to this method. Instead add it to
// Initialize(). See bug 6436.
@@ -326,9 +324,7 @@ void TestSuite::Initialize() {
CatchMaybeTests();
ResetCommandLine();
-#if !defined(OS_IOS)
AddTestLauncherResultPrinter();
-#endif // !defined(OS_IOS)
TestTimeouts::Initialize();
« no previous file with comments | « base/test/launcher/unit_test_launcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698