OLD | NEW |
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/url_matcher_factory.h" | 5 #include "components/url_matcher/url_matcher_factory.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include <stddef.h> |
| 8 |
8 #include "base/format_macros.h" | 9 #include "base/format_macros.h" |
| 10 #include "base/macros.h" |
9 #include "base/strings/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
10 #include "base/values.h" | 12 #include "base/values.h" |
11 #include "components/url_matcher/url_matcher_constants.h" | 13 #include "components/url_matcher/url_matcher_constants.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
13 #include "url/gurl.h" | 15 #include "url/gurl.h" |
14 | 16 |
15 namespace url_matcher { | 17 namespace url_matcher { |
16 | 18 |
17 namespace keys = url_matcher_constants; | 19 namespace keys = url_matcher_constants; |
18 | 20 |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 kIsUrlCaseSensitive, kIsUrlLowerCaseEnforced, url), | 332 kIsUrlCaseSensitive, kIsUrlLowerCaseEnforced, url), |
331 }; | 333 }; |
332 | 334 |
333 for (size_t i = 0; i < arraysize(case_tests); ++i) { | 335 for (size_t i = 0; i < arraysize(case_tests); ++i) { |
334 SCOPED_TRACE(base::StringPrintf("Iteration: %" PRIuS, i)); | 336 SCOPED_TRACE(base::StringPrintf("Iteration: %" PRIuS, i)); |
335 case_tests[i].Test(); | 337 case_tests[i].Test(); |
336 } | 338 } |
337 } | 339 } |
338 | 340 |
339 } // namespace url_matcher | 341 } // namespace url_matcher |
OLD | NEW |