OLD | NEW |
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 <limits> | 5 #include <limits> |
6 #include <sstream> | 6 #include <sstream> |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/debug/stack_trace.h" | 9 #include "base/debug/stack_trace.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/process_util.h" | 11 #include "base/process/kill.h" |
| 12 #include "base/process/process_handle.h" |
12 #include "base/test/test_timeouts.h" | 13 #include "base/test/test_timeouts.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
14 #include "testing/multiprocess_func_list.h" | 15 #include "testing/multiprocess_func_list.h" |
15 | 16 |
16 #if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_IOS) | 17 #if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_IOS) |
17 #include "base/test/multiprocess_test.h" | 18 #include "base/test/multiprocess_test.h" |
18 #endif | 19 #endif |
19 | 20 |
20 namespace base { | 21 namespace base { |
21 namespace debug { | 22 namespace debug { |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 EXPECT_EQ("688", itoa_r_wrapper(0x688, 128, 16, 1)); | 220 EXPECT_EQ("688", itoa_r_wrapper(0x688, 128, 16, 1)); |
220 EXPECT_EQ("688", itoa_r_wrapper(0x688, 128, 16, 2)); | 221 EXPECT_EQ("688", itoa_r_wrapper(0x688, 128, 16, 2)); |
221 EXPECT_EQ("688", itoa_r_wrapper(0x688, 128, 16, 3)); | 222 EXPECT_EQ("688", itoa_r_wrapper(0x688, 128, 16, 3)); |
222 EXPECT_EQ("0688", itoa_r_wrapper(0x688, 128, 16, 4)); | 223 EXPECT_EQ("0688", itoa_r_wrapper(0x688, 128, 16, 4)); |
223 EXPECT_EQ("00688", itoa_r_wrapper(0x688, 128, 16, 5)); | 224 EXPECT_EQ("00688", itoa_r_wrapper(0x688, 128, 16, 5)); |
224 } | 225 } |
225 #endif // defined(OS_POSIX) && !defined(OS_ANDROID) | 226 #endif // defined(OS_POSIX) && !defined(OS_ANDROID) |
226 | 227 |
227 } // namespace debug | 228 } // namespace debug |
228 } // namespace base | 229 } // namespace base |
OLD | NEW |