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

Side by Side Diff: ios/chrome/app/safe_mode_util_unittest.cc

Issue 1544743002: Switch to standard integer types in ios/. (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 | « ios/chrome/app/safe_mode_util.cc ('k') | ios/chrome/browser/about_flags.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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>
5 #include <string.h> 6 #include <string.h>
6 7
7 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
8 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
9 #include "ios/chrome/app/safe_mode_util.h" 10 #include "ios/chrome/app/safe_mode_util.h"
10 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
11 #include "testing/platform_test.h" 12 #include "testing/platform_test.h"
12 13
13 using std::string; 14 using std::string;
14 using std::vector; 15 using std::vector;
(...skipping 23 matching lines...) Expand all
38 39
39 TEST_F(SafeModeUtilTest, GetSomeImages) { 40 TEST_F(SafeModeUtilTest, GetSomeImages) {
40 vector<string> all_images = safe_mode_util::GetLoadedImages(nullptr); 41 vector<string> all_images = safe_mode_util::GetLoadedImages(nullptr);
41 vector<string> usr_lib_images = safe_mode_util::GetLoadedImages("/usr/lib/"); 42 vector<string> usr_lib_images = safe_mode_util::GetLoadedImages("/usr/lib/");
42 // There should be images under /usr/lib/, but not all of them are. 43 // There should be images under /usr/lib/, but not all of them are.
43 EXPECT_GT(usr_lib_images.size(), 0U); 44 EXPECT_GT(usr_lib_images.size(), 0U);
44 EXPECT_LT(usr_lib_images.size(), all_images.size()); 45 EXPECT_LT(usr_lib_images.size(), all_images.size());
45 } 46 }
46 47
47 } // namespace 48 } // namespace
OLDNEW
« no previous file with comments | « ios/chrome/app/safe_mode_util.cc ('k') | ios/chrome/browser/about_flags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698