OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/test/launcher/unit_test_launcher.h" | 5 #include "base/test/launcher/unit_test_launcher.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/callback_helpers.h" | 8 #include "base/callback_helpers.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/debug/debugger.h" | 11 #include "base/debug/debugger.h" |
12 #include "base/file_util.h" | 12 #include "base/files/file_util.h" |
13 #include "base/files/scoped_temp_dir.h" | 13 #include "base/files/scoped_temp_dir.h" |
14 #include "base/format_macros.h" | 14 #include "base/format_macros.h" |
15 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
16 #include "base/stl_util.h" | 16 #include "base/stl_util.h" |
17 #include "base/strings/string_number_conversions.h" | 17 #include "base/strings/string_number_conversions.h" |
18 #include "base/strings/string_util.h" | 18 #include "base/strings/string_util.h" |
19 #include "base/sys_info.h" | 19 #include "base/sys_info.h" |
20 #include "base/test/gtest_xml_util.h" | 20 #include "base/test/gtest_xml_util.h" |
21 #include "base/test/launcher/test_launcher.h" | 21 #include "base/test/launcher/test_launcher.h" |
22 #include "base/test/test_switches.h" | 22 #include "base/test/test_switches.h" |
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 CommandLine::Init(argc, NULL); | 577 CommandLine::Init(argc, NULL); |
578 return LaunchUnitTestsInternal( | 578 return LaunchUnitTestsInternal( |
579 run_test_suite, | 579 run_test_suite, |
580 SysInfo::NumberOfProcessors(), | 580 SysInfo::NumberOfProcessors(), |
581 use_job_objects, | 581 use_job_objects, |
582 Bind(&InitGoogleTestWChar, &argc, argv)); | 582 Bind(&InitGoogleTestWChar, &argc, argv)); |
583 } | 583 } |
584 #endif // defined(OS_WIN) | 584 #endif // defined(OS_WIN) |
585 | 585 |
586 } // namespace base | 586 } // namespace base |
OLD | NEW |