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

Side by Side Diff: chrome/utility/importer/bookmarks_file_importer_unittest.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
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 "chrome/utility/importer/bookmarks_file_importer.h" 5 #include "chrome/utility/importer/bookmarks_file_importer.h"
6 6
7 #include <stddef.h>
8
9 #include "base/macros.h"
7 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
8 #include "url/gurl.h" 11 #include "url/gurl.h"
9 12
10 namespace internal { 13 namespace internal {
11 14
12 bool CanImportURL(const GURL& url); 15 bool CanImportURL(const GURL& url);
13 16
14 } // namespace internal 17 } // namespace internal
15 18
16 TEST(BookmarksFileImporterTest, CanImportURL) { 19 TEST(BookmarksFileImporterTest, CanImportURL) {
(...skipping 17 matching lines...) Expand all
34 { "place://google.com", false }, 37 { "place://google.com", false },
35 { "about:config", false }, 38 { "about:config", false },
36 { "about:moon", false }, 39 { "about:moon", false },
37 }; 40 };
38 41
39 for (size_t i = 0; i < arraysize(test_cases); ++i) { 42 for (size_t i = 0; i < arraysize(test_cases); ++i) {
40 EXPECT_EQ(test_cases[i].can_be_imported, 43 EXPECT_EQ(test_cases[i].can_be_imported,
41 internal::CanImportURL(GURL(test_cases[i].url))); 44 internal::CanImportURL(GURL(test_cases[i].url)));
42 } 45 }
43 } 46 }
OLDNEW
« no previous file with comments | « chrome/utility/importer/bookmarks_file_importer.cc ('k') | chrome/utility/importer/edge_database_reader_unittest_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698