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

Unified Diff: remoting/test/chromoting_test_driver.cc

Issue 2437453004: Removing the dependency on //third_party/webrtc:webrtc and replacing with rtc_base. (Closed)
Patch Set: Created 4 years, 2 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
Index: remoting/test/chromoting_test_driver.cc
diff --git a/remoting/test/chromoting_test_driver.cc b/remoting/test/chromoting_test_driver.cc
index 4cd7ab66c0ea3116823754110e24ec184f2e16c5..dad316a65e344971b14726a6c000da8c8004bd6d 100644
--- a/remoting/test/chromoting_test_driver.cc
+++ b/remoting/test/chromoting_test_driver.cc
@@ -164,9 +164,15 @@ int main(int argc, char* argv[]) {
PrintUsage();
PrintJsonFileInfo();
PrintAuthCodeInfo();
+#if defined(OS_IOS)
+ return base::LaunchUnitTests(
+ argc, argv,
+ base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite)));
+#else
return base::LaunchUnitTestsSerially(
argc, argv,
base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite)));
+#endif
}
// Update the logging verbosity level if user specified one.
@@ -242,7 +248,13 @@ int main(int argc, char* argv[]) {
// Running the tests serially will avoid clients from connecting to the same
// host.
+#if defined(OS_IOS)
+ return base::LaunchUnitTests(
+ argc, argv,
+ base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite)));
+#else
return base::LaunchUnitTestsSerially(
argc, argv,
base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite)));
+#endif
}

Powered by Google App Engine
This is Rietveld 408576698