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

Side by Side Diff: base/debug/stack_trace_unittest.cc

Issue 1549043002: Switch to standard integer types in base/debug/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months 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/debug/stack_trace_posix.cc ('k') | base/debug/stack_trace_win.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <stddef.h>
6
5 #include <limits> 7 #include <limits>
6 #include <sstream> 8 #include <sstream>
7 #include <string> 9 #include <string>
8 10
9 #include "base/debug/stack_trace.h" 11 #include "base/debug/stack_trace.h"
10 #include "base/logging.h" 12 #include "base/logging.h"
11 #include "base/process/kill.h" 13 #include "base/process/kill.h"
12 #include "base/process/process_handle.h" 14 #include "base/process/process_handle.h"
13 #include "base/test/test_timeouts.h" 15 #include "base/test/test_timeouts.h"
16 #include "build/build_config.h"
14 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
15 #include "testing/multiprocess_func_list.h" 18 #include "testing/multiprocess_func_list.h"
16 19
17 #if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_IOS) 20 #if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_IOS)
18 #include "base/test/multiprocess_test.h" 21 #include "base/test/multiprocess_test.h"
19 #endif 22 #endif
20 23
21 namespace base { 24 namespace base {
22 namespace debug { 25 namespace debug {
23 26
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 EXPECT_EQ("688", itoa_r_wrapper(0x688, 128, 16, 1)); 233 EXPECT_EQ("688", itoa_r_wrapper(0x688, 128, 16, 1));
231 EXPECT_EQ("688", itoa_r_wrapper(0x688, 128, 16, 2)); 234 EXPECT_EQ("688", itoa_r_wrapper(0x688, 128, 16, 2));
232 EXPECT_EQ("688", itoa_r_wrapper(0x688, 128, 16, 3)); 235 EXPECT_EQ("688", itoa_r_wrapper(0x688, 128, 16, 3));
233 EXPECT_EQ("0688", itoa_r_wrapper(0x688, 128, 16, 4)); 236 EXPECT_EQ("0688", itoa_r_wrapper(0x688, 128, 16, 4));
234 EXPECT_EQ("00688", itoa_r_wrapper(0x688, 128, 16, 5)); 237 EXPECT_EQ("00688", itoa_r_wrapper(0x688, 128, 16, 5));
235 } 238 }
236 #endif // defined(OS_POSIX) && !defined(OS_ANDROID) 239 #endif // defined(OS_POSIX) && !defined(OS_ANDROID)
237 240
238 } // namespace debug 241 } // namespace debug
239 } // namespace base 242 } // namespace base
OLDNEW
« no previous file with comments | « base/debug/stack_trace_posix.cc ('k') | base/debug/stack_trace_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698