| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/mac/foundation_util.h" | 5 #include "base/mac/foundation_util.h" |
| 6 | 6 |
| 7 #include <limits.h> |
| 7 #include <stddef.h> | 8 #include <stddef.h> |
| 8 | 9 |
| 9 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 10 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 11 #include "base/format_macros.h" | 12 #include "base/format_macros.h" |
| 12 #include "base/mac/scoped_cftyperef.h" | 13 #include "base/mac/scoped_cftyperef.h" |
| 13 #include "base/mac/scoped_nsautorelease_pool.h" | 14 #include "base/mac/scoped_nsautorelease_pool.h" |
| 14 #include "base/macros.h" | 15 #include "base/macros.h" |
| 15 #include "base/strings/stringprintf.h" | 16 #include "base/strings/stringprintf.h" |
| 16 #include "build/build_config.h" | 17 #include "build/build_config.h" |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 for (size_t i = 0; i < arraysize(nsuinteger_cases); ++i) { | 398 for (size_t i = 0; i < arraysize(nsuinteger_cases); ++i) { |
| 398 EXPECT_EQ(nsuinteger_cases[i].expected, | 399 EXPECT_EQ(nsuinteger_cases[i].expected, |
| 399 StringPrintf("%" PRIuNS, nsuinteger_cases[i].value)); | 400 StringPrintf("%" PRIuNS, nsuinteger_cases[i].value)); |
| 400 EXPECT_EQ(nsuinteger_cases[i].expected_hex, | 401 EXPECT_EQ(nsuinteger_cases[i].expected_hex, |
| 401 StringPrintf("%" PRIxNS, nsuinteger_cases[i].value)); | 402 StringPrintf("%" PRIxNS, nsuinteger_cases[i].value)); |
| 402 } | 403 } |
| 403 } | 404 } |
| 404 | 405 |
| 405 } // namespace mac | 406 } // namespace mac |
| 406 } // namespace base | 407 } // namespace base |
| OLD | NEW |