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

Side by Side Diff: components/url_matcher/substring_set_matcher_unittest.cc

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (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 | « components/url_matcher/substring_set_matcher.cc ('k') | components/url_matcher/url_matcher.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 "components/url_matcher/substring_set_matcher.h" 5 #include "components/url_matcher/substring_set_matcher.h"
6 6
7 #include <stddef.h>
8
7 #include <set> 9 #include <set>
8 #include <string> 10 #include <string>
9 #include <vector> 11 #include <vector>
10 12
11 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
12 14
13 namespace url_matcher { 15 namespace url_matcher {
14 16
15 namespace { 17 namespace {
16 18
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 } 163 }
162 164
163 TEST(SubstringSetMatcherTest, TestEmptyMatcher) { 165 TEST(SubstringSetMatcherTest, TestEmptyMatcher) {
164 SubstringSetMatcher matcher; 166 SubstringSetMatcher matcher;
165 std::set<int> matches; 167 std::set<int> matches;
166 matcher.Match("abd", &matches); 168 matcher.Match("abd", &matches);
167 EXPECT_TRUE(matches.empty()); 169 EXPECT_TRUE(matches.empty());
168 } 170 }
169 171
170 } // namespace url_matcher 172 } // namespace url_matcher
OLDNEW
« no previous file with comments | « components/url_matcher/substring_set_matcher.cc ('k') | components/url_matcher/url_matcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698