| 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/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 Loading... |
| 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 |
| OLD | NEW |