OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "app/l10n_util.h" | |
6 #include "base/basictypes.h" | 5 #include "base/basictypes.h" |
7 #include "base/scoped_ptr.h" | 6 #include "base/scoped_ptr.h" |
8 #include "base/stl_util-inl.h" | 7 #include "base/stl_util-inl.h" |
9 #include "base/string16.h" | 8 #include "base/string16.h" |
10 #include "chrome/browser/autofill/autofill_common_unittest.h" | 9 #include "chrome/browser/autofill/autofill_common_unittest.h" |
11 #include "chrome/browser/autofill/autofill_profile.h" | 10 #include "chrome/browser/autofill/autofill_profile.h" |
12 #include "grit/generated_resources.h" | 11 #include "grit/generated_resources.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
14 | 13 |
15 namespace { | 14 namespace { |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 AutoFillProfile expected_a; | 360 AutoFillProfile expected_a; |
362 autofill_unittest::SetProfileInfo(&expected_a, "label1", "Jimmy", NULL, | 361 autofill_unittest::SetProfileInfo(&expected_a, "label1", "Jimmy", NULL, |
363 "Madison", "constitutionalist@gmail.com", "United States Government", | 362 "Madison", "constitutionalist@gmail.com", "United States Government", |
364 "Monticello", NULL, "Charlottesville", "Virginia", "22902", NULL, | 363 "Monticello", NULL, "Charlottesville", "Virginia", "22902", NULL, |
365 "12134759123", "19384284720"); | 364 "12134759123", "19384284720"); |
366 EXPECT_EQ(expected_a, *a); | 365 EXPECT_EQ(expected_a, *a); |
367 EXPECT_EQ(expected_b, *b); | 366 EXPECT_EQ(expected_b, *b); |
368 } | 367 } |
369 | 368 |
370 } // namespace | 369 } // namespace |
371 | |
OLD | NEW |