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 "base/memory/scoped_vector.h" | 5 #include "base/memory/scoped_vector.h" |
6 #include "base/strings/string16.h" | 6 #include "base/strings/string16.h" |
7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "components/autofill/browser/android/auxiliary_profile_loader_android.h
" | 8 #include "components/autofill/core/browser/android/auxiliary_profile_loader_andr
oid.h" |
9 #include "components/autofill/browser/android/auxiliary_profiles_android.h" | 9 #include "components/autofill/core/browser/android/auxiliary_profiles_android.h" |
10 #include "components/autofill/browser/android/test_auxiliary_profile_loader_andr
oid.h" | 10 #include "components/autofill/core/browser/android/test_auxiliary_profile_loader
_android.h" |
11 #include "components/autofill/browser/autofill_profile.h" | 11 #include "components/autofill/core/browser/autofill_profile.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
13 | 13 |
14 namespace autofill { | 14 namespace autofill { |
15 | 15 |
16 class AuxiliaryProfileAndroidTest : public testing::Test { | 16 class AuxiliaryProfileAndroidTest : public testing::Test { |
17 public: | 17 public: |
18 AuxiliaryProfileAndroidTest() {} | 18 AuxiliaryProfileAndroidTest() {} |
19 | 19 |
20 AutofillProfile* GetAndLoadProfile() { | 20 AutofillProfile* GetAndLoadProfile() { |
21 autofill::AuxiliaryProfilesAndroid impl(profile_loader_, "en-US"); | 21 autofill::AuxiliaryProfilesAndroid impl(profile_loader_, "en-US"); |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 EXPECT_EQ(profile->GetRawInfo(ADDRESS_HOME_LINE1), base::string16()); | 154 EXPECT_EQ(profile->GetRawInfo(ADDRESS_HOME_LINE1), base::string16()); |
155 EXPECT_EQ(profile->GetRawInfo(ADDRESS_HOME_LINE2), base::string16()); | 155 EXPECT_EQ(profile->GetRawInfo(ADDRESS_HOME_LINE2), base::string16()); |
156 EXPECT_EQ(profile->GetRawInfo(ADDRESS_HOME_CITY), base::string16()); | 156 EXPECT_EQ(profile->GetRawInfo(ADDRESS_HOME_CITY), base::string16()); |
157 EXPECT_EQ(profile->GetRawInfo(ADDRESS_HOME_ZIP), base::string16()); | 157 EXPECT_EQ(profile->GetRawInfo(ADDRESS_HOME_ZIP), base::string16()); |
158 EXPECT_EQ(profile->GetRawInfo(ADDRESS_HOME_STATE), base::string16()); | 158 EXPECT_EQ(profile->GetRawInfo(ADDRESS_HOME_STATE), base::string16()); |
159 EXPECT_EQ(profile->GetRawInfo(ADDRESS_HOME_COUNTRY), base::string16()); | 159 EXPECT_EQ(profile->GetRawInfo(ADDRESS_HOME_COUNTRY), base::string16()); |
160 } | 160 } |
161 #endif | 161 #endif |
162 | 162 |
163 } // namespace autofill | 163 } // namespace autofill |
OLD | NEW |