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

Unified Diff: chrome/browser/autofill/password_autofill_manager_unittest.cc

Issue 10230005: New Autofill UI uses ID for password (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/autofill/password_autofill_manager.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/password_autofill_manager_unittest.cc
diff --git a/chrome/browser/autofill/password_autofill_manager_unittest.cc b/chrome/browser/autofill/password_autofill_manager_unittest.cc
index 325f31e299941da7aabbee2441e3093b1bc666c8..35ca066dcedfdb7d41e24b191be9403826ccab29 100644
--- a/chrome/browser/autofill/password_autofill_manager_unittest.cc
+++ b/chrome/browser/autofill/password_autofill_manager_unittest.cc
@@ -72,23 +72,3 @@ TEST_F(PasswordAutofillManagerTest, DidAcceptAutofillSuggestion) {
EXPECT_FALSE(password_autofill_manager()->DidAcceptAutofillSuggestion(
username_field(), ASCIIToUTF16(kAliceUsername)));
}
-
-TEST_F(PasswordAutofillManagerTest, DidSelectAutofillSuggestion) {
- EXPECT_TRUE(password_autofill_manager()->DidSelectAutofillSuggestion(
- username_field()));
-
- password_autofill_manager()->Reset();
-
- EXPECT_FALSE(password_autofill_manager()->DidSelectAutofillSuggestion(
- username_field()));
-}
-
-TEST_F(PasswordAutofillManagerTest, DidClearAutofillSelection) {
- EXPECT_TRUE(password_autofill_manager()->DidClearAutofillSelection(
- username_field()));
-
- password_autofill_manager()->Reset();
-
- EXPECT_FALSE(password_autofill_manager()->DidClearAutofillSelection(
- username_field()));
-}
« no previous file with comments | « chrome/browser/autofill/password_autofill_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698