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

Unified Diff: apps/test/apps_tests_main.cc

Issue 205653002: Add apps_browsertests target (currently running 0 tests). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: apps/test/apps_tests_main.cc
diff --git a/apps/test/apps_tests_main.cc b/apps/test/apps_tests_main.cc
new file mode 100644
index 0000000000000000000000000000000000000000..450da319363dd29c13afa557b3b57729827d8971
--- /dev/null
+++ b/apps/test/apps_tests_main.cc
@@ -0,0 +1,17 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// TODO(yoz): fold into ?
James Cook 2014/03/20 00:00:35 ?
Yoyo Zhou 2014/03/20 21:17:30 deleted
+
+#include <algorithm>
+
+#include "apps/test/apps_test_launcher_delegate.h"
+#include "base/sys_info.h"
+#include "testing/gtest/include/gtest/gtest.h"
+
+int main(int argc, char** argv) {
+ int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2);
+ apps::AppsTestLauncherDelegate launcher_delegate;
+ return content::LaunchTests(&launcher_delegate, default_jobs, argc, argv);
+}
« apps/test/apps_test_launcher_delegate.cc ('K') | « apps/test/apps_test_suite_base.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698