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

Side by Side Diff: base/test/launcher/test_launcher_ios.cc

Issue 1544113002: Switch to standard integer types in base/test/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
« no previous file with comments | « base/test/launcher/test_launcher.cc ('k') | base/test/launcher/test_result.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/base_paths.h" 8 #include "base/base_paths.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/files/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/macros.h"
15 #include "base/message_loop/message_loop.h" 16 #include "base/message_loop/message_loop.h"
16 #include "base/path_service.h" 17 #include "base/path_service.h"
17 #include "base/process/launch.h" 18 #include "base/process/launch.h"
18 #include "base/strings/string_util.h" 19 #include "base/strings/string_util.h"
19 #include "base/test/launcher/unit_test_launcher.h" 20 #include "base/test/launcher/unit_test_launcher.h"
20 #include "base/test/test_switches.h" 21 #include "base/test/test_switches.h"
21 #include "base/test/test_timeouts.h" 22 #include "base/test/test_timeouts.h"
22 23
23 namespace { 24 namespace {
24 25
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // Force one job since we can't run multiple simulators in parallel. 179 // Force one job since we can't run multiple simulators in parallel.
179 base::TestLauncher launcher(&delegate, 1); 180 base::TestLauncher launcher(&delegate, 1);
180 bool success = launcher.Run(); 181 bool success = launcher.Run();
181 182
182 fprintf(stdout, "Tests took %" PRId64 " seconds.\n", 183 fprintf(stdout, "Tests took %" PRId64 " seconds.\n",
183 (base::TimeTicks::Now() - start_time).InSeconds()); 184 (base::TimeTicks::Now() - start_time).InSeconds());
184 fflush(stdout); 185 fflush(stdout);
185 186
186 return (success ? 0 : 1); 187 return (success ? 0 : 1);
187 } 188 }
OLDNEW
« no previous file with comments | « base/test/launcher/test_launcher.cc ('k') | base/test/launcher/test_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698