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

Unified Diff: chrome/browser/autofill/autofill_credit_card_model_mac_unittest.mm

Issue 2673006: AutoFill Profiles dialog implemented according to new mocks on Mac (Closed)
Patch Set: Revisions based on review comments. Created 10 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autofill/autofill_credit_card_model_mac_unittest.mm
diff --git a/chrome/browser/autofill/autofill_credit_card_model_mac_unittest.mm b/chrome/browser/autofill/autofill_credit_card_model_mac_unittest.mm
index 6fdb1142f46903bc13b85b3e5fbf6c5d860d3e3f..6d77e2013afc2b2a52a189bdbb08c52d93b6960b 100644
--- a/chrome/browser/autofill/autofill_credit_card_model_mac_unittest.mm
+++ b/chrome/browser/autofill/autofill_credit_card_model_mac_unittest.mm
@@ -47,7 +47,6 @@ TEST(AutoFillCreditCardModelTest, InitializationFromCreditCard) {
EXPECT_TRUE([[model expirationYear] isEqualToString:@"2010"]);
EXPECT_TRUE([[model cvcCode] isEqualToString:@"123"]);
EXPECT_TRUE([[model billingAddress] isEqualToString:@"Chicago"]);
- EXPECT_TRUE([[model shippingAddress] isEqualToString:@"Indianapolis"]);
}
TEST(AutoFillCreditCardModelTest, CopyModelToCreditCard) {
@@ -74,7 +73,6 @@ TEST(AutoFillCreditCardModelTest, CopyModelToCreditCard) {
[model setExpirationYear:@"2011"];
[model setCvcCode:@"223"];
[model setBillingAddress:@"New York"];
- [model setShippingAddress:@"Boston"];
[model copyModelToCreditCard:&credit_card];
@@ -92,7 +90,6 @@ TEST(AutoFillCreditCardModelTest, CopyModelToCreditCard) {
credit_card.GetFieldText(
AutoFillType(CREDIT_CARD_VERIFICATION_CODE)));
EXPECT_EQ(ASCIIToUTF16("New York"), credit_card.billing_address());
- EXPECT_EQ(ASCIIToUTF16("Boston"), credit_card.shipping_address());
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698