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/unit_test_launcher.h" | 5 #include "base/test/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/command_line.h" | 9 #include "base/command_line.h" |
9 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
10 #include "base/files/scoped_temp_dir.h" | 11 #include "base/files/scoped_temp_dir.h" |
11 #include "base/file_util.h" | 12 #include "base/file_util.h" |
12 #include "base/format_macros.h" | 13 #include "base/format_macros.h" |
13 #include "base/stl_util.h" | 14 #include "base/stl_util.h" |
14 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
15 #include "base/test/gtest_xml_util.h" | 16 #include "base/test/gtest_xml_util.h" |
16 #include "base/test/test_launcher.h" | 17 #include "base/test/test_launcher.h" |
17 #include "base/test/test_switches.h" | 18 #include "base/test/test_switches.h" |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 | 219 |
219 fprintf(stdout, | 220 fprintf(stdout, |
220 "Tests took %" PRId64 " seconds.\n", | 221 "Tests took %" PRId64 " seconds.\n", |
221 (base::TimeTicks::Now() - start_time).InSeconds()); | 222 (base::TimeTicks::Now() - start_time).InSeconds()); |
222 fflush(stdout); | 223 fflush(stdout); |
223 | 224 |
224 return exit_code; | 225 return exit_code; |
225 } | 226 } |
226 | 227 |
227 } // namespace base | 228 } // namespace base |
OLD | NEW |