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

Side by Side Diff: chrome/browser/autofill/credit_card_field_unittest.cc

Issue 6775005: iwyu: Cleanup in the following files: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unit test fixes. Created 9 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/autofill/credit_card_field.cc ('k') | chrome/browser/autofill/fax_number.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/memory/scoped_ptr.h" 5 #include "base/memory/scoped_ptr.h"
6 #include "base/memory/scoped_vector.h" 6 #include "base/memory/scoped_vector.h"
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/autofill/autofill_field.h"
8 #include "chrome/browser/autofill/credit_card_field.h" 9 #include "chrome/browser/autofill/credit_card_field.h"
9 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
10 #include "webkit/glue/form_field.h" 11 #include "webkit/glue/form_field.h"
11 12
12 namespace { 13 namespace {
13 14
14 class CreditCardFieldTest : public testing::Test { 15 class CreditCardFieldTest : public testing::Test {
15 public: 16 public:
16 CreditCardFieldTest() {} 17 CreditCardFieldTest() {}
17 18
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 field_type_map_.find(ASCIIToUTF16("month")) != field_type_map_.end()); 401 field_type_map_.find(ASCIIToUTF16("month")) != field_type_map_.end());
401 EXPECT_EQ(CREDIT_CARD_EXP_MONTH, field_type_map_[ASCIIToUTF16("month")]); 402 EXPECT_EQ(CREDIT_CARD_EXP_MONTH, field_type_map_[ASCIIToUTF16("month")]);
402 ASSERT_TRUE( 403 ASSERT_TRUE(
403 field_type_map_.find(ASCIIToUTF16("year")) != field_type_map_.end()); 404 field_type_map_.find(ASCIIToUTF16("year")) != field_type_map_.end());
404 EXPECT_EQ(CREDIT_CARD_EXP_4_DIGIT_YEAR, 405 EXPECT_EQ(CREDIT_CARD_EXP_4_DIGIT_YEAR,
405 field_type_map_[ASCIIToUTF16("year")]); 406 field_type_map_[ASCIIToUTF16("year")]);
406 } 407 }
407 408
408 } // namespace 409 } // namespace
409 410
OLDNEW
« no previous file with comments | « chrome/browser/autofill/credit_card_field.cc ('k') | chrome/browser/autofill/fax_number.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698