Added unit test for DevTools' ephemeral port support.
[chromium-blink-merge.git] / apps / shell / test / shell_tests_main.cc
blob0233f10f3ff9e13e84a18375dd7651d1951fd807
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include <algorithm>
7 #include "apps/shell/test/shell_test_launcher_delegate.h"
8 #include "base/sys_info.h"
9 #include "testing/gtest/include/gtest/gtest.h"
11 int main(int argc, char** argv) {
12 int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2);
13 apps::AppShellTestLauncherDelegate launcher_delegate;
14 return content::LaunchTests(&launcher_delegate, default_jobs, argc, argv);