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

Unified Diff: base/test/launcher/test_launcher_ios.cc

Issue 669673004: Check in executable for iOS test launcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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
« no previous file with comments | « base/base.gyp ('k') | build/android/android_exports.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/launcher/test_launcher_ios.cc
diff --git a/components/proximity_auth/run_all_unittests.cc b/base/test/launcher/test_launcher_ios.cc
similarity index 57%
copy from components/proximity_auth/run_all_unittests.cc
copy to base/test/launcher/test_launcher_ios.cc
index 959989c9985d7c03acc5eaed5260200f44f7bd55..38e4ef9aa916ceca2d49d2f043cf65c1a3d6f6c3 100644
--- a/components/proximity_auth/run_all_unittests.cc
+++ b/base/test/launcher/test_launcher_ios.cc
@@ -2,14 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/test/launcher/test_launcher.h"
+
#include "base/bind.h"
#include "base/test/launcher/unit_test_launcher.h"
-#include "base/test/test_suite.h"
+
+namespace {
+
+int DummyRunTestSuite(void) {
+ return -1;
+}
+
+} // namespace
int main(int argc, char** argv) {
- base::TestSuite test_suite(argc, argv);
- return base::LaunchUnitTests(
- argc,
- argv,
- base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite)));
+ return base::LaunchUnitTests(argc, argv, base::Bind(&DummyRunTestSuite));
}
« no previous file with comments | « base/base.gyp ('k') | build/android/android_exports.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698