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

Side by Side Diff: base/mac/foundation_util_unittest.mm

Issue 1538743002: Switch to standard integer types in base/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DEPS roll too 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/logging_win.h ('k') | base/macros.h » ('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) 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
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
OLDNEW
« no previous file with comments | « base/logging_win.h ('k') | base/macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698