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

Side by Side Diff: components/autofill/core/common/autofill_regexes_unittest.cc

Issue 2877473002: Move autofill_regex_constants to core/common. (Closed)
Patch Set: Remove illegal dependency. Created 3 years, 7 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/autofill/core/common/autofill_regex_constants.cc ('k') | no next file » | 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/autofill/core/common/autofill_regexes.h" 5 #include "components/autofill/core/common/autofill_regexes.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "components/autofill/core/browser/autofill_regex_constants.h" 12 #include "components/autofill/core/common/autofill_regex_constants.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 using base::ASCIIToUTF16; 15 using base::ASCIIToUTF16;
16 16
17 namespace autofill { 17 namespace autofill {
18 18
19 struct InputPatternTestCase { 19 struct InputPatternTestCase {
20 const char* const input; 20 const char* const input;
21 const char* const pattern; 21 const char* const pattern;
22 }; 22 };
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 InputTestCase{"Expiration Date (MM - YY)"}, 223 InputTestCase{"Expiration Date (MM - YY)"},
224 InputTestCase{"Expiration Date (MM-YY)"}, 224 InputTestCase{"Expiration Date (MM-YY)"},
225 InputTestCase{"Expiration Date MM / YY"}, 225 InputTestCase{"Expiration Date MM / YY"},
226 InputTestCase{"Expiration Date MM/YY"}, 226 InputTestCase{"Expiration Date MM/YY"},
227 InputTestCase{"Expiration Date MM - YY"}, 227 InputTestCase{"Expiration Date MM - YY"},
228 InputTestCase{"Expiration Date MM-YY"}, 228 InputTestCase{"Expiration Date MM-YY"},
229 InputTestCase{"expiration date yy"}, 229 InputTestCase{"expiration date yy"},
230 InputTestCase{"Exp Date (MM / YY)"})); 230 InputTestCase{"Exp Date (MM / YY)"}));
231 231
232 } // namespace autofill 232 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/core/common/autofill_regex_constants.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698