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/test_launcher.h" | 5 #include "base/test/launcher/test_launcher.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "base/at_exit.h" | 9 #include "base/at_exit.h" |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "base/strings/string_split.h" | 28 #include "base/strings/string_split.h" |
29 #include "base/strings/string_util.h" | 29 #include "base/strings/string_util.h" |
30 #include "base/strings/stringize_macros.h" | 30 #include "base/strings/stringize_macros.h" |
31 #include "base/strings/stringprintf.h" | 31 #include "base/strings/stringprintf.h" |
32 #include "base/strings/utf_string_conversions.h" | 32 #include "base/strings/utf_string_conversions.h" |
33 #include "base/test/gtest_util.h" | 33 #include "base/test/gtest_util.h" |
34 #include "base/test/launcher/test_results_tracker.h" | 34 #include "base/test/launcher/test_results_tracker.h" |
35 #include "base/test/sequenced_worker_pool_owner.h" | 35 #include "base/test/sequenced_worker_pool_owner.h" |
36 #include "base/test/test_switches.h" | 36 #include "base/test/test_switches.h" |
37 #include "base/test/test_timeouts.h" | 37 #include "base/test/test_timeouts.h" |
38 #include "base/thread_task_runner_handle.h" | |
39 #include "base/threading/thread_checker.h" | 38 #include "base/threading/thread_checker.h" |
| 39 #include "base/threading/thread_task_runner_handle.h" |
40 #include "base/time/time.h" | 40 #include "base/time/time.h" |
41 #include "build/build_config.h" | 41 #include "build/build_config.h" |
42 #include "testing/gtest/include/gtest/gtest.h" | 42 #include "testing/gtest/include/gtest/gtest.h" |
43 | 43 |
44 #if defined(OS_POSIX) | 44 #if defined(OS_POSIX) |
45 #include <fcntl.h> | 45 #include <fcntl.h> |
46 #endif | 46 #endif |
47 | 47 |
48 #if defined(OS_MACOSX) | 48 #if defined(OS_MACOSX) |
49 #include "base/mac/scoped_nsautorelease_pool.h" | 49 #include "base/mac/scoped_nsautorelease_pool.h" |
(...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1121 } | 1121 } |
1122 | 1122 |
1123 std::string snippet(full_output.substr(run_pos)); | 1123 std::string snippet(full_output.substr(run_pos)); |
1124 if (end_pos != std::string::npos) | 1124 if (end_pos != std::string::npos) |
1125 snippet = full_output.substr(run_pos, end_pos - run_pos); | 1125 snippet = full_output.substr(run_pos, end_pos - run_pos); |
1126 | 1126 |
1127 return snippet; | 1127 return snippet; |
1128 } | 1128 } |
1129 | 1129 |
1130 } // namespace base | 1130 } // namespace base |
OLD | NEW |