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

Unified Diff: chrome/browser/autofill/wallet/wallet_items_unittest.cc

Issue 12045057: [autofill] Adding the PASSIVE_GAIA_AUTH required action gotten when interacting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
« no previous file with comments | « chrome/browser/autofill/wallet/required_action.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/wallet/wallet_items_unittest.cc
diff --git a/chrome/browser/autofill/wallet/wallet_items_unittest.cc b/chrome/browser/autofill/wallet/wallet_items_unittest.cc
index c780de7d26135d8cd9b6d0ea595996ec6a0cc586..3095b73eea284d9f560bbc16b25750e8b9de4e20 100644
--- a/chrome/browser/autofill/wallet/wallet_items_unittest.cc
+++ b/chrome/browser/autofill/wallet/wallet_items_unittest.cc
@@ -218,7 +218,8 @@ const char kWalletItemsWithRequiredActions[] =
" \" setup_wallet\","
" \"AcCePt_ToS \","
" \" \\tGAIA_auth \\n\\r\","
- " \"INVALID_form_field\""
+ " \"INVALID_form_field\","
+ " \" pAsSiVe_GAIA_auth \""
" ]"
"}";
@@ -410,6 +411,7 @@ TEST_F(WalletItemsTest, CreateWalletItemsWithRequiredActions) {
required_actions.push_back(ACCEPT_TOS);
required_actions.push_back(GAIA_AUTH);
required_actions.push_back(INVALID_FORM_FIELD);
+ required_actions.push_back(PASSIVE_GAIA_AUTH);
WalletItems expected(required_actions, "google_transaction_id", "", "", "");
ASSERT_EQ(expected, *WalletItems::CreateWalletItems(*dict));
« no previous file with comments | « chrome/browser/autofill/wallet/required_action.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698